欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

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

程序员文章站 2024-04-02 18:44:28
...
ThinkPHP3.0 + DWZ1.4.3 + RBAC 整合框架 首页 遍历menu写法
<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>