aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-03-26 21:31:45 +0000
committerplegall <plg@piwigo.org>2012-03-26 21:31:45 +0000
commitd9df4b62642168b08e11bf507534ec035c227c14 (patch)
tree3207670e644d4102e1eebef7887b7ecc6001ea9b /themes
parentaf4dd67f8fa3b578b3b07e56491576b2eed21e8f (diff)
feature 2599: load jQuery by default on gallery side, in footer
git-svn-id: http://piwigo.org/svn/trunk@13763 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/header.tpl2
-rw-r--r--themes/elegant/local_head.tpl4
2 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/template/header.tpl b/themes/default/template/header.tpl
index c26d696e7..465c16d96 100644
--- a/themes/default/template/header.tpl
+++ b/themes/default/template/header.tpl
@@ -49,7 +49,7 @@
<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
<![endif]-->
-{combine_script id="jquery"}
+{combine_script id="jquery" load="footer"}
{if not empty($head_elements)}
{foreach from=$head_elements item=elt}{$elt}
diff --git a/themes/elegant/local_head.tpl b/themes/elegant/local_head.tpl
index 0c935140e..bdb3ca729 100644
--- a/themes/elegant/local_head.tpl
+++ b/themes/elegant/local_head.tpl
@@ -1,5 +1,5 @@
{if $BODY_ID=='thePicturePage'}
- {combine_script id='elegant.scripts_pp' load='header' require='jquery' path='themes/elegant/scripts_pp.js'}
+ {combine_script id='elegant.scripts_pp' load='footer' require='jquery' path='themes/elegant/scripts_pp.js'}
{else}
- {combine_script id='elegant.scripts' load='header' require='jquery' path='themes/elegant/scripts.js'}
+ {combine_script id='elegant.scripts' load='footer' require='jquery' path='themes/elegant/scripts.js'}
{/if} \ No newline at end of file