{template "header.html"}

{dr_lang('更改数据之后请更新下全站缓存')}

{dr_form_hidden()}

{if $ci->_is_admin_auth('del')} {/if} | {dr_lang('角色组')} | {dr_lang('身份')} | {dr_lang('站点数')} |
--- | --- | --- | --- | ---
{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', '50%');{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} | _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 $ci->_is_admin_auth('edit') && $t.id>1} {dr_lang('操作权限')} {dr_lang('站点权限')} {/if} {if $ci->_is_admin_auth('edit')} {dr_lang('修改')} {/if}
{/loop}

{template "footer.html"}