From 3fb2e6fba2828343a9c2811399af124673c08f6e Mon Sep 17 00:00:00 2001 From: zero Date: Mon, 23 Apr 2007 04:29:57 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1278 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/admin/lang/ko.lang.php | 1 + modules/counter/conf/module.xml | 1 + modules/counter/counter.view.php | 1 + modules/counter/tpl/denied_ip_list.html | 49 ------------------ modules/counter/tpl/denied_word_list.html | 50 ------------------- .../counter/tpl/filter/delete_denied_ip.xml | 7 --- .../counter/tpl/filter/delete_denied_word.xml | 7 --- modules/counter/tpl/filter/insert_config.xml | 7 --- .../counter/tpl/filter/insert_denied_ip.xml | 12 ----- .../counter/tpl/filter/insert_denied_word.xml | 12 ----- modules/counter/tpl/header.html | 7 --- modules/counter/tpl/index.html | 4 -- modules/counter/tpl/js/counter.js | 14 ------ modules/counter/tpl/js/spamfilter_admin.js | 17 ------- 14 files changed, 3 insertions(+), 186 deletions(-) delete mode 100644 modules/counter/tpl/denied_ip_list.html delete mode 100644 modules/counter/tpl/denied_word_list.html delete mode 100644 modules/counter/tpl/filter/delete_denied_ip.xml delete mode 100644 modules/counter/tpl/filter/delete_denied_word.xml delete mode 100644 modules/counter/tpl/filter/insert_config.xml delete mode 100644 modules/counter/tpl/filter/insert_denied_ip.xml delete mode 100644 modules/counter/tpl/filter/insert_denied_word.xml delete mode 100644 modules/counter/tpl/header.html delete mode 100644 modules/counter/tpl/js/counter.js delete mode 100644 modules/counter/tpl/js/spamfilter_admin.js diff --git a/modules/admin/lang/ko.lang.php b/modules/admin/lang/ko.lang.php index c325bfbd1..617d51614 100644 --- a/modules/admin/lang/ko.lang.php +++ b/modules/admin/lang/ko.lang.php @@ -54,6 +54,7 @@ 'dispFileAdminList' => '첨부파일 관리', 'dispPollAdminList' => '설문조사 관리', 'dispSpamfilterAdminConfig' => '스팸필터 관리', + 'dispCounterAdminIndex' => '카운터 로그', ); diff --git a/modules/counter/conf/module.xml b/modules/counter/conf/module.xml index d3edf46bc..8b9f46eca 100644 --- a/modules/counter/conf/module.xml +++ b/modules/counter/conf/module.xml @@ -2,6 +2,7 @@ + diff --git a/modules/counter/counter.view.php b/modules/counter/counter.view.php index 0e61eb0ed..81b3ceb59 100644 --- a/modules/counter/counter.view.php +++ b/modules/counter/counter.view.php @@ -19,6 +19,7 @@ * @brief 관리자 페이지 초기화면 **/ function dispCounterAdminIndex() { + $this->setTemplateFile('index'); } } diff --git a/modules/counter/tpl/denied_ip_list.html b/modules/counter/tpl/denied_ip_list.html deleted file mode 100644 index f9e1c9193..000000000 --- a/modules/counter/tpl/denied_ip_list.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - -
- {$lang->total_count} : {count($ip_list)} -
- - -
- -
- - -
- - - - - - - - - - - - - - - -
{$lang->no}{$lang->ipaddress}{$lang->regdate}{$lang->cmd_delete}
{count($ip_list)-$no}{$val->ipaddress}{zdate($val->regdate,"Y-m-d")}{$lang->cmd_delete}
-
- - -
-
-
- {$lang->denied_ip} - - -
-
- {$lang->about_denied_ip} -
-
-
- diff --git a/modules/counter/tpl/denied_word_list.html b/modules/counter/tpl/denied_word_list.html deleted file mode 100644 index 6b1258e5c..000000000 --- a/modules/counter/tpl/denied_word_list.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -
- {$lang->total_count} : {count($word_list)} -
- - -
- -
- - -
- - - - - - - - - - - - - - - -
{$lang->no}{$lang->word}{$lang->regdate}{$lang->cmd_delete}
{count($word_list)-$no}{$val->word}{zdate($val->regdate,"Y-m-d")}{$lang->cmd_delete}
-
- - -
-
-
- {$lang->word} - - -
-
- {$lang->about_denied_word} -
-
-
- - diff --git a/modules/counter/tpl/filter/delete_denied_ip.xml b/modules/counter/tpl/filter/delete_denied_ip.xml deleted file mode 100644 index 199e2ae87..000000000 --- a/modules/counter/tpl/filter/delete_denied_ip.xml +++ /dev/null @@ -1,7 +0,0 @@ - -
- - - - - diff --git a/modules/counter/tpl/filter/delete_denied_word.xml b/modules/counter/tpl/filter/delete_denied_word.xml deleted file mode 100644 index 6502e5fa8..000000000 --- a/modules/counter/tpl/filter/delete_denied_word.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/modules/counter/tpl/filter/insert_config.xml b/modules/counter/tpl/filter/insert_config.xml deleted file mode 100644 index 628f08995..000000000 --- a/modules/counter/tpl/filter/insert_config.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/modules/counter/tpl/filter/insert_denied_ip.xml b/modules/counter/tpl/filter/insert_denied_ip.xml deleted file mode 100644 index 96470c0d4..000000000 --- a/modules/counter/tpl/filter/insert_denied_ip.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - -
diff --git a/modules/counter/tpl/filter/insert_denied_word.xml b/modules/counter/tpl/filter/insert_denied_word.xml deleted file mode 100644 index b6067f9c8..000000000 --- a/modules/counter/tpl/filter/insert_denied_word.xml +++ /dev/null @@ -1,12 +0,0 @@ - -
- - - - - - - - - -
diff --git a/modules/counter/tpl/header.html b/modules/counter/tpl/header.html deleted file mode 100644 index c8982c6f7..000000000 --- a/modules/counter/tpl/header.html +++ /dev/null @@ -1,7 +0,0 @@ - - -
- style="font-weight:bold">[{$lang->cmd_module_config}] - style="font-weight:bold">[{$lang->cmd_denied_ip}] - style="font-weight:bold">[{$lang->cmd_denied_word}] -
diff --git a/modules/counter/tpl/index.html b/modules/counter/tpl/index.html index b39411807..3df74221f 100644 --- a/modules/counter/tpl/index.html +++ b/modules/counter/tpl/index.html @@ -1,7 +1,3 @@ - - - -
diff --git a/modules/counter/tpl/js/counter.js b/modules/counter/tpl/js/counter.js deleted file mode 100644 index b6a4ec9bf..000000000 --- a/modules/counter/tpl/js/counter.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * @brief 카운터 정보 수집 javascript - * window.onload 이벤트 후에 counter 모듈을 호출한다. - **/ - -// 이벤트 등록 -xAddEventListener(window,'load',doCallCounter); - -// counter 모듈을 호출하는 함수 -function doCallCounter() { - show_waiting_message = false; - exec_xml('counter','procCounterExecute'); - show_waiting_message = true; -} diff --git a/modules/counter/tpl/js/spamfilter_admin.js b/modules/counter/tpl/js/spamfilter_admin.js deleted file mode 100644 index 46d48d8b5..000000000 --- a/modules/counter/tpl/js/spamfilter_admin.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * @brief 금지 IP 삭제 - **/ -function doDeleteDeniedIP(ipaddress) { - var fo_obj = xGetElementById('fo_denied_ip'); - fo_obj.ipaddress.value = ipaddress; - procFilter(fo_obj, delete_denied_ip); -} - -/** - * @brief 금지 단어 삭제 - **/ -function doDeleteDeniedWord(word) { - var fo_obj = xGetElementById('fo_denied_word'); - fo_obj.word.value = word; - procFilter(fo_obj, delete_denied_word); -}