source: extensions/floOS/OS_default/template/menubar_categories.tpl @ 14974

Last change on this file since 14974 was 9675, checked in by flop25, 13 years ago

updating tpl files
delete of picture.css
Theme URI updated

File size: 1.7 KB
Line 
1{if isset($tab_system) && $tab_system && in_array($id, $tab_closed)}
2<dt class="titre_acordeon">
3{else}
4<dt class="titre_acordeon_0">
5{/if}
6  {if isset($U_START_FILTER)}
7  <a href="{$U_START_FILTER}" title="{'display only recently posted photos'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a>
8  {/if}
9  {if isset($U_STOP_FILTER)}
10  <a href="{$U_STOP_FILTER}" title="{'return to the display of all photos'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></a>
11  {/if}
12        <a href="javascript:void(0);"><img src="{$ROOT_URL}{$themeconf.icon_dir}/menu/small_resizable.png" class="button_res" alt="[_]">{'Albums'|@translate}</a>
13</dt>
14<dd>
15{assign var='ref_level' value=0}
16{foreach from=$block->data.MENU_CATEGORIES item=cat}
17  {if $cat.LEVEL > $ref_level}
18  <ul>
19  {else}
20    </li>
21    {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
22  {/if}
23    <li {if $cat.SELECTED}class="selected"{/if}>
24      <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
25      {if $cat.count_images > 0}
26      <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span>
27      {/if}
28      {if !empty($cat.icon_ts)}
29      <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">
30      {/if}
31  {assign var='ref_level' value=$cat.LEVEL}
32{/foreach}
33{'</li></ul>'|@str_repeat:$ref_level}
34
35        <p class="totalImages">{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p>
36</dd>
Note: See TracBrowser for help on using the repository browser.