exit; } if (isset($_GET["cram-md5"])) { sasl_popup_auth_save(); exit; } if (isset($_POST["reconfigure-postfix"])) { reconfigure_postfix(); exit; } if (isset($_GET["postfix-status"])) { POSTFIX_STATUS(); exit; } if (isset($_GET["use-my-isp"])) { isp_js(); exit; } if (isset($_GET["ajaxmenu"])) { main_switch(); exit; } if (isset($_GET["mastercf"])) { main_mastercf(); exit; } if (isset($_GET["master_datas"])) { SaveMastercf(); exit; } if (isset($_GET["main"])) {
include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.main_cf.inc'); $user=new usersMenus(); if($user->AsPostfixAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_POST["reconfigure-postfix"])){reconfigure_postfix();exit;} if(isset($_GET["postfix-status"])){POSTFIX_STATUS();exit;} if(isset($_GET["use-my-isp"])){isp_js();exit;} if(isset($_GET["ajaxmenu"])){main_switch();exit;} if(isset($_GET["mastercf"])){main_mastercf();exit;} if(isset($_GET["master_datas"])){SaveMastercf();exit;} if(isset($_GET["main"])){main_switch();exit;} if(isset($_GET["DeleteCache"])){emptycache();exit;} if($_GET["script"]=="antispam"){echo antispam_script();exit;} if($_GET["script"]=="milterbehavior"){echo milter_behavior_script();exit;} if($_GET["script"]=="auth"){echo sasl_script();exit;} if($_GET["script"]=="backup"){echo backup_script();exit;} if($_GET["script"]=="deny_domain"){echo deny_domain_script();exit;} if($_GET["script"]=="multidomains"){echo multidomains_script();exit;} if($_GET["script"]=="orangefr"){echo orangefr_script();exit;} if(isset($_GET["isp_address"])){SaveISPAddress();exit;}