Ignore:
Timestamp:
06/24/12 21:27:48 (7 years ago)
Author:
grum
Message:

feature:2664- compatibility with Piwigo 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-black-graphite/template/index.tpl

    r11038 r16017  
    1111    <div id="menuswitcher"> 
    1212      <a id="icon_menu" class="button" onclick="gallyCP.switchmenu('', '{$ROOT_URL}{$themeconf.icon_dir}/');">&nbsp; 
    13         <!-- <img  src="{$ROOT_URL}{$themeconf.icon_dir}/menu-show.png"  alt="{'display all elements in all sub-categories'|@translate}"> --> 
    1413      </a> 
    1514    </div> 
    1615    {/if} 
     16 
     17      {if !empty($image_orders)} 
     18      <div id="sortOrderBox" class="switchBox switchBoxCat"> 
     19        <div class="switchBoxTitle">{'Sort order'|@translate}</div> 
     20        {foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if} 
     21        {if $image_order.SELECTED} 
     22        <span>&#x2714; </span>{$image_order.DISPLAY} 
     23        {else} 
     24        <span style="visibility:hidden">&#x2714; </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a> 
     25        {/if} 
     26        {/foreach} 
     27      </div> 
     28      {/if} 
     29 
     30      {if !empty($image_derivatives)} 
     31      <div id="derivativeSwitchBox" class="switchBox switchBoxCat"> 
     32        <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> 
     33        {foreach from=$image_derivatives item=image_derivative name=loop} 
     34        {if !$smarty.foreach.loop.first}<br>{/if} 
     35        {if $image_derivative.SELECTED} 
     36        <span>&#x2714; </span>{$image_derivative.DISPLAY} 
     37        {else} 
     38        <span style="visibility:hidden">&#x2714; </span> 
     39        <a href="{$image_derivative.URL}" rel=nofollow">{$image_derivative.DISPLAY}</a> 
     40        {/if} 
     41        {/foreach} 
     42      </div> 
     43      {/if} 
    1744 
    1845      <ul class="categoryActions" id="categoryActionsID"> 
    1946        <li>&nbsp;</li> 
    2047        {if !empty($image_orders) } 
    21         <li class="selector"> 
    22         {'Sort order'|@translate}: 
    23         <select onchange="document.location = this.options[this.selectedIndex].value;"> 
    24           {foreach from=$image_orders item=image_order } 
    25           <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option> 
    26           {/foreach} 
    27         </select> 
    28         </li> 
    29         {/if} 
    30  
    31         {if isset($favorite) } 
    32         <li><a id="icon_delall_favorite" class="button" href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}"></a></li> 
    33         {/if} 
    34  
    35         {if isset($U_CADDIE) } 
    36         <li><a id="icon_caddie" class="button" href="{$U_CADDIE}" title="{'caddie'|@translate}"></a></li> 
    37         {/if} 
    38  
    39         {if isset($U_EDIT) } 
    40         <li><a id="icon_category_edit" class="button" href="{$U_EDIT}" title="{'edit'|@translate}"></a></li> 
    41         {/if} 
    42  
    43         {if isset($U_SEARCH_RULES) } 
    44         <li><a id="icon_search_rules" class="button" href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"></a></li> 
    45         {/if} 
    46  
    47         {if isset($U_SLIDESHOW) } 
    48         <li><a id="icon_start_slideshow" class="button" href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow"></a></li> 
    49         {/if} 
    50  
    51         {if isset($U_MODE_FLAT) } 
    52         <li><a id="icon_flat" class="button" href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" rel="nofollow"></a></li> 
    53         {/if} 
    54  
    55         {if isset($U_MODE_NORMAL) } 
    56         <li><a id="icon_normal_mode" class="button" href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}"></a></li> 
    57         {/if} 
    58  
    59         {if isset($U_MODE_POSTED) } 
    60         <li><a id="icon_calendar" class="button" href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow"></a></li> 
    61         {/if} 
    62  
    63         {if isset($U_MODE_CREATED) } 
    64         <li><a id="icon_calendar_created" class="button" href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow"></a></li> 
     48        <li><a title="{'Sort order'|@translate}" id="icon_sort" class="button"></a></li> 
     49        {/if} 
     50 
     51        {if !empty($image_derivatives) } 
     52        <li><a title="{'Photo sizes'|@translate}" id="icon_derivatives" class="button"></a></li> 
     53        {/if} 
     54 
     55 
     56        {if isset($favorite)} 
     57        <li><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" id="icon_delall_favorite" class="button"></a></li> 
     58        {/if} 
     59 
     60        {if isset($U_CADDIE)} 
     61        <li><a href="{$U_CADDIE}" title="{'Add tocaddie'|@translate}" id="icon_caddie" class="button"></a></li> 
     62        {/if} 
     63 
     64        {if isset($U_EDIT)} 
     65        <li><a href="{$U_EDIT}" title="{'Edit album'|@translate}" id="icon_category_edit" class="button" ></a></li> 
     66        {/if} 
     67 
     68        {if isset($U_SEARCH_RULES)} 
     69        <li><a href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow" id="icon_search_rules" class="button"></a></li> 
     70        {/if} 
     71 
     72        {if isset($U_SLIDESHOW)} 
     73        <li><a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" rel="nofollow" id="icon_start_slideshow" class="button"></a></li> 
     74        {/if} 
     75 
     76        {if isset($U_MODE_FLAT)} 
     77        <li><a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" rel="nofollow" id="icon_flat" class="button"></a></li> 
     78        {/if} 
     79 
     80        {if isset($U_MODE_NORMAL)} 
     81        <li><a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" id="icon_normal_mode" class="button"></a></li> 
     82        {/if} 
     83 
     84        {if isset($U_MODE_POSTED)} 
     85        <li><a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" rel="nofollow" id="icon_calendar" class="button"></a></li> 
     86        {/if} 
     87 
     88        {if isset($U_MODE_CREATED)} 
     89        <li><a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" rel="nofollow" id="icon_calendar_created" class="button"></a></li> 
    6590        {/if} 
    6691 
     
    82107<div id="subContent"> 
    83108  <div class="titrePage{if !(isset($chronology_views) or isset($chronology.TITLE))}Empty{/if}" id="titreContent1"> 
    84     {if isset($chronology_views) } 
     109    {if isset($chronology_views)} 
    85110    <div class="calendarViews">{'View'|@translate}: 
    86111      <select onchange="document.location = this.options[this.selectedIndex].value;"> 
     
    92117    {/if} 
    93118 
    94     {if isset($chronology.TITLE) } 
    95     <h2>{$chronology.TITLE}</h2> 
     119    {if isset($chronology.TITLE)} 
     120    <h2 class="calendarTitle">{$chronology.TITLE}</h2> 
    96121    {/if} 
    97122  </div> 
    98123 
     124  {if isset($errors) or not empty($infos)} 
     125  {include file='infos_errors.tpl'} 
     126  {/if} 
    99127  {if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if} 
    100128 
    101   {if !empty($category_search_results) } 
     129  {if !empty($category_search_results)} 
    102130  <div style="font-size:16px;text-align:left;margin:10px">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 
    103131    <em><strong> 
     
    110138  {/if} 
    111139 
    112   {if !empty($tag_search_results) } 
     140  {if !empty($tag_search_results)} 
    113141  <div style="font-size:16px;text-align:left;margin:10px">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> : 
    114142    <em><strong> 
     
    121149  {/if} 
    122150 
    123   {if isset($FILE_CHRONOLOGY_VIEW) } 
     151  {if isset($FILE_CHRONOLOGY_VIEW)} 
    124152  {include file=$FILE_CHRONOLOGY_VIEW} 
    125153  {/if} 
     
    145173        </div> 
    146174 
    147         {if !empty($CATEGORIES) }<div id="categories">{$CATEGORIES}</div>{/if} 
    148         {if !empty($THUMBNAILS) }<div id="thumbnails">{$THUMBNAILS}</div>{/if} 
     175        {if !empty($CATEGORIES)}<div id="categories">{$CATEGORIES}</div>{/if} 
     176        {if !empty($THUMBNAILS)}<div id="thumbnails">{$THUMBNAILS}</div>{/if} 
    149177 
    150178        <div id="additional_infoBOTTOM"> 
     
    160188  {/if} 
    161189 
    162   {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} 
    163  
    164 </div> <!-- subContent --> 
     190  {if !empty($navbar)}{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} 
     191 
     192</div>{* subContent *} 
    165193 
    166194 
    167195 
    168196{if !empty($PLUGIN_INDEX_CONTENT_END) }{$PLUGIN_INDEX_CONTENT_END}{/if} 
    169 </div> <!-- content --> 
     197</div> {* content *} 
    170198 
    171199{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if} 
Note: See TracChangeset for help on using the changeset viewer.