Ignore:
Timestamp:
03/23/12 22:58:12 (8 years ago)
Author:
plg
Message:

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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/index.tpl

    r13115 r13683  
    99                </a> 
    1010                <div id="sortOrderBox" style="display:none; text-align:left" onclick="toggleSortOrderBox()" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||toggleSortOrderBox()"> 
    11                         {'Sort order'|@translate}<hr> 
     11                        <div class="switchBoxTitle">{'Sort order'|@translate}</div> 
    1212                        {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if} 
    1313                        {if $image_order.SELECTED} 
    14                         <span>{$image_order.DISPLAY}</span> 
     14                        <span>&#x2714; {$image_order.DISPLAY}</span> 
    1515                        {else} 
    1616                        <a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> 
     
    4040                </a> 
    4141                <div id="derivativeSwitchBox" style="display:none; text-align:left" onclick="toggleImageDerivativesBox()" onmouseout="e=event.toElement||event.relatedTarget;e.parentNode==this||e==this||toggleImageDerivativesBox()"> 
    42                         {'Photo sizes'|@translate}<hr> 
     42                        <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> 
    4343                        {foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}<br>{/if} 
    4444                        {if $image_derivative.SELECTED} 
    45                         <span>{$image_derivative.DISPLAY}</span> 
     45                        <span>&#x2714; {$image_derivative.DISPLAY}</span> 
    4646                        {else} 
    4747                        <a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a> 
Note: See TracChangeset for help on using the changeset viewer.