모듈 목록이 나타나는 선택된 게시글 관리 팝업/ 위젯 코드 생성/ 통합검색 관리페이지에서 모듈을 모듈 카테고리로 나눠서 보다 보기 좋게 출력되도록 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3804 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-02-25 22:11:15 +00:00
parent 2b84ce71fc
commit 657ae432bc
13 changed files with 118 additions and 31 deletions

View file

@ -39,10 +39,24 @@
$widget_info = $oWidgetModel->getWidgetInfo(Context::get('selected_widget'));
Context::set('widget_info', $widget_info);
// mid 목록을 가져옴
$oModuleModel = &getModel('module');
// 모듈 카테고리 목록을 구함
$module_categories = $oModuleModel->getModuleCategories();
// mid 목록을 가져옴
$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);
// 스킨의 정보를 구함
$skin_list = $oModuleModel->getSkins($widget_info->path);