Last change
on this file since 26079 was
17143,
checked in by plg, 12 years ago
|
bug fixed: don't display the filter icon in Albums section of the menu
bug fixed: the word "Categories" was removed in Piwigo 2.2!
bug fixed: correct display of the "filter recent photos" icon in the menubar
|
File size:
1.1 KB
|
Line | |
---|
1 | <dt> |
---|
2 | <a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a> |
---|
3 | </dt> |
---|
4 | <dd> |
---|
5 | {assign var='ref_level' value=0} |
---|
6 | {foreach from=$block->data.MENU_CATEGORIES item=cat} |
---|
7 | {if $cat.LEVEL > $ref_level} |
---|
8 | <ul> |
---|
9 | {else} |
---|
10 | </li> |
---|
11 | {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL} |
---|
12 | {/if} |
---|
13 | <li {if $cat.SELECTED}class="selected"{/if}> |
---|
14 | <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a> |
---|
15 | {if $cat.count_images > 0} |
---|
16 | <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> |
---|
17 | {/if} |
---|
18 | {if !empty($cat.icon_ts)} |
---|
19 | <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="(!)"> |
---|
20 | {/if} |
---|
21 | {assign var='ref_level' value=$cat.LEVEL} |
---|
22 | {/foreach} |
---|
23 | {'</li></ul>'|@str_repeat:$ref_level} |
---|
24 | |
---|
25 | {if isset($block->data.U_UPLOAD)} |
---|
26 | <ul> |
---|
27 | <li> |
---|
28 | <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a> |
---|
29 | </li> |
---|
30 | </ul> |
---|
31 | {/if} |
---|
32 | <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p> |
---|
33 | </dd> |
---|
Note: See
TracBrowser
for help on using the repository browser.