diff --git a/modules/admin/tpl/css/admin.css b/modules/admin/tpl/css/admin.css index a80001eb3..daeeb2984 100644 --- a/modules/admin/tpl/css/admin.css +++ b/modules/admin/tpl/css/admin.css @@ -201,3 +201,6 @@ select.time_zone { width:70%; position:relative; top:4px; } .w700 { width:700px; } .w5 { width:5em; } + +.nowrap { white-space:nowrap; } +.mid_list { width:7em; } diff --git a/modules/comment/comment.admin.view.php b/modules/comment/comment.admin.view.php index c00084e1a..8be1af26e 100644 --- a/modules/comment/comment.admin.view.php +++ b/modules/comment/comment.admin.view.php @@ -24,6 +24,13 @@ $args->sort_index = 'list_order'; ///< 소팅 값 + $args->module_srl = Context::get('module_srl'); + + // mid목록을 구함 + $oModuleModel = &getModel('module'); + $mid_list = $oModuleModel->getMidList(); + Context::set('mid_list', $mid_list); + // 목록 구함, comment->getCommentList 에서 걍 알아서 다 해버리는 구조이다... (아.. 이거 나쁜 버릇인데.. ㅡ.ㅜ 어쩔수 없다) $oCommentModel = &getModel('comment'); $output = $oCommentModel->getTotalCommentList($args); diff --git a/modules/comment/comment.model.php b/modules/comment/comment.model.php index 35ad5dd50..5ac4f23f4 100644 --- a/modules/comment/comment.model.php +++ b/modules/comment/comment.model.php @@ -176,6 +176,7 @@ $args->page = $obj->page?$obj->page:1; $args->list_count = $obj->list_count?$obj->list_count:20; $args->page_count = $obj->page_count?$obj->page_count:10; + $args->s_module_srl = $obj->module_srl; // 검색 옵션 정리 $search_target = trim(Context::get('search_target')); diff --git a/modules/comment/queries/getTotalCommentList.xml b/modules/comment/queries/getTotalCommentList.xml index a982e7036..f3daff1a5 100644 --- a/modules/comment/queries/getTotalCommentList.xml +++ b/modules/comment/queries/getTotalCommentList.xml @@ -6,14 +6,17 @@ - - - - - - - - + + + + + + + + + + + diff --git a/modules/comment/tpl/comment_list.html b/modules/comment/tpl/comment_list.html index 1d42f45eb..9d416cee1 100644 --- a/modules/comment/tpl/comment_list.html +++ b/modules/comment/tpl/comment_list.html @@ -16,7 +16,16 @@ - {$lang->module} + +
+ GO +
+ {$lang->user_name} {$lang->date} {$lang->last_update} @@ -71,6 +80,7 @@
+
- {$lang->module} + +
+ GO +
+ {$lang->title} {$lang->user_name} {$lang->readed_count} @@ -75,6 +84,7 @@ +
- {$lang->module} + +
+ GO +
+ {$lang->file_name} {$lang->file_size} {$lang->is_valid} @@ -73,6 +82,7 @@ +
+ + + + + GO + + {$lang->blog_name} {$lang->title} {$lang->date} @@ -71,6 +80,7 @@ +