Rev | Line | |
---|
[19492] | 1 | <span class="dd_wrapper">{'Albums'|@translate}</span> |
---|
[19033] | 2 | |
---|
[19210] | 3 | <div class="sub" style="width:700px"> |
---|
[19033] | 4 | {assign var='ref_level' value=0} |
---|
| 5 | <div id="menu_cat_act"> |
---|
| 6 | <div id="nbImg"> |
---|
| 7 | <p class="totalImages">{$pwg->l10n_dec('%d image', '%d images', $block->data.NB_PICTURE)}</p> |
---|
| 8 | </div> |
---|
| 9 | <div id="filter"> |
---|
| 10 | {if isset($U_START_FILTER)} |
---|
| 11 | <a href="{$U_START_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'display only recently posted photos'|@translate}" rel="nofollow"> |
---|
| 12 | <span class="pwg-icon pwg-icon-filter"> </span> |
---|
| 13 | </a> |
---|
| 14 | {/if} |
---|
| 15 | {if isset($U_STOP_FILTER)} |
---|
[19210] | 16 | <a href="{$U_STOP_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'return to the display of all photos'|@translate}"><span |
---|
| 17 | class="pwg-icon pwg-icon-filter-del"> </span></a> |
---|
[19033] | 18 | {/if} |
---|
| 19 | </div> |
---|
| 20 | |
---|
| 21 | </div> |
---|
| 22 | |
---|
| 23 | |
---|
[19210] | 24 | {foreach from=$block->data.MENU_CATEGORIES item=cat} |
---|
| 25 | {if $cat.LEVEL > $ref_level} |
---|
| 26 | <ul class="mcol"> |
---|
| 27 | {else} |
---|
[19033] | 28 | |
---|
[19210] | 29 | </li> |
---|
| 30 | {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL} |
---|
| 31 | {/if} |
---|
| 32 | <li {if $cat.SELECTED}class="selected"{/if}class="level{$cat.LEVEL}"> |
---|
| 33 | <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}" >{$cat.NAME} [{$cat.count_images}] </a> |
---|
| 34 | {assign var='ref_level' value=$cat.LEVEL} |
---|
| 35 | {/foreach} |
---|
| 36 | {'</li></ul>'|@str_repeat:$ref_level} |
---|
[19033] | 37 | |
---|
[19210] | 38 | {if isset($block->data.U_UPLOAD)} |
---|
| 39 | |
---|
| 40 | <ul> |
---|
| 41 | |
---|
| 42 | <li> |
---|
| 43 | <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a> |
---|
| 44 | </li> |
---|
[19033] | 45 | |
---|
[19210] | 46 | </ul> |
---|
| 47 | |
---|
| 48 | {/if} |
---|
[19033] | 49 | |
---|
| 50 | |
---|
| 51 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.