官方默认的导航代码如下
- <div id="nv"><!--快捷导航开始-->
- <a href="javascript:;" id="qmenu" onmouseover="delayShow(this, function () {showMenu({'ctrlid':'qmenu','pos':'34!','ctrlclass':'a','duration':2});showForummenu($_G[fid]);})">{lang my_nav}</a><!--快捷导航结束-->
- <ul><!--主导航开始-->
- <!--{loop $_G['setting']['navs'] $nav}-->
- <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li {if $mnid == $nav[navid]}class="a" {/if}$nav[nav]></li><!--{/if}-->
- <!--{/loop}--><!--主导航结束开始-->
- </ul>
- <!--{hook/global_nav_extra}-->
- </div>
复制代码 |