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}'); $html="
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(); function js() { $page = CurrentPageName(); $users = new usersMenus();
$tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["gen-certif-js"])){gen_certif_js();exit;} if(isset($_GET["gen-certif-popup"])){gen_certif_popup();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["certificate"])){certificate();exit;} if(isset($_GET["parameters"])){parameters_main();exit;} if(isset($_GET["popup-settings"])){parameters_main();exit;} if(isset($_POST["EnableSSLBump"])){parameters_enable_save();exit;} if(isset($_POST["EnableSquidSSLCRTD"])){parameters_certificate_save();exit;} if(isset($_GET["whitelist"])){whitelist_popup();exit;} if(isset($_GET["whitelist-list"])){whitelist_list();exit;} if(isset($_GET["website_ssl_wl"])){whitelist_add();exit;} if(isset($_GET["website_ssl_eble"])){whitelist_enabled();exit;} if(isset($_GET["website_ssl_del"])){whitelist_del();exit;} if(isset($_POST["AllowSquidSSLDropBox"])){AllowSquidSSLDropBox();exit;} if(isset($_POST["AllowSquidSSLSkype"])){AllowSquidSSLSkype();exit;} if(isset($_GET["add-params"])){parameters_main();exit;} if(isset($_GET["help"])){help();exit;} js(); function gen_certif_js(){ header("content-type: application/x-javascript"); $tpl=new templates();