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

ThinkPHP 3.1.2 + DWZ 1.4.5 + RBAC 整合框架

程序员文章站 2022-05-05 22:05:01
...
ThinkPHP 3.1.2 + DWZ 1.4.5 + RBAC 整合框架
<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>