| @@ -92,7 +92,6 @@ $menusMain = "<m:top item='1_' name='常用操作' display='block'> | |||||
| </m:top> | </m:top> | ||||
| $adminMenu1 | $adminMenu1 | ||||
| <m:top item='1_' name='批量维护' display='block'> | <m:top item='1_' name='批量维护' display='block'> | ||||
| <m:item name='更新系统缓存' link='sys_cache_up.php' rank='sys_ArcBatch' target='main' /> | |||||
| <m:item name='文档批量维护' link='content_batch_up.php' rank='sys_ArcBatch' target='main' /> | <m:item name='文档批量维护' link='content_batch_up.php' rank='sys_ArcBatch' target='main' /> | ||||
| <m:item name='搜索关键词维护' link='search_keywords_main.php' rank='sys_Keyword' target='main' /> | <m:item name='搜索关键词维护' link='search_keywords_main.php' rank='sys_Keyword' target='main' /> | ||||
| <m:item name='文档关键词维护' link='article_keywords_main.php' rank='sys_Keyword' target='main' /> | <m:item name='文档关键词维护' link='article_keywords_main.php' rank='sys_Keyword' target='main' /> | ||||
| @@ -33,7 +33,7 @@ function GetMenus($userrank, $topos = 'main') | |||||
| if ($ctag->GetName() == 'top' && ($ctag->GetAtt('rank') == '' || TestPurview($ctag->GetAtt('rank')))) { | if ($ctag->GetName() == 'top' && ($ctag->GetAtt('rank') == '' || TestPurview($ctag->GetAtt('rank')))) { | ||||
| if ($openitem != 999 && !preg_match("#".$openitem.'_'."#", $ctag->GetAtt('item')) && $openitem != 100) continue; | if ($openitem != 999 && !preg_match("#".$openitem.'_'."#", $ctag->GetAtt('item')) && $openitem != 100) continue; | ||||
| $m++; | $m++; | ||||
| echo "<!-- Item ".($m + 1)." Strat -->"; | |||||
| echo "<!--".($m + 1)."-->"; | |||||
| $htmp = str_replace("~channelname~", $ctag->GetAtt("name"), $headTemplet); | $htmp = str_replace("~channelname~", $ctag->GetAtt("name"), $headTemplet); | ||||
| if (empty($openitem) || $openitem == 100) { | if (empty($openitem) || $openitem == 100) { | ||||
| if ($ctag->GetAtt('notshowall') == '1') continue; | if ($ctag->GetAtt('notshowall') == '1') continue; | ||||
| @@ -74,7 +74,7 @@ function GetMenus($userrank, $topos = 'main') | |||||
| } | } | ||||
| } | } | ||||
| echo $footTemplet; | echo $footTemplet; | ||||
| echo "<!--Item".($m + 1)."End-->"; | |||||
| echo "<!--".($m + 1)."-->"; | |||||
| } | } | ||||
| } | } | ||||
| }//End Function | }//End Function | ||||
| @@ -50,7 +50,6 @@ $menusMain = "<m:top mapitem='1' item='1_' name='常用操作' display='block'> | |||||
| <m:item name='专题管理' ischannel='1' link='content_s_list.php' linkadd='spec_add.php' channelid='-1' rank='spec_New' target='main' /> | <m:item name='专题管理' ischannel='1' link='content_s_list.php' linkadd='spec_add.php' channelid='-1' rank='spec_New' target='main' /> | ||||
| </m:top> | </m:top> | ||||
| <m:top mapitem='3' item='1_' name='批量维护' display='block'> | <m:top mapitem='3' item='1_' name='批量维护' display='block'> | ||||
| <m:item name='更新系统缓存' link='sys_cache_up.php' rank='sys_ArcBatch' target='main' /> | |||||
| <m:item name='文档批量维护' link='content_batch_up.php' rank='sys_ArcBatch' target='main' /> | <m:item name='文档批量维护' link='content_batch_up.php' rank='sys_ArcBatch' target='main' /> | ||||
| <m:item name='搜索关键词维护' link='search_keywords_main.php' rank='sys_Keyword' target='main' /> | <m:item name='搜索关键词维护' link='search_keywords_main.php' rank='sys_Keyword' target='main' /> | ||||
| <m:item name='文档关键词维护' link='article_keywords_main.php' rank='sys_Keyword' target='main' /> | <m:item name='文档关键词维护' link='article_keywords_main.php' rank='sys_Keyword' target='main' /> | ||||