{include="style"}
{if(checkAction('Member/addrulers'))} {fun JZLANG('添加权限')} {/if} {if($webconf['isopenhomepower']==0)}{fun JZLANG('温馨提示：前台权限已关闭，设置权限不会生效。')}{else}{fun JZLANG('温馨提示：前台权限已开启，权限设置将直接影响前台访问，请谨慎操作！')}{/if}

ID | {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['action']} | {if(checkAction('Member/editrulers'))} {fun JZLANG('编辑')} {/if} {if(checkAction('Member/addrulers'))} {if($v['pid']==0)} {fun JZLANG('添加子功能')} {/if} {/if} {if(checkAction('Member/deleterulers'))} {fun JZLANG('删除')} {/if}
{/foreach}