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

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