diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-04-03 18:18:26 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-04-03 18:18:26 +0000 |
commit | 5a05371627321ac2ac79815c5acde85b1369ae44 (patch) | |
tree | abb253b5b01bfe604b1f3acfb3172838e6dde65a /themes/default/template | |
parent | 7f9c121049211feb1019796cfee6084fa7a6fdd0 (diff) |
- is_homepage not set for flat view/calendar modes
- added require jquery for some footer_script
- removed unused/unnecesary css (hope I'm done for now)
- if page[start] is greater than number of items than page not found (google+bing bots automatically detect patterns and increment start parameter)
git-svn-id: http://piwigo.org/svn/trunk@13872 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template')
-rw-r--r-- | themes/default/template/index.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl index 8f4e6027b..394add583 100644 --- a/themes/default/template/index.tpl +++ b/themes/default/template/index.tpl @@ -17,7 +17,7 @@ {/if} {/foreach} </div> - {footer_script}{literal} + {footer_script require='jquery'}{literal} jQuery("#sortOrderLink").click(function() { var elt = jQuery("#sortOrderBox"); elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) @@ -45,7 +45,7 @@ jQuery("#sortOrderBox").on("mouseleave", function() { {/if} {/foreach} </div> - {footer_script}{literal} + {footer_script require='jquery'}{literal} jQuery("#derivativeSwitchLink").click(function() { var elt = jQuery("#derivativeSwitchBox"); elt.css("left", Math.min( jQuery(this).offset().left, jQuery(window).width() - elt.outerWidth(true) - 5)) |