if (!VerifyRights()) { $tpl = new templates(); echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');"; die; exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["config"])) { config(); exit; } if (isset($_GET["config-local"])) { config_local(); exit; } if (isset($_GET["EditLocalDomain"])) { config_local_edit(); exit; } if (isset($_GET["remote"])) { save_routage(); exit; } if (isset($_GET["duplicate"])) { duplicate(); exit; } if (isset($_GET["duplicate-server"])) {
include_once('ressources/class.auto-aliases.inc'); include_once('ressources/class.system.network.inc'); if(!VerifyRights()){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["config"])){config();exit;} if(isset($_GET["config-local"])){config_local();exit;} if(isset($_GET["EditLocalDomain"])){config_local_edit();exit;} if(isset($_GET["trusted_smtp_domain"])){trusted_smtp_domain_save();exit;} if(isset($_GET["remote"])){save_routage();exit;} if(isset($_GET["duplicate"])){duplicate();exit;} if(isset($_GET["duplicate-server"])){duplicate_save();exit;} if(isset($_GET["duplicate-delete"])){duplicate_delete();exit;} if(isset($_GET["aliases"])){aliases();exit;} if(isset($_GET["aliases-database"])){aliases_database();exit;} if(isset($_GET["aliases-import"])){aliases_import_form();exit;}