mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1261 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
45f679a9ad
commit
e5db303dea
11 changed files with 132 additions and 56 deletions
|
|
@ -302,6 +302,30 @@
|
|||
}
|
||||
}
|
||||
|
||||
// 메뉴 관리
|
||||
$menus = get_object_vars($skin_info->menu);
|
||||
if(count($menus)) {
|
||||
foreach($menus as $menu_id => $val) {
|
||||
$menu_srl = Context::get($menu_id);
|
||||
if($menu_srl) {
|
||||
$obj->menu->{$menu_id} = $menu_srl;
|
||||
$obj->{$menu_id} = $menu_srl;
|
||||
$menu_srl_list[] = $menu_srl;
|
||||
}
|
||||
}
|
||||
|
||||
// 정해진 메뉴가 있으면 모듈 및 메뉴에 대한 레이아웃 연동
|
||||
if(count($menu_srl_list)) {
|
||||
// 해당 메뉴와 레이아웃 값을 매핑
|
||||
$oMenuController = &getController('menu');
|
||||
$oMenuController->updateMenuLayout($module_srl, $menu_srl_list);
|
||||
|
||||
// 해당 메뉴에 속한 mid의 layout값을 모두 변경
|
||||
$oModuleController = &getController('module');
|
||||
$oModuleController->updateModuleLayout($module_srl, $menu_srl_list);
|
||||
}
|
||||
}
|
||||
|
||||
// serialize하여 저장
|
||||
$obj->category_xml_file = sprintf("./files/cache/blog_category/%s.xml.php", $module_srl);
|
||||
$skin_vars = serialize($obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue