mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
cafeXE 메인 설정시 레이아웃 설정할 수 있도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6177 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7d67cee78e
commit
3396917f64
9 changed files with 25 additions and 0 deletions
|
|
@ -56,6 +56,7 @@
|
|||
$module_args->skin = $args->skin;
|
||||
$module_args->browser_title = $args->browser_title;
|
||||
$module_args->module = 'homepage';
|
||||
$module_args->layout_srl = $vars->layout_srl;
|
||||
$output = $oModuleController->insertModule($module_args);
|
||||
if(!$output->toBool()) return $output;
|
||||
} else {
|
||||
|
|
@ -65,6 +66,7 @@
|
|||
$module_args->site_srl = 0;
|
||||
$module_args->browser_title = $args->browser_title;
|
||||
$module_args->module_srl = $module_info->module_srl;
|
||||
$module_args->layout_srl = $vars->layout_srl;
|
||||
$output = $oModuleController->updateModule($module_args);
|
||||
if(!$output->toBool()) return $output;
|
||||
}
|
||||
|
|
@ -72,6 +74,7 @@
|
|||
$module_info = $oModuleModel->getModuleInfoByMid($mid, 0);
|
||||
$args->module_srl = $module_info->module_srl;
|
||||
$args->creation_group = implode(',',explode('|@|',$vars->creation_group));
|
||||
$args->layout_srl = $vars->layout_srl;
|
||||
$oModuleController->insertModuleConfig('homepage', $args);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue