include_once 'ressources/class.dansguardian.inc'; include_once 'ressources/class.tasks.inc'; include_once 'ressources/class.artica.graphs.inc'; $usersmenus = new usersMenus(); if (!$usersmenus->AsArticaMetaAdmin) { $tpl = new templates(); $alert = $tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('{$alert}');"; die; } if (isset($_GET["search"])) { search(); exit; } if (isset($_GET["AddNewSchedule-js"])) { AddNewSchedule_js(); exit; } if (isset($_GET["AddNewSchedule-popup"])) { AddNewSchedule_popup(); exit; } if (isset($_GET["explainthis"])) { AddNewSchedule_explain(); exit; } if (isset($_POST["TimeDescription"])) { AddNewSchedule_save(); exit; } if (isset($_POST["schedule-enable"])) {
include_once('ressources/class.mysql.inc'); include_once('ressources/class.groups.inc'); include_once('ressources/class.dansguardian.inc'); include_once('ressources/class.tasks.inc'); include_once('ressources/class.artica.graphs.inc'); $usersmenus=new usersMenus(); if(!$usersmenus->AsDansGuardianAdministrator){ $tpl=new templates(); $alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('$alert');"; die(); } if(isset($_GET["search"])){search();exit;} if(isset($_GET["AddNewSchedule-js"])){AddNewSchedule_js();exit;} if(isset($_GET["AddNewSchedule-popup"])){AddNewSchedule_popup();exit;} if(isset($_GET["explainthis"])){AddNewSchedule_explain();exit;} if(isset($_POST["TimeDescription"])){AddNewSchedule_save();exit;} if(isset($_POST["schedule-enable"])){AddNewSchedule_enable();exit;} if(isset($_POST["schedule-delete"])){AddNewSchedule_delete();exit;} if(isset($_POST["schedule-run"])){AddNewSchedule_run();exit;} if(isset($_GET["build-config"])){build_config_start();exit;} if(isset($_GET["build-config-start"])){build_config_perform();exit;} if(isset($_GET["schedules-params"])){schedules_params_js();exit;} if(isset($_GET["schedules-params-popup"])){schedules_params_popup();exit;} if(isset($_POST["max_load_avg5"])){schedules_params_save();exit;} if(isset($_POST["DisableSquidDefaultSchedule"])){DisableSquidDefaultSchedule();exit;} page();