mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 23:32:54 +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');
|
||||
|
|
|
|||
|
|
@ -33,8 +33,15 @@
|
|||
<th scope="row">{$lang->move_target_module}</th>
|
||||
<td>
|
||||
<select id="target_module" name="target_module" class="w300" onchange="doGetCategoryFromModule(this); return false;">
|
||||
<!--@foreach($module_list as $key => $val)-->
|
||||
<option value="{$val->module_srl}">{$val->browser_title} ({$val->mid})</option>
|
||||
<!--@foreach($module_list as $module_category_srl => $modules )-->
|
||||
<!--@if($modules->title)-->
|
||||
<option disabled="disabled">{$modules->title}</option>
|
||||
<!--@else-->
|
||||
<option disabled="disabled"> </option>
|
||||
<!--@end-->
|
||||
<!--@foreach($modules->list as $key => $val)-->
|
||||
<option value="{$val->module_srl}"> {$val->browser_title} ({$val->mid})</option>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</select>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
ul.document_list_box { margin:0; padding:0; list-style:none; }
|
||||
.document_list_box { height:300px; overflow-y:scroll; overflow-x:hidden;}
|
||||
.document_list_box { height:230px; overflow-y:scroll; overflow-x:hidden;}
|
||||
.document_list { margin-top:.5em; overflow:hidden; white-space:nowrap; clear:both;}
|
||||
.document_list input { float:left; margin-right:10px; }
|
||||
.document_list address { float:left; width:100px; margin-right:10px; overflow:hidden; white-space:nowrap;}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue