{template "header.html"} {php echo \Phpcmf\Service::L('Field')->get('select')->get_select_search_code();}
{dr_form_hidden()}
{if $ci->_is_admin_auth('del')}
{/if} {if $ci->_is_admin_auth('edit') && dr_count($ci->site_info) > 1}
{/if}

{if $ci->_is_admin_auth('del')} {/if} | {dr_lang('排序')} | {dr_lang('可用')} | {dr_lang('名称')} {if dr_count($ci->site_info) > 1} | {if $ci->_is_admin_auth('add')} {dr_lang('添加')} {/if} | {dr_lang('项目权限')} {else} | {if $ci->_is_admin_auth('add')} {dr_lang('添加')} {/if} {/if}
--- | --- | --- | --- | --- | --- | ---
{php $top=[];} {loop $data $t} {php $t.pid == 0 && $top[] = $t.id;$t.site = dr_string2array($t.site);}
{if $ci->_is_admin_auth('del')} {/if} |  |  | {$t.spacer} {dr_lang($t.name)} {if $t.uri} - {$t.uri}{/if} | {if $ci->_is_admin_auth('add') && ($t.pid == 0 || dr_in_array($t.pid, (array)$top))} {dr_lang('添加')} {/if} {if dr_count($ci->site_info) > 1} | {dr_lang('主站')} {loop $t.site $b $sid} {if $sid > 1} {dr_strcut($ci->site_info[$sid]['SITE_NAME'], 4)} {/if} {/loop} {/if}
{/loop}

{template "footer.html"}