{include file="public/layout" /}
{include file="admin/modular_bar" /}

### 模块列表

##### (共{$modular_list|count}条记录)

模块名称 | 控制器 | 操作名 | 操作 | 排序 |
--- | --- | --- | --- | --- | ---

{foreach name="modular_list" item="vo" key="k" }
{gt name='vo.level' value='0'} {php} for($i = 0; $i < $vo['level']; $i++) { if ($i == 0) { echo '└──'; } else { echo '──'; } } {/php} {/gt} {gt name="vo.has_children" value="0"} {else /} {/gt} | {gt name="vo.grade" value="1"} {/gt} | {gt name="vo.grade" value="1"} {/gt} | {eq name="'Admin@modular_add'|is_check_access" value="1"} {if condition="($vo['id'] gt 1) AND ($vo['grade'] < 2)"} 新增 {/if} {/eq} {eq name="'Admin@modular_edit'|is_check_access" value="1"} 编辑 {/eq} {eq name="'Admin@modular_del'|is_check_access" value="1"} 删除 {/eq} | {eq name="'Admin@modular_edit'|is_check_access" value="1"} {else /} {$vo.sort_order} {/eq} |
{/foreach}

{include file="public/footer" /}