芝麻web文件管理V1.00
编辑当前文件:/home/prismawe/clients/canaldegap.fr/modules/MenuManager/templates/accessible_simple_navigation.tpl
{* CSS classes used in this template: .activeparent - The top level parent when a child is the active/current page li.active0n h3 - n is the depth/level of the node. To style the active page for each level separately. The active page is not clickable. .clearfix - Used for the unclickable h3 to use the entire width of the li, just like the anchors. See the Tools stylesheet in the default CMSMS installation. li.sectionheader h3 - To style section header li.separator - To style the ruler for the separator *} {if $count > 0} {* there are nodes available for display *}
{foreach from=$nodelist item=node} {if $node->depth > $node->prevdepth} {* depth of menu has increased *} {repeat string="
" times=$node->depth-$node->prevdepth} {elseif $node->depth < $node->prevdepth} {* depth of menu has decreased *} {repeat string="
" times=$node->prevdepth-$node->depth} {/if} {if $node->parent == true or ($node->current == true and $node->haschildren == true)} {* display the active parent with children *}
accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $node->tabindex != ''} tabindex="{$node->tabindex}"{/if}{if $node->titleattribute != ''} title="{$node->titleattribute}"{/if}>
{$node->hierarchy}:
{$node->menutext}
{elseif $node->haschildren == true} {* display the active parent *}
accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $node->tabindex != ''} tabindex="{$node->tabindex}"{/if}{if $node->titleattribute != ''} title="{$node->titleattribute}"{/if}>
{$node->hierarchy}:
{$node->menutext}
{elseif $node->current == true} {* display the current page differently *}
Current page is {$node->hierarchy}:
{$node->menutext}
{elseif $node->type == 'sectionheader'} {* display section headers *}
{$node->menutext}
{elseif $node->type == 'separator'} {* display separators *}
{else} {* normal menu items *}
accesskey != ''} accesskey="{$node->accesskey}"{/if}{if $node->tabindex != ''} tabindex="{$node->tabindex}"{/if}{if $node->titleattribute != ''} title="{$node->titleattribute}"{/if}{if $node->target != ''} target="{$node->target}"{/if}>
{$node->hierarchy}:
{$node->menutext}
{/if} {/foreach} {* close any remaining unordered lists *} {repeat string="
" times=$node->depth-1} {/if}