Last change
on this file since 16016 was
16016,
checked in by grum, 12 years ago
|
feature:2664- compatibility with Piwigo 2.4
|
-
Property svn:executable set to
*
|
File size:
1.4 KB
|
Line | |
---|
1 | <dt> |
---|
2 | {if isset($U_START_FILTER)} |
---|
3 | <a href="{$U_START_FILTER}" title="{'display only recently posted photos'|@translate}" rel="nofollow" id="icon_start_filter" class="button sTipOnTop"></a> |
---|
4 | {/if} |
---|
5 | {if isset($U_STOP_FILTER)} |
---|
6 | <a href="{$U_STOP_FILTER}" title="{'return to the display of all photos'|@translate}" id="icon_stop_filter" class="button sTipOnTop" ></a> |
---|
7 | {/if} |
---|
8 | <a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a> |
---|
9 | </dt> |
---|
10 | <dd> |
---|
11 | {assign var='ref_level' value=0} |
---|
12 | {foreach from=$block->data.MENU_CATEGORIES item=cat} |
---|
13 | {if $cat.LEVEL > $ref_level} |
---|
14 | <ul> |
---|
15 | {else} |
---|
16 | </li> |
---|
17 | {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL} |
---|
18 | {/if} |
---|
19 | <li {if $cat.SELECTED}class="selected"{/if}> |
---|
20 | <span title="{$cat.TITLE}" {if $cat.count_categories > 0}class="sTipOnTop"{/if}> |
---|
21 | <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if}>{$cat.NAME}</a> |
---|
22 | {if $cat.count_images > 0} |
---|
23 | <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}">[{$cat.count_images}]</span> |
---|
24 | {/if} |
---|
25 | {if !empty($cat.icon_ts)} |
---|
26 | <span class="button {if $cat.icon_ts.IS_CHILD_DATE}id_recent_cat_by_child{else}id_recent_cat{/if}"></span> |
---|
27 | {/if} |
---|
28 | </span> |
---|
29 | {assign var='ref_level' value=$cat.LEVEL} |
---|
30 | {/foreach} |
---|
31 | {'</li></ul>'|@str_repeat:$ref_level} |
---|
32 | |
---|
33 | <p class="totalImages">{$pwg->l10n_dec('%d photo', '%d photos', $block->data.NB_PICTURE)}</p> |
---|
34 | </dd> |
---|
Note: See
TracBrowser
for help on using the repository browser.