Rev | Line | |
---|
[28081] | 1 | <dt class="dd_wrapper">{'Albums'|@translate}</dt> |
---|
| 2 | |
---|
| 3 | <dd class="sub"> |
---|
| 4 | <div id="menu_cat_act"> |
---|
| 5 | <div id="nbImg"> |
---|
| 6 | <p class="totalImages">{$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}</p> |
---|
| 7 | </div> |
---|
| 8 | <div id="filter"> |
---|
| 9 | {if isset($U_START_FILTER)} |
---|
| 10 | <a href="{$U_START_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'display only recently posted photos'|@translate}" rel="nofollow"> |
---|
| 11 | <span class="pwg-icon pwg-icon-filter"> </span> |
---|
| 12 | </a> |
---|
| 13 | {/if} |
---|
| 14 | |
---|
| 15 | {if isset($U_STOP_FILTER)} |
---|
| 16 | <a href="{$U_STOP_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'return to the display of all photos'|@translate}"> |
---|
| 17 | <span class="pwg-icon pwg-icon-filter-del"> </span> |
---|
| 18 | </a> |
---|
| 19 | {/if} |
---|
| 20 | </div> |
---|
| 21 | </div> |
---|
| 22 | <div class="mcol"> |
---|
| 23 | {assign var='ref_level' value=0} |
---|
| 24 | {foreach from=$block->data.MENU_CATEGORIES item=cat} |
---|
| 25 | {if $cat.LEVEL > $ref_level} |
---|
| 26 | <ul> |
---|
| 27 | {else} |
---|
| 28 | </li> |
---|
| 29 | {'</ul></li>'|@str_repeat:($ref_level-$cat.LEVEL)} |
---|
| 30 | {/if} |
---|
| 31 | <li {if $cat.SELECTED}class="selected dontsplit"{/if}class="level{$cat.LEVEL} dontsplit"> |
---|
| 32 | <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}" >{$cat.NAME}</a> |
---|
| 33 | {if $cat.count_images > 0} |
---|
| 34 | <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> |
---|
| 35 | {/if} |
---|
| 36 | |
---|
| 37 | {if !empty($cat.icon_ts)} |
---|
| 38 | <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="(!)"> |
---|
| 39 | {/if} |
---|
| 40 | {assign var='ref_level' value=$cat.LEVEL} |
---|
| 41 | {/foreach} |
---|
| 42 | {'</li></ul>'|@str_repeat:$ref_level} |
---|
| 43 | </div> |
---|
| 44 | </dd> |
---|
Note: See
TracBrowser
for help on using the repository browser.