exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["params"])) { service_parameters(); exit; } if (isset($_POST["mailto"])) { service_parameters_save(); exit; } if (isset($_GET["dumptypes"])) { dumptypes(); exit; } if (isset($_GET["dumptype-key"])) { dumptype_popup(); exit; } if (isset($_POST["dumpname"])) { dumptype_save(); exit; } if (isset($_GET["amanda-dumptypes-list"])) { dumptypes_list(); exit; } if (isset($_GET["backup-server"])) {
include_once('ressources/class.users.menus.inc'); include_once('ressources/class.system.network.inc'); include_once('ressources/class.mysql.inc'); $user=new usersMenus(); if($user->AsSystemAdministrator==false){ $tpl=new templates(); echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');"; die();exit(); } if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["params"])){service_parameters();exit;} if(isset($_POST["mailto"])){service_parameters_save();exit;} if(isset($_GET["dumptypes"])){dumptypes();exit;} if(isset($_GET["dumptype-key"])){dumptype_popup();exit;} if(isset($_POST["dumpname"])){dumptype_save();exit;} if(isset($_GET["amanda-dumptypes-list"])){dumptypes_list();exit;} js(); function js(){ $page=CurrentPageName(); echo "$('#BodyContent').load('$page?tabs=yes');"; } function service_parameters(){