Changeset 7845 for extensions/rv_menutree/trunk
- Timestamp:
- Nov 22, 2010, 9:37:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_menutree/trunk/template/rv_menutree_categories.tpl
r7814 r7845 20 20 {assign var='ref_level' value=0} 21 21 {foreach from=$block->data.MENU_CATEGORIES item=cat key=key} 22 23 24 22 {if $cat.LEVEL > $ref_level} 23 {if $ref_level == 0} 24 <ul class="rvTree" id="theCategoryMenu"> 25 25 {else} 26 26 <ul> 27 27 {/if} 28 29 30 31 28 {else} 29 </li> 30 {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL} 31 {/if} 32 32 {if $cat.SELECTED} 33 33 {assign var=liclass value='selected '} … … 42 42 {/if} 43 43 {/if} 44 <li {if !empty($liclass)}class="{$liclass}"{/if}>45 <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>46 47 48 49 50 51 52 44 <li{if !empty($liclass)} class="{$liclass}"{/if}> 45 <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if}>{$cat.NAME}</a> 46 {if $cat.count_images > 0} 47 <span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span> 48 {/if} 49 {if !empty($cat.icon_ts)} 50 <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="(!)"> 51 {/if} 52 {assign var='ref_level' value=$cat.LEVEL} 53 53 {/foreach} 54 54 {'</li></ul>'|@str_repeat:$ref_level}
Note: See TracChangeset
for help on using the changeset viewer.