{template "header.html"}

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

{dr_form_hidden()}

{if $ci->_is_admin_auth('del')} {/if} | {dr_lang('排序')} | {dr_lang('可见')} | {dr_lang('名称')} | {if $ci->_is_admin_auth('add')} {dr_lang('添加')} {/if} | {dr_lang('用户组划分(默认全部组)')} {if dr_count($ci->site_info) > 1} | {dr_lang('站点划分')} {/if}
--- | --- | --- | --- | --- | --- | ---
{php $top=[];} {loop $data $t} {php $t.pid == 0 && $top[] = $t.id; $t.group = dr_string2array($t.group);$t.site = dr_string2array($t.site);}
{if $ci->_is_admin_auth('del')} {/if} |  |  | {$t.spacer} {dr_lang($t.name)} | {if $ci->_is_admin_auth('add') && $t.pid == 0} {dr_lang('添加')} {/if} | {if !$t.group} {dr_lang('全部')} {/if} {loop $t.group $b $gid} {$group[$gid]['name']} {/loop} {if dr_count($ci->site_info) > 1} | {if !$t.site} {dr_lang('全部')} {/if} {loop $t.site $b $sid} {$ci->site_info[$sid]['SITE_NAME']} {/loop} {/if}
{/loop}

{template "footer.html"}