mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
issue 2370, issue 2373, issue 2374 add the site design info.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11303 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
abef8deda9
commit
ffde9607d9
5 changed files with 233 additions and 9 deletions
|
|
@ -158,7 +158,27 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
$layoutSrl = $module_info->layout_srl;
|
||||
// use the site default layout.
|
||||
if($module_info->layout_srl == -1000)
|
||||
{
|
||||
$designInfoFile = sprintf(_XE_PATH_.'/files/site_design/design_%s.php', $module_info->site_srl);
|
||||
@include($designInfoFile);
|
||||
if(!$designInfo->layout_srl)
|
||||
{
|
||||
$layoutSrl = $site_module_info->layout_srl;
|
||||
}
|
||||
else
|
||||
{
|
||||
$layoutSrl = $designInfo->layout_srl;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$layoutSrl = $module_info->layout_srl;
|
||||
}
|
||||
|
||||
// reset a layout_srl in module_info.
|
||||
$module_info->layout_srl = $layoutSrl;
|
||||
}
|
||||
|
||||
$part_config= $oModuleModel->getModulePartConfig('layout',$layoutSrl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue