This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% include 'modules/pagination.twig' with { | |
currentFilters: { | |
foo: 'bar', | |
}, | |
currentPage: 43, | |
paginationPath: '/news', | |
showAlwaysFirstAndLast: true, | |
lastPage: 75, | |
urlType: 'slash', | |
} %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//с alert работает без alert нет | |
$(document).ready(function() { | |
var color; | |
var i = 0; | |
function col(i) { | |
color = "rgb(255," + i +',' + i + ")"; | |
$('#y1').css('background-color', color); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
$(".tabs-menu li:first, .tabs-content:first").addClass("active"); | |
$(".tabs-content:not(:first)").hide(); | |
$(".tabs-menu > li > a").click(function(e){ | |
var index = $('.tabs-menu li').index($(this).parent('li')); | |
$('.tabs-menu li.active, .tabs-content.active').removeClass('active'); | |
$(this).parent('li').addClass('active'); | |
$('.tabs-content').hide(); | |
$('.tabs-content').eq(index).show(); | |
return false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{QUERY_STRING} !ajax | |
RewriteRule ^(.*)$ /#$1 [R=301,L,NE] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// #### it's compilable -prefix-free | |
// © 2011 Artem Sapegin http://sapegin.ru | |
// + 2011 Grawl http://grawl.ru | |
// + radial-gradient and other rules with vendor prefixes added by Grawl. | |
// add your fixes to My table of vendor prefixes there: http://goo.gl/3hPfR | |
/* mask: | |
parameter() | |
-webkit-parameter arguments | |
-moz-parameter arguments | |
-ms-parameter arguments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Centered heading with rules*/ | |
/*General:*/ | |
h1 { | |
position: relative; | |
overflow: hidden; | |
text-align: center; | |
} | |
h1:before, | |
h1:after { | |
content: ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (!defined('APPLICATION')) exit(); | |
/* | |
Copyright 2008, 2009 Vanilla Forums Inc. | |
This file is part of Garden. | |
Garden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. | |
Garden is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. | |
You should have received a copy of the GNU General Public License along with Garden. If not, see <http://www.gnu.org/licenses/>. | |
Contact Vanilla Forums Inc. at support [at] vanillaforums [dot] com | |
*/ | |