Esempio n. 1
0
    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"])) {
Esempio n. 2
0
	
	$user=new usersMenus();
		if($user->AsPostfixAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	
	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();