aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/index.tpl
diff options
context:
space:
mode:
authorZaphod <zaphod@piwigo.org>2012-03-25 19:20:13 +0000
committerZaphod <zaphod@piwigo.org>2012-03-25 19:20:13 +0000
commitb1041fb217940f8e34a85cea63c27814f6df0dde (patch)
treec36b7930b29a5ac42b3037b985b2d79e4a3e4ebf /themes/default/template/index.tpl
parent3d04cddf5ee20e4fc116acd90ae1b2afad77a98d (diff)
feature 2588: template modification for v2.4
-> new class .switchBox for all boxes (sortOrder, derivative, etc...) -> new classes to help layout in switchBoxes: - .switchCheck for the check character - .switchSelected for the selected option - .switchUnselected for all other options -> new menubar.tpl with empty div #menuSwitcher git-svn-id: http://piwigo.org/svn/trunk@13729 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/index.tpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl
index 35697d778..c1f9d42a9 100644
--- a/themes/default/template/index.tpl
+++ b/themes/default/template/index.tpl
@@ -7,13 +7,13 @@
<li>{strip}<a href="javascript:toggleSortOrderBox()" id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
<span class="pwg-icon pwg-icon-sort">&nbsp;</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()">
+ <div id="sortOrderBox" class="switchBox" style="display:none; text-align:left" onclick="toggleSortOrderBox()" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||toggleSortOrderBox()">
<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>&#x2714; {$image_order.DISPLAY}</span>
+ <span class="switchCheck">&#x2714; </span><span class="switchSelected">{$image_order.DISPLAY}</span>
{else}
- <a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a>
+ <a href="{$image_order.URL}" class="switchUnselected" rel="nofollow">{$image_order.DISPLAY}</a>
{/if}
{/foreach}
</div>
@@ -38,13 +38,13 @@ function toggleSortOrderBox() {
<li>{strip}<a href="javascript:toggleImageDerivativesBox()" id="derivativeChooseLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
<span class="pwg-icon pwg-icon-sizes">&nbsp;</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()">
+ <div id="derivativeSwitchBox" class="switchBox" style="display:none; text-align:left" onclick="toggleImageDerivativesBox()" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||toggleImageDerivativesBox()">
<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>&#x2714; {$image_derivative.DISPLAY}</span>
+ <span class="switchCheck">&#x2714; </span><span class="switchSelected">{$image_derivative.DISPLAY}</span>
{else}
- <a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a>
+ <a href="{$image_derivative.URL}" class="switchUnselected" rel="nofollow">{$image_derivative.DISPLAY}</a>
{/if}
{/foreach}
</div>