コード例 #1
0
if ($user->AsPostfixAdministrator == false) {
    $tpl = new templates();
    echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');";
    die;
    exit;
}
if (isset($_GET["whitelist"])) {
    SaveWhiteList();
    exit;
}
if (isset($_GET["del_whitelist"])) {
    del_whitelist();
    exit;
}
if (isset($_GET["whitelist-form-add"])) {
    form_whitelist();
    exit;
}
if (isset($_GET["blacklist-form-add"])) {
    form_blacklist();
    exit;
}
if (isset($_GET["MembersSearch"])) {
    MembersSearch();
    exit;
}
if (isset($_GET["js"])) {
    js_popup();
    exit;
}
if (isset($_GET["popup"])) {
コード例 #2
0
include_once('ressources/class.amavis.inc');

session_start();
$ldap=new clladp();
if(isset($_GET["loadhelp"])){loadhelp();exit;}

	$user=new usersMenus();
	if($user->AsPostfixAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}

if(isset($_GET["whitelist"])){SaveWhiteList();exit;}
if(isset($_GET["del_whitelist"])){del_whitelist();exit;}
if(isset($_GET["whitelist-form-add"])){form_whitelist();exit;}
if(isset($_GET["blacklist-form-add"])){form_blacklist();exit;}
if(isset($_GET["MembersSearch"])){MembersSearch();exit;}


if(isset($_GET["js"])){js_popup();exit;}
if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["SelectedDomain"])){popup_switch();exit;}
if(isset($_GET["wblopt"])){wblopt_js();exit;}
if(isset($_GET["wblopt-popup"])){wblopt_popup();exit;}
if(isset($_GET["WBLReplicEnable"])){wblopt_save();exit;}
if(isset($_GET["WBLReplicNow"])){wblopt_replic();exit;}
if(isset($_GET["EnableWhiteListAndBlackListPostfix"])){ArticaRobotsSave();exit;}
if(isset($_GET["popup-domain-white"])){popup_domains();exit;}
if(isset($_GET["popup-domain-black"])){popup_domains();exit;}
if(isset($_GET["popup-hosts"])){popup_hosts();exit;}