diff --git a/modules/spamfilter/tpl.admin/denied_ip_list.html b/modules/spamfilter/tpl.admin/denied_ip_list.html index e45075ed2..b5729d373 100644 --- a/modules/spamfilter/tpl.admin/denied_ip_list.html +++ b/modules/spamfilter/tpl.admin/denied_ip_list.html @@ -1,11 +1,17 @@ + +
{$lang->total_count} : {count($ip_list)}
+ +
+ +
@@ -21,7 +27,7 @@ {count($ip_list)-$no} {$val->ipaddress} {zdate($val->regdate,"Y-m-d")} - {$lang->cmd_delete} + {$lang->cmd_delete} diff --git a/modules/spamfilter/tpl.admin/denied_word_list.html b/modules/spamfilter/tpl.admin/denied_word_list.html index 1126b9d65..246e47729 100644 --- a/modules/spamfilter/tpl.admin/denied_word_list.html +++ b/modules/spamfilter/tpl.admin/denied_word_list.html @@ -1,11 +1,17 @@ + +
{$lang->total_count} : {count($word_list)}
+ +
+ +
@@ -21,7 +27,7 @@ {count($word_list)-$no} {$val->word} {zdate($val->regdate,"Y-m-d")} - {$lang->cmd_delete} + {$lang->cmd_delete} diff --git a/modules/spamfilter/tpl.admin/filter/delete_denied_ip.xml b/modules/spamfilter/tpl.admin/filter/delete_denied_ip.xml new file mode 100644 index 000000000..2fad57c51 --- /dev/null +++ b/modules/spamfilter/tpl.admin/filter/delete_denied_ip.xml @@ -0,0 +1,7 @@ + +
+ + + + + diff --git a/modules/spamfilter/tpl.admin/filter/delete_denied_word.xml b/modules/spamfilter/tpl.admin/filter/delete_denied_word.xml new file mode 100644 index 000000000..7ab3149a8 --- /dev/null +++ b/modules/spamfilter/tpl.admin/filter/delete_denied_word.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/modules/spamfilter/tpl.admin/js/spamfilter.js b/modules/spamfilter/tpl.admin/js/spamfilter.js new file mode 100644 index 000000000..a5d645c77 --- /dev/null +++ b/modules/spamfilter/tpl.admin/js/spamfilter.js @@ -0,0 +1,17 @@ +/** + * @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); +}