首页 >php教程 >PHP源码 >ThinkPHP3.0 DWZ1.4.3 RBAC 整合框架

ThinkPHP3.0 DWZ1.4.3 RBAC 整合框架

PHP中文网
PHP中文网原创
2016-05-25 17:10:401197浏览

ThinkPHP3.0 DWZ1.4.3 RBAC 整合框架 首页 遍历menu写法

<div class="accordion"  fillSpace="sidebar"> 
  <volist name="menu" id="vo">
         
        <neq name="vo[&#39;submenu&#39;][0]" value="" >
            <div class="accordionHeader">
                <h2><span>Folder</span>{$vo[&#39;title&#39;]}</h2>
            </div>
            <div class="accordionContent">
                <ul class="tree treeFolder">
                    <volist name="vo[&#39;submenu&#39;]" id="sub">
                        <neq name="sub[&#39;name&#39;]|strtolower" value="public" >
                            <neq name="sub[&#39;name&#39;]|strtolower" value="index" >
                                <eq name="sub[&#39;access&#39;]" value="1">
                                <li><a href="__APP__/{$sub[&#39;name&#39;]}/index/" target="navTab" rel="{$sub[&#39;name&#39;]}">{$sub[&#39;title&#39;]}</a></li>
                                </eq>
                            </neq>
                        </neq>
                    </volist>
                </ul>
                 
            </div>
        </neq>
  </volist>
</div>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn