mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
multi spam word delete
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12537 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
16ee384ac8
commit
2f54254e4a
4 changed files with 18 additions and 16 deletions
|
|
@ -70,14 +70,7 @@ class spamfilterAdminController extends spamfilter
|
|||
function procSpamfilterAdminDeleteDeniedIP()
|
||||
{
|
||||
$ipAddressList = Context::get('ipaddress');
|
||||
|
||||
if(is_array($ipAddressList))
|
||||
{
|
||||
foreach($ipAddressList AS $key=>$ipaddress)
|
||||
{
|
||||
$this->deleteIP($ipaddress);
|
||||
}
|
||||
}
|
||||
$this->deleteIP($ipAddressList);
|
||||
|
||||
$this->setMessage(Context::getLang('success_deleted'));
|
||||
|
||||
|
|
@ -90,12 +83,13 @@ class spamfilterAdminController extends spamfilter
|
|||
*/
|
||||
function procSpamfilterAdminDeleteDeniedWord()
|
||||
{
|
||||
$word = Context::get('word');
|
||||
//$word = base64_decode(Context::get('word'));
|
||||
$output = $this->deleteWord($word);
|
||||
$wordList = Context::get('word');
|
||||
$this->deleteWord($wordList);
|
||||
|
||||
$this->setMessage(Context::getLang('success_deleted'));
|
||||
|
||||
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispSpamfilterAdminDeniedWordList','active','word');
|
||||
return $this->setRedirectUrl($returnUrl, $output);
|
||||
return $this->setRedirectUrl($returnUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue