git-svn-id: http://xe-core.googlecode.com/svn/trunk@1761 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-25 10:37:11 +00:00
parent c92102f8fe
commit b7ec12f4c2
45 changed files with 899 additions and 790 deletions

View file

@ -28,4 +28,6 @@
$lang->msg_alert_denied_word = '"%s"는 사용 금지된 단어입니다';
$lang->msg_alert_registered_denied_ip = '금지 IP에 등록되셔서 정상적인 활동에 제한을 받게 되셨습니다. 문의는 사이트 관리자에게 해주시기 바랍니다';
$lang->msg_alert_trackback_denied = '한 글에는 하나의 트랙백만 허용이 됩니다';
$lang->admin_module_title = "스팸필터";
?>

View file

@ -4,8 +4,8 @@
<!--#include("header.html")-->
<!-- 스패머 정보 -->
<div>
{$lang->total_count} : {count($ip_list)}
<div class="tableSummaryType1">
Total <strong>{number_format($ip_list)}</strong>
</div>
<!-- xml js filter를 이용하기 위한 데이터 전달용 form -->
@ -14,36 +14,42 @@
</form>
<!-- 목록 -->
<div>
<table border="1">
<table cellspacing="0" class="tableType1">
<thead>
<tr>
<th>{$lang->no}</th>
<th>{$lang->ipaddress}</th>
<th>{$lang->regdate}</th>
<th>{$lang->cmd_delete}</th>
<th scope="col">{$lang->no}</th>
<th scope="col">{$lang->ipaddress}</th>
<th scope="col">{$lang->regdate}</th>
<th scope="col">{$lang->cmd_delete}</th>
</tr>
</thead>
<tbody>
<!--@foreach($ip_list as $no => $val)-->
<tr>
<td>{count($ip_list)-$no}</td>
<td>{$val->ipaddress}</td>
<td>{zdate($val->regdate,"Y-m-d")}</td>
<td><a href="#" onclick="doDeleteDeniedIP('{$val->ipaddress}');return false;">{$lang->cmd_delete}</a></td>
<td class="tahoma">{count($ip_list)-$no}</td>
<td class="tahoma">{$val->ipaddress}</td>
<td class="tahoma">{zdate($val->regdate,"Y-m-d")}</td>
<td class="tahoma red"><a href="#" onclick="doDeleteDeniedIP('{$val->ipaddress}');return false;">{$lang->cmd_delete}</a></td>
</tr>
<!--@end-->
</table>
</div>
</tbody>
</table>
<!-- 수동 추가 -->
<div>
<form action="./" method="get" onsubmit="return procFilter(this, insert_denied_ip)">
<div>
{$lang->denied_ip}
<input type="text" name="ipaddress" value="" />
<input type="submit" value="{$lang->cmd_insert}" />
</div>
<div>
{$lang->about_denied_ip}
</div>
</form>
</div>
<form action="./" method="get" onsubmit="return procFilter(this, insert_denied_ip)">
<table cellspacing="0" class="tableType3 gap1">
<col width="150" />
<col />
<tr>
<th scope="row">{$lang->denied_ip}</th>
<td class="left">
<input type="text" name="ipaddress" value="" class="inputTypeText" />
<p>{$lang->about_denied_ip}</p>
</td>
</tr>
</table>
<div class="buttonRight">
<span class="buttonTypeA"><img src="../../admin/tpl/images/blank.gif" alt="" class="leftCap" /><img src="../../admin/tpl/images/iconCreate.gif" alt="" width="8" height="4" class="icon" /><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /><img src="../../admin/tpl/images/blank.gif" alt="" class="rightCap" /></span>
</div>
</form>

View file

@ -4,8 +4,8 @@
<!--%import("filter/delete_denied_word.xml")-->
<!-- 스패머 정보 -->
<div>
{$lang->total_count} : {count($word_list)}
<div class="tableSummaryType1">
Total <strong>{number_format($word_list)}</strong>
</div>
<!-- xml js filter를 이용하기 위한 데이터 전달용 form -->
@ -14,37 +14,42 @@
</form>
<!-- 목록 -->
<div>
<table border="1">
<table cellspacing="0" class="tableType1">
<thead>
<tr>
<th>{$lang->no}</th>
<th>{$lang->word}</th>
<th>{$lang->regdate}</th>
<th>{$lang->cmd_delete}</th>
<th scope="col">{$lang->no}</th>
<th scope="col">{$lang->word}</th>
<th scope="col">{$lang->regdate}</th>
<th scope="col">{$lang->cmd_delete}</th>
</tr>
</thead>
<tbody>
<!--@foreach($word_list as $no => $val)-->
<tr>
<td>{count($word_list)-$no}</td>
<td class="tahoma">{count($word_list)-$no}</td>
<td>{$val->word}</td>
<td>{zdate($val->regdate,"Y-m-d")}</td>
<td><a href="#" onclick="doDeleteDeniedWord('{$val->word}');return false;">{$lang->cmd_delete}</a></td>
<td class="tahoma">{zdate($val->regdate,"Y-m-d")}</td>
<td class="tahoma red"><a href="#" onclick="doDeleteDeniedWord('{$val->word}');return false;">{$lang->cmd_delete}</a></td>
</tr>
<!--@end-->
</table>
</div>
</tbody>
</table>
<!-- 수동 추가 -->
<div>
<form action="./" method="get" onsubmit="return procFilter(this, insert_denied_word)">
<div>
{$lang->word}
<input type="text" name="word" value="" />
<input type="submit" value="{$lang->cmd_insert}" />
</div>
<div>
{$lang->about_denied_word}
</div>
</form>
</div>
<form action="./" method="get" onsubmit="return procFilter(this, insert_denied_word)">
<table cellspacing="0" class="tableType3 gap1">
<col width="150" />
<col />
<tr>
<th scope="row">{$lang->word}</th>
<td class="left">
<input type="text" name="word" value="" class="inputTypeText" />
<p>{$lang->about_denied_word}</p>
</td>
</tr>
</table>
<div class="buttonRight">
<span class="buttonTypeA"><img src="../../admin/tpl/images/blank.gif" alt="" class="leftCap" /><img src="../../admin/tpl/images/iconCreate.gif" alt="" width="8" height="4" class="icon" /><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /><img src="../../admin/tpl/images/blank.gif" alt="" class="rightCap" /></span>
</div>
</form>

