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"])) {
include_once('ressources/class.ini.inc'); include_once('ressources/class.amavis.inc'); include_once('ressources/class.postfix-multi.inc'); $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();