mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 1617 remove virtual site module in module list
so, if virtual site module, set external link setting in menu git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10406 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5410dc9e92
commit
89f224420c
4 changed files with 17 additions and 4 deletions
|
|
@ -119,6 +119,15 @@
|
|||
function dispMenuAdminSiteMap()
|
||||
{
|
||||
Context::loadLang(_XE_PATH_.'modules/document/lang/');
|
||||
$site_srl = Context::get('site_srl');
|
||||
$site_module_info = Context::get('site_module_info');
|
||||
|
||||
if(!$site_srl)
|
||||
{
|
||||
if($logged_info->is_admin == 'Y' && !$site_keyword) $site_srl = 0;
|
||||
else $site_srl = (int)$site_module_info->site_srl;
|
||||
}
|
||||
|
||||
$oMenuAdminModel = &getAdminModel('menu');
|
||||
$menuListFromDB = $oMenuAdminModel->getMenus();
|
||||
if(is_array($menuListFromDB)) $output = array_reverse($menuListFromDB);
|
||||
|
|
@ -158,7 +167,7 @@
|
|||
|
||||
// get installed module list
|
||||
$oPageController = &getController('page'); //for lang
|
||||
$resultModuleList = $oMenuAdminModel->getModuleListInSitemap();
|
||||
$resultModuleList = $oMenuAdminModel->getModuleListInSitemap($site_srl);
|
||||
Context::set('module_list', $resultModuleList);
|
||||
|
||||
// get default group list
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue