ini_set('error_append_string', null); } include_once 'ressources/class.templates.inc'; include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.squid.inc'; include_once 'ressources/class.ActiveDirectory.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["button-ad"])) { button_ad(); exit; } if (isset($_POST["acl-rule-link"])) { quota_destination_link(); exit; } if (isset($_POST["acl-rule-link-delete"])) { quota_destination_unlink(); exit; } if (isset($_GET["list-items"])) { list_items(); exit; } if (isset($_GET["new-quota-rule"])) {
include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.squid.inc'); include_once('ressources/class.ActiveDirectory.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["button-ad"])){button_ad();exit;} if(isset($_POST["acl-rule-link"])){quota_destination_link();exit;} if(isset($_POST["acl-rule-link-delete"])){quota_destination_unlink();exit;} if(isset($_GET["list-items"])){list_items();exit;} if(isset($_GET["new-quota-rule"])){new_quota_rule_js();exit;} if(isset($_GET["get-quota-rule"])){quota_rule_js();exit;} if(isset($_GET["service-cmds"])){service_cmds_js();exit;} if(isset($_GET["service-cmds-popup"])){service_cmds_popup();exit;} if(isset($_GET["service-cmds-perform"])){service_cmds_perform();exit;} if(isset($_POST["EnableDisable"])){EnableDisable();exit;} if(isset($_GET["ID-TAB"])){quota_tab();exit;} if(isset($_GET["quota-params-members"])){quota_rule();exit;} if(isset($_GET["quota-destination-list"])){quota_destination_list();exit;}