문서/댓글/첨부파일/엮인글 관리자 페이지에 모듈별 열람이 가능하도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/trunk@1929 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-07-13 06:19:21 +00:00
parent a9e390ac0a
commit 9ccf23473b
15 changed files with 99 additions and 20 deletions

View file

@ -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);