mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-10 14:02:12 +09:00
35 lines
905 B
PHP
35 lines
905 B
PHP
<?php
|
|
/**
|
|
* @class spamfilterView
|
|
* @author zero (zero@nzeo.com)
|
|
* @brief spamfilter 모듈의 View class
|
|
**/
|
|
|
|
class spamfilterView extends spamfilter {
|
|
|
|
/**
|
|
* @brief 초기화
|
|
**/
|
|
function init() {
|
|
// 템플릿 경로 지정
|
|
$this->setTemplatePath($this->module_path.'tpl.admin');
|
|
}
|
|
|
|
/**
|
|
* @brief 관리자 모드에서 보여줄 화면
|
|
**/
|
|
function dispContent() {
|
|
// 등록된 스패머의 목록을 가져옴
|
|
$oSpamFilterModel = &getModel('spamfilter');
|
|
$spammer_list = $oSpamFilterModel->getSpammerList();
|
|
|
|
Context::set('spammer_list', $spammer_list);
|
|
Context::set('total_count', count($spammer_list));
|
|
|
|
// 템플릿 파일 지정
|
|
$this->setTemplateFile('index');
|
|
}
|
|
|
|
|
|
}
|
|
?>
|