Changeset 3498
- Timestamp:
- Jul 2, 2009, 2:33:57 PM (15 years ago)
- Location:
- extensions/floPure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floPure/menubar.tpl
r3333 r3498 12 12 <td class="blocmenu_left"> </td> 13 13 <td class="blocmenu_in"> 14 {if not empty($block->template)} 15 {include file=$block->template } 16 {else} 17 {$block->raw_content|@default} 18 {/if} 19 14 <dl> 15 {if not empty($block->template)} 16 {include file=$block->template } 17 {else} 18 {$block->raw_content|@default} 19 {/if} 20 </dl> 20 21 </td> 21 22 <td class="blocmenu_right"> </td> -
extensions/floPure/menubar_categories.tpl
r3333 r3498 9 9 </dt> 10 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 11 {$block->data.MENU_CATEGORIES_CONTENT} 31 12 {if isset($block->data.U_UPLOAD)} 32 13 <ul>
Note: See TracChangeset
for help on using the changeset viewer.