source: extensions/AMenuManager/menu_templates/menubar_album.tpl @ 9010

Last change on this file since 9010 was 9010, checked in by grum, 13 years ago

release 3.0.1
bug:2157, bug:2158

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1<dt>
2  <a href="{$block->data.link}">{$block->data.name}</a>
3</dt>
4
5<dd>
6  {assign var='ref_level' value=0}
7  {foreach from=$block->data.album item=cat}
8    {if $cat.LEVEL > $ref_level}
9    <ul>
10    {else}
11      </li>
12      {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
13    {/if}
14      <li {if $cat.SELECTED}class="selected"{/if}>
15        <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
16        {if $cat.count_images > 0}
17        <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span>
18        {/if}
19        {if !empty($cat.icon_ts)}
20        <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="(!)">
21        {/if}
22    {assign var='ref_level' value=$cat.LEVEL}
23  {/foreach}
24  {'</li></ul>'|@str_repeat:$ref_level}
25
26  {if $block->data.nbPictures!=''}
27    <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.nbPictures)}</p>
28  {/if}
29</dd>
30
31
32
33
34
35
36
37
Note: See TracBrowser for help on using the repository browser.