返回顶部

收藏

ThinkPHP3.0 + DWZ1.4.3 + RBAC 整合框架

更多

ThinkPHP3.0 + DWZ1.4.3 + RBAC 整合框架 首页 遍历menu写法http://www.lingjul.com/thinkphp/admin.php

[PHP]代码

<div class="accordion"  fillSpace="sidebar"> 
  <volist name="menu" id="vo">

        <neq name="vo['submenu'][0]" value="" >
            <div class="accordionHeader">
                <h2><span>Folder</span>{$vo['title']}</h2>
            </div>
            <div class="accordionContent">
                <ul class="tree treeFolder">
                    <volist name="vo['submenu']" id="sub">
                        <neq name="sub['name']|strtolower" value="public" >
                            <neq name="sub['name']|strtolower" value="index" >
                                <eq name="sub['access']" value="1">
                                <li><a href="__APP__/{$sub['name']}/index/" target="navTab" rel="{$sub['name']}">{$sub['title']}</a></li>
                                </eq>
                            </neq>
                        </neq>
                    </volist>
                </ul>

            </div>
        </neq>
  </volist>
</div>

标签:ThinkPHP,DWZ,RBAC

收藏

0人收藏

支持

0

反对

0