mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
issue2873. fixed a bug. can select a site default skin on member's design setting. member module should not select a site default skin.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12634 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ca414b44fc
commit
0cbddf117c
1 changed files with 25 additions and 16 deletions
|
|
@ -945,7 +945,15 @@ class moduleModel extends module
|
|||
}
|
||||
|
||||
$siteInfo = Context::get('site_module_info');
|
||||
|
||||
$oMenuAdminModel = getAdminModel('menu');
|
||||
$installedMenuTypes = $oMenuAdminModel->getModuleListInSitemap($siteInfo->site_srl);
|
||||
$moduleName = $module;
|
||||
if($moduleName === 'page')
|
||||
{
|
||||
$moduleName = 'ARTICLE';
|
||||
}
|
||||
if(array_key_exists($moduleName, $installedMenuTypes))
|
||||
{
|
||||
if($dir == 'skins')
|
||||
{
|
||||
$type = 'P';
|
||||
|
|
@ -968,6 +976,7 @@ class moduleModel extends module
|
|||
|
||||
$skin_list = array_merge($useDefaultList, $skin_list);
|
||||
}
|
||||
}
|
||||
|
||||
return $skin_list;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue