english comments added

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
mosmartin 2011-04-06 16:48:06 +00:00
parent 693e215bc1
commit 4d272994dd
219 changed files with 6407 additions and 8705 deletions

View file

@ -2,57 +2,54 @@
/**
* @class spamfilterAdminView
* @author NHN (developers@xpressengine.com)
* @brief spamfilter 모듈의 admin view class
* @brief The admin view class of the spamfilter module
**/
class spamfilterAdminView extends spamfilter {
/**
* @brief 초기화
* @brief Initialization
**/
function init() {
// 템플릿 경로 지정
// Set template path
$this->setTemplatePath($this->module_path.'tpl');
}
/**
* @brief 스팸필터의 설정 화면
* @brief Spam Filter configurations
**/
function dispSpamfilterAdminConfig() {
// 설정 정보를 받아옴 (module model 객체를 이용)
// Get configurations (using module model object)
$oModuleModel = &getModel('module');
$config = $oModuleModel->getModuleConfig('spamfilter');
Context::set('config',$config);
// 템플릿 파일 지정
// Set a template file
$this->setTemplateFile('index');
}
/**
* @brief 금지 목록 출력
* @brief Output the list of banned IPs
**/
function dispSpamfilterAdminDeniedIPList() {
// 등록된 금지 IP 목록을 가져옴
// Get the list of banned IP addresses
$oSpamFilterModel = &getModel('spamfilter');
$ip_list = $oSpamFilterModel->getDeniedIPList();
Context::set('ip_list', $ip_list);
// 템플릿 파일 지정
// Set a template file
$this->setTemplateFile('denied_ip_list');
}
/**
* @brief 금지 목록 출력
* @brief Output the list of prohibited words
**/
function dispSpamfilterAdminDeniedWordList() {
// 등록된 금지 Word 목록을 가져옴
// Get the list of prohibited words
$oSpamFilterModel = &getModel('spamfilter');
$word_list = $oSpamFilterModel->getDeniedWordList();
Context::set('word_list', $word_list);
// 템플릿 파일 지정
// Set a template file
$this->setTemplateFile('denied_word_list');
}
}