{template "header.html"}
{dr_form_hidden()} {if $ci->_is_admin_auth('del')}
{else}
{/if}

{if $ci->_is_admin_auth('del')} {/if} | {dr_lang('角色组')} | {dr_lang('身份')} {if IS_SITES} | {dr_lang('项目数')} {/if} |
--- | --- | --- | --- | ---
{loop $data $t}
{if $ci->_is_admin_auth('del')} {/if} | {dr_lang($t.name)} | _is_admin_auth('edit')}href="{if $t.id>1}javascript:dr_iframe('{dr_lang('修改')}', '{dr_url('role/edit', ['id'=>$t.id])}', '500px', '80%');{else}javascript:;{/if}"{/if} class="badge {if $t.application.tid}badge-danger{else}badge-success{/if}">{if $t.application.tid}{dr_lang('投稿者')}{else}{dr_lang('管理者')}{/if} {if IS_SITES} | _is_admin_auth('edit')}href="{if $t.id>1}javascript:dr_iframe('{dr_lang('项目权限')}', '{dr_url('role/site_edit', ['id'=>$t.id])}', '500px', '50%');{else}javascript:;{/if}"{/if} class="badge badge-success">{if $t.id>1}{count($t.site)}{else}{dr_lang('全部')}{/if} {/if} | {if $ci->_is_admin_auth() && $t.id>1} {dr_lang('操作权限')} {if IS_SITES} {dr_lang('项目权限')}{/if} {if IS_USE_MEMBER && !$t.application.tid} {dr_lang('审核权限')}{/if} {dr_lang('同步到其他角色')} {/if} {if $ci->_is_admin_auth('edit')} {dr_lang('修改')} {/if}
{/loop}

{if $mypages}
{/if}
{template "footer.html"}