From b2d07d4f7234dd4ac966838fc8d5f617b13c157b Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 23 Mar 2012 21:58:12 +0000 Subject: feature 2598: add sizes XXS and XS new label for sizes On picture.php, the current size is "checked" and javascript refreshed when switched (with jQuery) jQuery loaded by default on header.tpl (already loaded by thumbnails.tpl) git-svn-id: http://piwigo.org/svn/trunk@13683 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/header.tpl | 2 ++ themes/default/template/index.tpl | 8 ++++---- themes/default/template/picture.tpl | 5 ++++- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'themes/default/template') diff --git a/themes/default/template/header.tpl b/themes/default/template/header.tpl index 444b3fc2d..c26d696e7 100644 --- a/themes/default/template/header.tpl +++ b/themes/default/template/header.tpl @@ -49,6 +49,8 @@ +{combine_script id="jquery"} + {if not empty($head_elements)} {foreach from=$head_elements item=elt}{$elt} {/foreach} diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl index 2502e42b1..35697d778 100644 --- a/themes/default/template/index.tpl +++ b/themes/default/template/index.tpl @@ -8,10 +8,10 @@  {'Sort order'|@translate}