View file

@ -1,7 +1,11 @@
<!--%import("js/spamfilter_admin.js")-->
<div style="margin-bottom:20px;">
<span <!--@if($act=='dispSpamfilterAdminConfig')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispSpamfilterAdminConfig','module_srl','')}">{$lang->cmd_module_config}</a>]</span>
<span <!--@if($act=='dispSpamfilterAdminDeniedIPList')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispSpamfilterAdminDeniedIPList')}">{$lang->cmd_denied_ip}</a>]</span>
<span <!--@if($act=='dispSpamfilterAdminDeniedWordList')-->style="font-weight:bold"<!--@end-->>[<a href="{getUrl('act','dispSpamfilterAdminDeniedWordList')}">{$lang->cmd_denied_word}</a>]</span>
<h3>{$lang->admin_module_title} <span class="gray">{$lang->cmd_management}</span></h3>
<div class="header4">
<ul class="localNavigation">
<li <!--@if($act=='dispSpamfilterAdminConfig')-->class="on"<!--@end-->><a href="{getUrl('act','dispSpamfilterAdminConfig','module_srl','')}">{$lang->cmd_module_config}</a></li>
<li <!--@if($act=='dispSpamfilterAdminDeniedIPList')-->class="on"<!--@end-->><a href="{getUrl('act','dispSpamfilterAdminDeniedIPList')}">{$lang->cmd_denied_ip}</a></li>
<li <!--@if($act=='dispSpamfilterAdminDeniedWordList')-->class="on"<!--@end-->><a href="{getUrl('act','dispSpamfilterAdminDeniedWordList')}">{$lang->cmd_denied_word}</a></li>
</ul>
</div>

View file

@ -3,33 +3,34 @@
<!--#include("header.html")-->
<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
<table border="1">
<table cellspacing="0" class="tableType3 gap1">
<tr>
<th rowspan="2">{$lang->interval}</th>
<td><input type="text" name="interval" value="{$config->interval?$config->interval:60}" /> {$lang->unit_sec}</td>
<th scope="col">{$lang->interval}</th>
<td class="left">
<input type="text" name="interval" value="{$config->interval?$config->interval:60}" class="inputTypeText" /> {$lang->unit_sec}
<p>{$lang->about_interval}</p>
</td>
</tr>
<tr>
<td>{$lang->about_interval}</td>
<th scope="col">{$lang->limit_count}</th>
<td class="left">
<input type="text" name="limit_count" value="{$config->limit_count?$config->limit_count:5}" class="inputTypeText" />
<p>{$lang->about_limit_count}</p>
</td>
</tr>
<tr>
<th rowspan="2">{$lang->limit_count}</th>
<td><input type="text" name="limit_count" value="{$config->limit_count?$config->limit_count:5}" /></td>
<th scope="col">{$lang->check_trackback}</th>
<td class="left">
<input type="checkbox" name="check_trackback" value="Y" <!--@if($config->check_trackback=='Y')-->checked="true"<!--@end--> />
{$lang->about_check_trackback}
</td>
</tr>
<tr>
<td>{$lang->about_limit_count}</td>
</tr>
<tr>
<th rowspan="2">{$lang->check_trackback}</th>
<td><input type="checkbox" name="check_trackback" value="Y" <!--@if($config->check_trackback=='Y')-->checked="true"<!--@end--> /></td>
</tr>
<tr>
<td>{$lang->about_check_trackback}</td>
</tr>
<tr>
<td colspan="2">
<input type="button" value="{$lang->cmd_cancel}" onclick="location.href='{getUrl('act','')}'" />
<input type="submit" value="{$lang->cmd_registration}" accesskey="s" />
</td>
</tr>
</table>
</table>
<!-- 버튼 -->
<ul class="buttonRight">
<li><span class="buttonTypeA"><img src="../../admin/tpl/images/blank.gif" alt="" class="leftCap" /><img src="../../admin/tpl/images/iconCreate.gif" width="8" height="4" class="icon" alt="" /><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /><img src="../../admin/tpl/images/blank.gif" alt="" class="rightCap" /></span></li>
</ul>
</form>