- Timestamp:
- Nov 28, 2012, 11:31:36 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Full_Background/template/menubar_categories.tpl
r19033 r19210 1 <span id="menu_start">2 <a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>3 </span>4 5 6 <li class="liSub" >7 8 1 <span class="dd_wrapper">{'Categories'|@translate}</span> 9 2 10 <div class="sub" style=" opacity: 0; display: none; width:700px;">3 <div class="sub" style="width:700px"> 11 4 {assign var='ref_level' value=0} 12 5 <div id="menu_cat_act"> … … 21 14 {/if} 22 15 {if isset($U_STOP_FILTER)} 23 <a href="{$U_STOP_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'return to the display of all photos'|@translate}"><span class="pwg-icon pwg-icon-filter-del"> </span></a> 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> 24 18 {/if} 25 19 </div> … … 28 22 29 23 30 {foreach from=$block->data.MENU_CATEGORIES item=cat}31 {if $cat.LEVEL > $ref_level}32 <ul class="mcol">33 {else}24 {foreach from=$block->data.MENU_CATEGORIES item=cat} 25 {if $cat.LEVEL > $ref_level} 26 <ul class="mcol"> 27 {else} 34 28 35 </li>36 {'</ul></li>'|@str_repeat:$ref_level-$cat.LEVEL}37 {/if}38 <li {if $cat.SELECTED}class="selected"{/if}class="level{$cat.LEVEL}">39 <a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}" >{$cat.NAME} [{$cat.count_images}] </a>40 {assign var='ref_level' value=$cat.LEVEL}41 {/foreach}42 {'</li></ul>'|@str_repeat:$ref_level}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} 43 37 44 {if isset($block->data.U_UPLOAD)}45 46 <ul>47 48 <li>49 <a href="{$block->data.U_UPLOAD}">{'Upload a picture'|@translate}</a>50 </li>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> 51 45 52 </ul>53 54 {/if}46 </ul> 47 48 {/if} 55 49 56 50
Note: See TracChangeset
for help on using the changeset viewer.