From 9ccf23473b0a005166e6cc920bb28c62300f4941 Mon Sep 17 00:00:00 2001 From: zero Date: Fri, 13 Jul 2007 06:19:21 +0000 Subject: [PATCH] =?UTF-8?q?=EB=AC=B8=EC=84=9C/=EB=8C=93=EA=B8=80/=EC=B2=A8?= =?UTF-8?q?=EB=B6=80=ED=8C=8C=EC=9D=BC/=EC=97=AE=EC=9D=B8=EA=B8=80=20?= =?UTF-8?q?=EA=B4=80=EB=A6=AC=EC=9E=90=20=ED=8E=98=EC=9D=B4=EC=A7=80?= =?UTF-8?q?=EC=97=90=20=EB=AA=A8=EB=93=88=EB=B3=84=20=EC=97=B4=EB=9E=8C?= =?UTF-8?q?=EC=9D=B4=20=EA=B0=80=EB=8A=A5=ED=95=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/trunk@1929 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/admin/tpl/css/admin.css | 3 +++ modules/comment/comment.admin.view.php | 7 +++++++ modules/comment/comment.model.php | 1 + .../comment/queries/getTotalCommentList.xml | 19 +++++++++++-------- modules/comment/tpl/comment_list.html | 12 +++++++++++- modules/document/document.admin.view.php | 7 +++++++ modules/document/tpl/document_list.html | 12 +++++++++++- modules/file/file.admin.model.php | 1 + modules/file/file.admin.view.php | 6 ++++++ modules/file/queries/getFileList.xml | 5 +++-- modules/file/tpl/file_list.html | 12 +++++++++++- .../queries/getTotalTrackbackList.xml | 15 +++++++++------ modules/trackback/tpl/trackback_list.html | 12 +++++++++++- modules/trackback/trackback.admin.model.php | 1 + modules/trackback/trackback.admin.view.php | 6 ++++++ 15 files changed, 99 insertions(+), 20 deletions(-) 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 @@ +