Rev | Line | |
---|
[13551] | 1 | <h3><a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a></h3> |
---|
[13546] | 2 | |
---|
| 3 | {assign var='ref_level' value=0} |
---|
| 4 | {foreach from=$block->data.MENU_CATEGORIES item=cat} |
---|
| 5 | {if $cat.LEVEL > $ref_level} |
---|
| 6 | <ul> |
---|
| 7 | {else} |
---|
| 8 | </li> |
---|
[23392] | 9 | {'</ul></li>'|@str_repeat:($ref_level-$cat.LEVEL)} |
---|
[13546] | 10 | {/if} |
---|
| 11 | <li {if $cat.SELECTED}class="selected"{/if}> |
---|
| 12 | <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a> |
---|
| 13 | {if $cat.count_images > 0} |
---|
| 14 | <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> |
---|
| 15 | {/if} |
---|
| 16 | {if !empty($cat.icon_ts)} |
---|
| 17 | <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="(!)"> |
---|
| 18 | {/if} |
---|
| 19 | {assign var='ref_level' value=$cat.LEVEL} |
---|
| 20 | {/foreach} |
---|
| 21 | {'</li></ul>'|@str_repeat:$ref_level} |
---|
| 22 | |
---|
[13551] | 23 | <p class="totalImages">{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p> |
---|
Note: See
TracBrowser
for help on using the repository browser.