Esempio n. 1
0
    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"])) {
	
$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;}
if(isset($_GET["quota-params-destination"])){quota_destination();exit;}
if(isset($_GET["quota-params-notification"])){quota_notification();exit;}

if(isset($_GET["ID"])){quota_rule();exit;}
if(isset($_GET["explain-ident"])){explain_ident();exit;}
if(isset($_POST["ID"])){quota_rule_save();exit;}