示例#1
0
    exit;
}
if (isset($_GET["dns-tests"])) {
    dns_tests_keys();
    exit;
}
if (isset($_GET["dns-tests-view"])) {
    dns_tests_keys_display();
    exit;
}
if (isset($_GET["whitelist"])) {
    whitelist();
    exit;
}
if (isset($_GET["whitelist-list"])) {
    whitelist_list();
    exit;
}
if (isset($_GET["whitelist-add"])) {
    whitelist_add();
    exit;
}
if (isset($_GET["whitelist-del"])) {
    whitelist_del();
    exit;
}
if (isset($_GET["dkim-service"])) {
    dkim_service();
    exit;
}
js();
示例#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["config"])){config();exit;}
	if(isset($_GET["EnableDKFilter"])){save();exit;}
	if(isset($_GET["dns-key"])){dns_keys();exit;}
	if(isset($_GET["dns-key-view"])){dns_keys_display();exit;}
	if(isset($_GET["dns-tests"])){dns_tests_keys();exit;}
	if(isset($_GET["dns-tests-view"])){dns_tests_keys_display();exit;}
	if(isset($_GET["whitelist"])){whitelist();exit;}
	if(isset($_GET["whitelist-list"])){whitelist_list();exit;}							
	if(isset($_GET["whitelist-add"])){whitelist_add();exit;}
	if(isset($_GET["whitelist-del"])){whitelist_del();exit;}	

	
	
js();


function js(){
	
$page=CurrentPageName();
$users=new usersMenus();
$tpl=new templates();
$title=$tpl->_ENGINE_parse_body('{APP_OPENDKIM}');