Last change
on this file since 8495 was
6993,
checked in by rvelices, 14 years ago
|
feature 1616: rename "category" into "album" (4th commit; almost there)
|
-
Property svn:eol-style set to
LF
|
File size:
1.6 KB
|
Line | |
---|
1 | <dt> |
---|
2 | {if isset($U_START_FILTER)} |
---|
3 | <a href="{$U_START_FILTER}" title="{'display only recently posted images'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/start_filter.png" class="button" alt="start filter"></a> |
---|
4 | {/if} |
---|
5 | {if isset($U_STOP_FILTER)} |
---|
6 | <a href="{$U_STOP_FILTER}" title="{'return to the display of all images'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/stop_filter.png" class="button" alt="stop filter"></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 | <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a> |
---|
21 | {if $cat.count_images > 0} |
---|
22 | <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> |
---|
23 | {/if} |
---|
24 | {if !empty($cat.icon_ts)} |
---|
25 | <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="(!)"> |
---|
26 | {/if} |
---|
27 | {assign var='ref_level' value=$cat.LEVEL} |
---|
28 | {/foreach} |
---|
29 | {'</li></ul>'|@str_repeat:$ref_level} |
---|
30 | |
---|
31 | {if isset($block->data.U_UPLOAD)} |
---|
32 | <ul> |
---|
33 | <li> |
---|
34 | <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a> |
---|
35 | </li> |
---|
36 | </ul> |
---|
37 | {/if} |
---|
38 | <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p> |
---|
39 | </dd> |
---|
Note: See
TracBrowser
for help on using the repository browser.