Ignore:
Timestamp:
12/16/07 14:31:20 (4 years ago)
Author:
hverton
Message:

used menu_depth instead of link_parent to determine the creation of submenu's (allows for menu's that doesn't start at root level)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/main_menu_panel/templates/submenu.foldable_menus.tpl

    r799 r1171  
    2020        {include file="_openside.tpl" name=$_name title=$_title state=$_state style=$_style} 
    2121    {/if} 
    22     {if $linkinfo[link].menu_first && $linkinfo[link].link_parent != 0} 
     22    {if $linkinfo[link].menu_first && $linkinfo[link].menu_depth != 0} 
    2323        {if $linkinfo[link].div_state == 0} 
    2424        <div id='box_menu{$linkinfo[link].link_parent}' style='display:block;'> 
Note: See TracChangeset for help on using the changeset viewer.