exit; } if (isset($_GET["SalearnSchedule"])) { salearn_schedule_save(); exit; } if (isset($_GET["popup-spamass-scores-behavior"])) { scores_behavior(); exit; } if (isset($_GET["popup-spamass-rewrite-headers"])) { rewrite_headers_form(); exit; } if (isset($_GET["popup-spamass-add-headers"])) { add_headers_form(); exit; } if (isset($_GET["popup-spamass-check"])) { popup_spamass_check(); exit; } if (isset($_GET["popup-spamass-check-perform"])) { popup_spamass_check_perform(); exit; } js(); function js() { $page = CurrentPageName(); $tpl = new templates();
if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["main"])){main_switch();exit;} if(isset($_GET["SaveGeneralSettings"])){SaveConf();exit;} if(isset($_GET["rewrite_headers"])){rewrite_headers();exit;} if(isset($_GET["add_headers"])){add_headers();exit;} if(isset($_GET["status"])){echo main_status();exit;} if(isset($_GET["SpamassAddTrustedNetwork"])){Save_Trusted_Networks();exit;} if(isset($_GET["SpamassDelTrustedNetwork"])){Delete_Trusted_Networks();exit;} if(isset($_GET["salearn-schedule-js"])){salearn_schedule_js();exit;} if(isset($_GET["salearn-schedule-popup"])){salearn_schedule_popup();exit;} if(isset($_GET["SalearnSchedule"])){salearn_schedule_save();exit;} if(isset($_GET["popup-spamass-scores-behavior"])){scores_behavior();exit;} if(isset($_GET["popup-spamass-rewrite-headers"])){rewrite_headers_form();exit;} if(isset($_GET["popup-spamass-add-headers"])){add_headers_form();exit;} if(isset($_GET["popup-spamass-check"])){popup_spamass_check();exit;} if(isset($_GET["popup-spamass-check-perform"])){popup_spamass_check_perform();exit;} js(); function js(){ $page=CurrentPageName(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{APP_SPAMASSASSIN}"); $scores_behavior=$tpl->_ENGINE_parse_body("{scores_behavior}"); $title1=$tpl->_ENGINE_parse_body("{title1}"); $spamassassin_check_config=$tpl->_ENGINE_parse_body("{spamassassin_check_config}");