added feature adding ipaddress to spamfilter to popup menu of document and comment


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4555 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2008-09-24 07:34:10 +00:00
parent c60d46bc1a
commit 18b38221ee
10 changed files with 18 additions and 4 deletions

View file

@ -63,6 +63,9 @@
$url = getUrl('','module','admin','act','dispCommentAdminList','search_target','ipaddress','search_keyword',$oComment->get('ipaddress'));
$icon_path = './modules/member/tpl/images/icon_management.gif';
$oCommentController->addCommentPopupMenu($url,'cmd_search_by_ipaddress',$icon_path,'TraceByIpaddress');
$url = sprintf("var params = new Array(); params['ipaddress']='%s'; exec_xml('spamfilter', 'procSpamfilterAdminInsertDeniedIP', params, completeCallModuleAction)", $oComment-> getIpAddress());
$oCommentController->addCommentPopupMenu($url,'cmd_add_ip_to_spamfilter','./modules/document/tpl/icons/declare.gif','javascript');
}
}