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