function main_dnsrbl() { $pure = new milter_greylist(); $page = CurrentPageName(); $link = "YahooWin(450,'{$page}?edit_dnsrbl=&subline=0','{add_dnsrbl}');"; $html = "\n\t<p class=caption><div style='float:right'>\n\t\n\t\n\t<input type='button' OnClick=\"javascript:{$link};\" value='{add_dnsrbl} »'></div>\n\t{dnsrbl_text}</p>\n\t<div id='acllist'>" . main_dnsrbl_list() . "</div>\n\n\t\n\t"; $tpl = new templates(); echo $tpl->_ENGINE_parse_body($html); }
function BackToDNSBLDefault() { $mil = new milter_greylist(false, $_GET["hostname"], base64_decode($_GET["ou"])); unset($mil->dnsrbl_array); $mil->SaveToLdap(); echo main_dnsrbl_list(); }
function BackToDNSBLDefault() { $mil = new milter_greylist(); unset($mil->dnsrbl_array); $mil->SaveToLdap(); echo main_dnsrbl_list(); }