{include="style"}
{if(checkAction('Rulers/addrulers'))} 添加权限 {/if}

ID | 功能 | 控制器/方法 | 归属 | 操作
--- | --- | --- | --- | ---
{foreach $lists as $v}
{$v['id']} | {fun str_repeat(' ',$v['level'])} {if($v['haschild'])}  {else} {if($v['level'])}|——{/if} {/if} {$v['name']} | {$v['fc']} | {if($v['sys']==1)}系统{else}插件{/if} | {if(checkAction('Rulers/editrulers'))} 编辑 {/if} {if(checkAction('Rulers/addrulers'))} {if($v['pid']==0)} 添加子功能 {/if} {/if} {if(checkAction('Rulers/deleterulers'))} 删除 {/if}
{/foreach}