mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 10:49:54 +09:00
메뉴에 mid등록시 해당 mid에 이미 레이아웃 설정이 되어 있다면 무시하도록 코드 수정
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2104 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
b8d5885eb4
commit
cb5d14d0ad
1 changed files with 5 additions and 1 deletions
|
|
@ -132,7 +132,11 @@
|
|||
|
||||
// menu_srl에 해당하는 레이아웃 값을 구함
|
||||
$output = executeQuery('menu.getMenuLayout', $args);
|
||||
if($output->data->layout_srl) $mid_args->layout_srl = $output->data->layout_srl;
|
||||
|
||||
// 해당 모듈에 레이아웃 값이 정해져 있지 않으면 지정
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_info = $oModuleModel->getModuleInfoByMid($mid);
|
||||
if(!$module_info->layout_srl&&$output->data->layout_srl) $mid_args->layout_srl = $output->data->layout_srl;
|
||||
|
||||
// 해당 mid의 메뉴값을 선택된 메뉴로 변경
|
||||
$oModuleController = &getController('module');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue