mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
#450. 애드온에서 활성화 대상 모듈 선택 기능 추가. 애드온에서 권한 대상을 선택하는 것은 불필요하다고 판단. 관련하여 에디터 컴포넌트에서도 대상 모듈을 선택할 수 있도록 기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4123 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
fb08c61fce
commit
1bbc3c1b9c
29 changed files with 184 additions and 48 deletions
|
|
@ -41,8 +41,22 @@
|
|||
|
||||
// mid 목록을 가져옴
|
||||
$oModuleModel = &getModel('module');
|
||||
|
||||
// 모듈 카테고리 목록을 구함
|
||||
$module_categories = $oModuleModel->getModuleCategories();
|
||||
|
||||
$mid_list = $oModuleModel->getMidList();
|
||||
Context::set('mid_list', $mid_list);
|
||||
|
||||
// module_category와 module의 조합
|
||||
if($module_categories) {
|
||||
foreach($mid_list as $module_srl => $module) {
|
||||
$module_categories[$module->module_category_srl]->list[$module_srl] = $module;
|
||||
}
|
||||
} else {
|
||||
$module_categories[0]->list = $mid_list;
|
||||
}
|
||||
|
||||
Context::set('mid_list',$module_categories);
|
||||
|
||||
// 레이아웃을 팝업으로 지정
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue