diff options
author | plegall <plg@piwigo.org> | 2012-03-23 21:58:12 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-03-23 21:58:12 +0000 |
commit | b2d07d4f7234dd4ac966838fc8d5f617b13c157b (patch) | |
tree | 8d42e1815609202902290f7ddf0ce05796b3c9c4 /themes/default/template/index.tpl | |
parent | 20133b46141ac32454b6a98dd2b46df9290192d9 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/index.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
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 @@ <span class="pwg-icon pwg-icon-sort"> </span><span class="pwg-button-text">{'Sort order'|@translate}</span> </a> <div id="sortOrderBox" style="display:none; text-align:left" onclick="toggleSortOrderBox()" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||toggleSortOrderBox()"> - {'Sort order'|@translate}<hr> + <div class="switchBoxTitle">{'Sort order'|@translate}</div> {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if} {if $image_order.SELECTED} - <span>{$image_order.DISPLAY}</span> + <span>✔ {$image_order.DISPLAY}</span> {else} <a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> {/if} @@ -39,10 +39,10 @@ function toggleSortOrderBox() { <span class="pwg-icon pwg-icon-sizes"> </span><span class="pwg-button-text">{'Photo sizes'|@translate}</span> </a> <div id="derivativeSwitchBox" style="display:none; text-align:left" onclick="toggleImageDerivativesBox()" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||toggleImageDerivativesBox()"> - {'Photo sizes'|@translate}<hr> + <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> {foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}<br>{/if} {if $image_derivative.SELECTED} - <span>{$image_derivative.DISPLAY}</span> + <span>✔ {$image_derivative.DISPLAY}</span> {else} <a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a> {/if} |