mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-03 17:22:20 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@240 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f3419d2932
commit
61b7b47d6c
7 changed files with 96 additions and 1 deletions
|
|
@ -11,6 +11,7 @@
|
|||
* @brief 초기화
|
||||
**/
|
||||
function init() {
|
||||
// 템플릿 경로 지정
|
||||
$this->setTemplatePath($this->module_path.'tpl.admin');
|
||||
}
|
||||
|
||||
|
|
@ -18,6 +19,18 @@
|
|||
* @brief 관리자 모드에서 보여줄 화면
|
||||
**/
|
||||
function dispContent() {
|
||||
// 등록된 스패머의 목록을 가져옴
|
||||
$oSpamFilterModel = &getModel('spamfilter');
|
||||
$output = $oSpamFilterModel->getSpammerList();
|
||||
|
||||
Context::set('total_count', $output->total_count);
|
||||
Context::set('total_page', $output->total_page);
|
||||
Context::set('page', $output->page);
|
||||
Context::set('document_list', $output->data);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
|
||||
// 템플릿 파일 지정
|
||||
$this->setTemplateFile('index');
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue