source: extensions/PaysonsPlaces/template/menubar_categories.tpl

Last change on this file was 11346, checked in by tearran, 13 years ago
File size: 947 bytes
Line 
1<a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>
2     {assign var='ref_level' value=0}
3{foreach from=$block->data.MENU_CATEGORIES item=cat}
4  {if $cat.LEVEL > $ref_level}
5   <ul class="navigation-2">
6     {else}
7    </li>
8    {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}
9  {/if}
10         <li><a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
11     
12   <!-- image   
13      {*  {if $cat.count_images > 0}
14      <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span>
15      {/if}
16    {if !empty($cat.icon_ts)}
17      <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="(!)">
18      {/if} *}-->
19     
20     
21  {assign var='ref_level' value=$cat.LEVEL}
22{/foreach}
23{'</li></ul>'|@str_repeat:$ref_level}
Note: See TracBrowser for help on using the repository browser.