Ignore:
Timestamp:
Nov 28, 2012, 11:31:36 AM (11 years ago)
Author:
Miklfe
Message:
 
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 
    81        <span class="dd_wrapper">{'Categories'|@translate}</span>
    92       
    10                 <div class="sub" style="opacity: 0; display: none; width:700px;">
     3                <div class="sub" style="width:700px">
    114                {assign var='ref_level' value=0}
    125                        <div id="menu_cat_act">
     
    2114                                        {/if}
    2215                                        {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>
    2418                                        {/if}
    2519                                </div>
     
    2822                               
    2923                               
    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}
    3428
    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}   
    4337
    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>
    5145
    52         </ul>
    53                
    54         {/if}
     46                                        </ul>
     47                                               
     48                                        {/if}
    5549               
    5650
Note: See TracChangeset for help on using the changeset viewer.