mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
모듈 목록이 나타나는 선택된 게시글 관리 팝업/ 위젯 코드 생성/ 통합검색 관리페이지에서 모듈을 모듈 카테고리로 나눠서 보다 보기 좋게 출력되도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3804 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
2b84ce71fc
commit
657ae432bc
13 changed files with 118 additions and 31 deletions
|
|
@ -110,9 +110,13 @@
|
|||
Context::set('document_list', $document_list);
|
||||
}
|
||||
|
||||
// 모듈의 목록을 가져옴
|
||||
$oModuleModel = &getModel('module');
|
||||
$module_list = ($oModuleModel->getMidList());
|
||||
|
||||
// 모듈 카테고리 목록을 구함
|
||||
$module_categories = $oModuleModel->getModuleCategories();
|
||||
|
||||
// 모듈의 목록을 가져옴
|
||||
$module_list = $oModuleModel->getMidList();
|
||||
|
||||
// 최고 관리자가 아닌 경우 자신의 관리 대상 모듈만 구해옴
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
|
@ -140,7 +144,19 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
Context::set('module_list', $module_list);
|
||||
|
||||
// module_category와 module의 조합
|
||||
if($module_categories) {
|
||||
foreach($module_list as $module_srl => $module) {
|
||||
$module_categories[$module->module_category_srl]->list[$module_srl] = $module;
|
||||
}
|
||||
} else {
|
||||
$module_categories[0]->list = $module_list;
|
||||
}
|
||||
|
||||
|
||||
// 모듈 카테고리 목록과 모듈 목록의 조합
|
||||
Context::set('module_list', $module_categories);
|
||||
|
||||
// 팝업 레이아웃 선택
|
||||
$this->setLayoutPath('./common/tpl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue