diff --git a/bureau/admin/adm_add.php b/bureau/admin/adm_add.php index 7c874e22..55fed624 100755 --- a/bureau/admin/adm_add.php +++ b/bureau/admin/adm_add.php @@ -38,15 +38,15 @@ if (!$admin->enabled) { } $fields = array ( - "canpass" => array ("request", "integer", 1), - "login" => array ("request", "string", null), - "pass" => array ("request", "string", null), - "passconf" => array ("request", "string", null), - "notes" => array ("request", "string", null), - "nom" => array ("request", "string", null), - "prenom" => array ("request", "string", null), - "nmail" => array ("request", "string", null), - "create_dom" => array ("request", "integer", 0), + "canpass" => array ("post", "integer", 1), + "login" => array ("post", "string", null), + "pass" => array ("post", "string", null), + "passconf" => array ("post", "string", null), + "notes" => array ("post", "string", null), + "nom" => array ("post", "string", null), + "prenom" => array ("post", "string", null), + "nmail" => array ("post", "string", null), + "create_dom" => array ("post", "integer", 0), ); getFields($fields); diff --git a/bureau/admin/adm_dodel.php b/bureau/admin/adm_dodel.php index 893bba8a..55b9f821 100755 --- a/bureau/admin/adm_dodel.php +++ b/bureau/admin/adm_dodel.php @@ -35,8 +35,8 @@ if (!$admin->enabled) { } $fields = array ( - "accountList" => array ("request", "array", array()), - "del_confirm" => array("request", "string", ""), + "accountList" => array ("post", "array", array()), + "del_confirm" => array("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/adm_doedit.php b/bureau/admin/adm_doedit.php index 7f621568..76a85805 100644 --- a/bureau/admin/adm_doedit.php +++ b/bureau/admin/adm_doedit.php @@ -39,18 +39,18 @@ if (!$admin->enabled) { $subadmin=variable_get("subadmin_restriction"); $fields = array ( - "uid" => array ("request", "integer", 0), - "enabled" => array ("request", "boolean", true), - "pass" => array ("request", "string", ""), - "passconf" => array ("request", "string", ""), - "canpass" => array ("request", "boolean", true), - "notes" => array ("request", "string", ""), - "nom" => array ("request", "string", ""), - "prenom" => array ("request", "string", ""), - "nmail" => array ("request", "string", ""), - "type" => array ("request", "string", ""), - "duration" => array ("request", "integer", 0), - "reset_quotas" => array ("request", "string", false), + "uid" => array ("post", "integer", 0), + "enabled" => array ("post", "boolean", true), + "pass" => array ("post", "string", ""), + "passconf" => array ("post", "string", ""), + "canpass" => array ("post", "boolean", true), + "notes" => array ("post", "string", ""), + "nom" => array ("post", "string", ""), + "prenom" => array ("post", "string", ""), + "nmail" => array ("post", "string", ""), + "type" => array ("post", "string", ""), + "duration" => array ("post", "integer", 0), + "reset_quotas" => array ("post", "string", false), ); getFields($fields); diff --git a/bureau/admin/adm_domlock.php b/bureau/admin/adm_domlock.php index 02f8dd65..f418feae 100644 --- a/bureau/admin/adm_domlock.php +++ b/bureau/admin/adm_domlock.php @@ -35,7 +35,7 @@ if (!$admin->enabled) { } $fields = array ( - "domain" => array ("request", "string", ""), + "domain" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/adm_domstypeedit.php b/bureau/admin/adm_domstypeedit.php index d55f0022..dc39f0c4 100755 --- a/bureau/admin/adm_domstypeedit.php +++ b/bureau/admin/adm_domstypeedit.php @@ -37,16 +37,16 @@ include_once("head.php"); $fields = array ( "name" => array ("request", "string", ""), - "description" => array ("request", "string", ""), - "target" => array ("request", "string", ""), - "entry" => array ("request", "string", ""), - "compatibility" => array ("request", "string", ""), - "enable" => array ("request", "string", ""), - "only_dns" => array ("request", "boolean", ""), - "need_dns" => array ("request", "boolean", ""), - "advanced" => array ("request", "boolean", ""), - "create_tmpdir" => array ("request", "boolean", ""), - "create_targetdir" => array ("request", "boolean", ""), + "description" => array ("post", "string", ""), + "target" => array ("post", "string", ""), + "entry" => array ("post", "string", ""), + "compatibility" => array ("post", "string", ""), + "enable" => array ("post", "string", ""), + "only_dns" => array ("post", "boolean", ""), + "need_dns" => array ("post", "boolean", ""), + "advanced" => array ("post", "boolean", ""), + "create_tmpdir" => array ("post", "boolean", ""), + "create_targetdir" => array ("post", "boolean", ""), ); getFields($fields); diff --git a/bureau/admin/adm_donosu.php b/bureau/admin/adm_donosu.php index 5c7b8791..25d12851 100644 --- a/bureau/admin/adm_donosu.php +++ b/bureau/admin/adm_donosu.php @@ -35,7 +35,7 @@ if (!$admin->enabled) { } $fields = array ( - "uid" => array ("request", "integer", 0), + "uid" => array ("post", "integer", 0), ); getFields($fields); diff --git a/bureau/admin/adm_dosu.php b/bureau/admin/adm_dosu.php index 2357c685..59944131 100644 --- a/bureau/admin/adm_dosu.php +++ b/bureau/admin/adm_dosu.php @@ -35,7 +35,7 @@ if (!$admin->enabled) { } $fields = array ( - "uid" => array ("request", "integer", 0), + "uid" => array ("post", "integer", 0), ); getFields($fields); diff --git a/bureau/admin/adm_list.php b/bureau/admin/adm_list.php index 3ed696af..3854aa35 100755 --- a/bureau/admin/adm_list.php +++ b/bureau/admin/adm_list.php @@ -38,8 +38,8 @@ $fields = array( "show" => array("request", "string", ""), "creator" => array("request", "integer", 0), "short" => array("request", "integer", -1), - "pattern" => array("post", "string", "*"), - "pattern_type" => array("post", "string", "login"), + "pattern" => array("request", "string", "*"), + "pattern_type" => array("request", "string", "login"), ); getFields($fields); diff --git a/bureau/admin/adm_login.php b/bureau/admin/adm_login.php index 4d5b33ac..512425ee 100644 --- a/bureau/admin/adm_login.php +++ b/bureau/admin/adm_login.php @@ -36,7 +36,7 @@ require_once("../class/config.php"); */ $fields = array ( - "id" => array ("request", "integer", ""), + "id" => array ("post", "integer", ""), ); getFields($fields); diff --git a/bureau/admin/adm_mxaccount.php b/bureau/admin/adm_mxaccount.php index ba3209ba..ff9119aa 100755 --- a/bureau/admin/adm_mxaccount.php +++ b/bureau/admin/adm_mxaccount.php @@ -36,8 +36,8 @@ if (!$admin->enabled) { $fields = array ( "delaccount" => array ("request", "string", ""), - "newlogin" => array ("request", "string", ""), - "newpass" => array ("request", "string", ""), + "newlogin" => array ("post", "string", ""), + "newpass" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/adm_passpolicy.php b/bureau/admin/adm_passpolicy.php index 18e364ef..91af1b07 100755 --- a/bureau/admin/adm_passpolicy.php +++ b/bureau/admin/adm_passpolicy.php @@ -33,11 +33,11 @@ if (!$admin->enabled) { $fields = array ( "edit" => array ("request", "string", ""), - "doedit" => array ("request", "string", ""), - "minsize" => array ("request", "integer", "0"), - "maxsize" => array ("request", "integer", "64"), - "classcount" => array ("request", "integer", "0"), - "allowlogin" => array ("request", "integer", "0"), + "doedit" => array ("post", "string", ""), + "minsize" => array ("post", "integer", "0"), + "maxsize" => array ("post", "integer", "64"), + "classcount" => array ("post", "integer", "0"), + "allowlogin" => array ("post", "integer", "0"), ); getFields($fields); diff --git a/bureau/admin/adm_quotaedit.php b/bureau/admin/adm_quotaedit.php index 51cc345d..32d7c95c 100755 --- a/bureau/admin/adm_quotaedit.php +++ b/bureau/admin/adm_quotaedit.php @@ -37,7 +37,7 @@ if (!$admin->enabled) { } $fields = array ( - "uid" => array ("request", "integer", 0), + "uid" => array ("post", "integer", 0), ); getFields($fields); diff --git a/bureau/admin/adm_slavedns.php b/bureau/admin/adm_slavedns.php index 253ba2b3..42ed39ec 100755 --- a/bureau/admin/adm_slavedns.php +++ b/bureau/admin/adm_slavedns.php @@ -36,12 +36,12 @@ if (!$admin->enabled) { $fields = array ( "delaccount" => array ("request", "string", ""), - "newlogin" => array ("request", "string", ""), - "newpass" => array ("request", "string", ""), + "newlogin" => array ("post", "string", ""), + "newpass" => array ("post", "string", ""), "delip" => array ("request", "string", ""), - "newip" => array ("request", "string", ""), - "newclass" => array ("request", "string", "32"), + "newip" => array ("post", "string", ""), + "newclass" => array ("post", "string", "32"), ); getFields($fields); diff --git a/bureau/admin/adm_tlddoadd.php b/bureau/admin/adm_tlddoadd.php index 8fcedbb9..b1c1f7f5 100644 --- a/bureau/admin/adm_tlddoadd.php +++ b/bureau/admin/adm_tlddoadd.php @@ -35,8 +35,8 @@ if (!$admin->enabled) { } $fields = array ( - "tld" => array ("request", "string", ""), - "mode" => array ("request", "integer", ""), + "tld" => array ("post", "string", ""), + "mode" => array ("post", "integer", ""), ); getFields($fields); diff --git a/bureau/admin/alternc_debugme.php b/bureau/admin/alternc_debugme.php index 55c0bd20..53eba554 100644 --- a/bureau/admin/alternc_debugme.php +++ b/bureau/admin/alternc_debugme.php @@ -3,7 +3,7 @@ require_once("../class/config.php"); $fields = array ( - "enable" => array("request","string","0") + "enable" => array("post","string","0") ); getFields($fields); diff --git a/bureau/admin/bro_editor.php b/bureau/admin/bro_editor.php index ce0feb77..953c0c54 100755 --- a/bureau/admin/bro_editor.php +++ b/bureau/admin/bro_editor.php @@ -30,12 +30,12 @@ require_once("../class/config.php"); $fields = array ( - "editfile" => array ("request", "string", ""), + "editfile" => array ("post", "string", ""), "texte" => array ("post", "string", ""), "save" => array ("post", "string", ""), "saveret" => array ("post", "string", ""), "cancel" => array ("post", "string", ""), - "R" => array ("request", "string", ""), + "R" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index 32a5435c..f619e655 100755 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -36,20 +36,20 @@ $fields = array ( "o" => array ("request", "array", ""), "d" => array ("request", "array", ""), "perm" => array ("post", "array", array()), - "formu" => array ("request", "integer", ""), + "formu" => array ("post", "integer", ""), "actextract" => array ("request", "string", ""), "fileextract" => array ("request", "string", ""), - "actperms" => array ("request", "string", ""), - "actdel" => array ("request", "string", ""), - "actcopy" => array ("request", "string", ""), - "actrename" => array ("request", "string", ""), - "actmove" => array ("request", "string", ""), - "actmoveto" => array ("request", "string", ""), - "nomfich" => array ("request", "string", ""), + "actperms" => array ("post", "string", ""), + "actdel" => array ("post", "string", ""), + "actcopy" => array ("post", "string", ""), + "actrename" => array ("post", "string", ""), + "actmove" => array ("post", "string", ""), + "actmoveto" => array ("post", "string", ""), + "nomfich" => array ("post", "string", ""), "del_confirm" => array ("request", "string", ""), "cancel" => array ("request", "string", ""), "showdirsize" => array ("request", "integer", "0"), - "nomfich" => array ("request", "string", ""), + "nomfich" => array ("post", "string", ""), ); ## does not intend to edit oversize files. diff --git a/bureau/admin/dom_add.php b/bureau/admin/dom_add.php index b2be95bd..162a932b 100755 --- a/bureau/admin/dom_add.php +++ b/bureau/admin/dom_add.php @@ -32,10 +32,10 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "newdomain" => array ("request", "string", ""), - "yndns" => array ("request", "integer", 0), - "newisslave" => array ("request", "integer", 0), - "slavedom" => array ("request", "string", ""), + "newdomain" => array ("post", "string", ""), + "yndns" => array ("post", "integer", 0), + "newisslave" => array ("post", "integer", 0), + "slavedom" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/dom_defdel.php b/bureau/admin/dom_defdel.php index 5a74a328..e6ecfff2 100644 --- a/bureau/admin/dom_defdel.php +++ b/bureau/admin/dom_defdel.php @@ -3,7 +3,7 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "id" => array ("request", "integer", ""), + "id" => array ("post", "integer", ""), ); getFields($fields); diff --git a/bureau/admin/dom_dodel.php b/bureau/admin/dom_dodel.php index 42cd9446..a81f55b5 100755 --- a/bureau/admin/dom_dodel.php +++ b/bureau/admin/dom_dodel.php @@ -31,9 +31,9 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "domain" => array ("request", "string", ""), + "domain" => array ("post", "string", ""), "del_confirm" => array ("post", "string", ""), - "del_cancel" => array ("request", "string", ""), + "del_cancel" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/dom_editdns.php b/bureau/admin/dom_editdns.php index 1087cbec..c23dc016 100644 --- a/bureau/admin/dom_editdns.php +++ b/bureau/admin/dom_editdns.php @@ -31,10 +31,10 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "domain" => array ("request", "string", ""), - "dns" => array ("request", "integer", 1), - "email" => array ("request", "integer", 1), - "ttl" => array ("request", "integer", 86400), + "domain" => array ("post", "string", ""), + "dns" => array ("post", "integer", 1), + "email" => array ("post", "integer", 1), + "ttl" => array ("post", "integer", 86400), ); getFields($fields); diff --git a/bureau/admin/dom_subdel.php b/bureau/admin/dom_subdel.php index 21c30c72..3cad21c6 100755 --- a/bureau/admin/dom_subdel.php +++ b/bureau/admin/dom_subdel.php @@ -31,7 +31,7 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "sub_domain_id" => array ("request", "integer", ""), + "sub_domain_id" => array ("post", "integer", ""), ); getFields($fields); diff --git a/bureau/admin/dom_subdodel.php b/bureau/admin/dom_subdodel.php index c140a893..c0895f2f 100644 --- a/bureau/admin/dom_subdodel.php +++ b/bureau/admin/dom_subdodel.php @@ -31,7 +31,7 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "sub_domain_id" => array ("request", "integer", ""), + "sub_domain_id" => array ("post", "integer", ""), ); getFields($fields); diff --git a/bureau/admin/dom_subdoedit.php b/bureau/admin/dom_subdoedit.php index 287f3675..db8b7c26 100644 --- a/bureau/admin/dom_subdoedit.php +++ b/bureau/admin/dom_subdoedit.php @@ -30,17 +30,17 @@ require_once("../class/config.php"); $fields = array ( - "domain" => array ("request", "string", ""), - "sub" => array ("request", "string", ""), - "type" => array ("request", "string", $dom->type_local), - "sub_domain_id" => array ("request", "integer", ""), + "domain" => array ("post", "string", ""), + "sub" => array ("post", "string", ""), + "type" => array ("post", "string", $dom->type_local), + "sub_domain_id" => array ("post", "integer", ""), ); getFields($fields); // here we get a dynamic-named value $dynamicvar="t_$type"; $fields = array ( - "$dynamicvar" => array ("request", "string", ""), + "$dynamicvar" => array ("post", "string", ""), ); getFields($fields); $value=$$dynamicvar; diff --git a/bureau/admin/dom_subedit.php b/bureau/admin/dom_subedit.php index b6d33997..7b6a107a 100644 --- a/bureau/admin/dom_subedit.php +++ b/bureau/admin/dom_subedit.php @@ -32,7 +32,7 @@ include_once("head.php"); $fields = array ( - "sub_domain_id" => array ("request", "integer", ""), + "sub_domain_id" => array ("post", "integer", ""), ); getFields($fields); diff --git a/bureau/admin/dom_substatus.php b/bureau/admin/dom_substatus.php index 5f703772..4596be4e 100644 --- a/bureau/admin/dom_substatus.php +++ b/bureau/admin/dom_substatus.php @@ -2,8 +2,8 @@ require_once("../class/config.php"); $fields = array ( - "sub_id" => array ("request", "integer", ""), - "status" => array ("request", "string", ""), + "sub_id" => array ("post", "integer", ""), + "status" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/hta_add.php b/bureau/admin/hta_add.php index 27ceb961..1b18ba1e 100755 --- a/bureau/admin/hta_add.php +++ b/bureau/admin/hta_add.php @@ -31,7 +31,7 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "dir" => array ("request", "string", ""), + "dir" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/hta_adduser.php b/bureau/admin/hta_adduser.php index 8b2b3e25..e88bccd7 100755 --- a/bureau/admin/hta_adduser.php +++ b/bureau/admin/hta_adduser.php @@ -32,7 +32,7 @@ include_once("head.php"); $fields = array ( "dir" => array ("request", "string", ""), - "user" => array ("request", "string", ""), + "user" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/hta_doadd.php b/bureau/admin/hta_doadd.php index 141a4f88..3d6177fc 100644 --- a/bureau/admin/hta_doadd.php +++ b/bureau/admin/hta_doadd.php @@ -31,7 +31,7 @@ require_once("../class/config.php"); $fields = array ( - "dir" => array ("request", "string", ""), + "dir" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/hta_doedituser.php b/bureau/admin/hta_doedituser.php index 4475c3ef..84e08ff6 100644 --- a/bureau/admin/hta_doedituser.php +++ b/bureau/admin/hta_doedituser.php @@ -31,10 +31,10 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "user" => array ("request", "string", ""), - "dir" => array ("request", "string", ""), - "newpass" => array ("request", "string", ""), - "newpassconf" => array ("request", "string", ""), + "user" => array ("post", "string", ""), + "dir" => array ("post", "string", ""), + "newpass" => array ("post", "string", ""), + "newpassconf" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/ip_main.php b/bureau/admin/ip_main.php index bc6656e7..f2fe82db 100755 --- a/bureau/admin/ip_main.php +++ b/bureau/admin/ip_main.php @@ -4,9 +4,9 @@ include_once("head.php"); $fields = array ( - "delete_id" => array ("get", "integer", ""), - "delete_affected_id" => array ("get", "integer", ""), - "id" => array ("post", "integer", 0), + "delete_id" => array ("request", "integer", ""), + "delete_affected_id" => array ("request", "integer", ""), + "id" => array ("request", "integer", 0), "ipsub" => array ("post", "string", ""), "infos" => array ("post", "string" ,""), "s_ipsub" => array ("post", "integer", ""), diff --git a/bureau/admin/mail_del.php b/bureau/admin/mail_del.php index c0365e56..75780e73 100755 --- a/bureau/admin/mail_del.php +++ b/bureau/admin/mail_del.php @@ -26,9 +26,9 @@ require_once("../class/config.php"); $fields = array ( - "d" => array ("request", "array", ""), - "domain_id" => array ("request", "integer", ""), - "confirm" => array("request", "string", "n"), + "d" => array ("post", "array", ""), + "domain_id" => array ("post", "integer", ""), + "confirm" => array("post", "string", "n"), ); getFields($fields); diff --git a/bureau/admin/mail_doadd.php b/bureau/admin/mail_doadd.php index 3c9e918a..dbafc1f2 100644 --- a/bureau/admin/mail_doadd.php +++ b/bureau/admin/mail_doadd.php @@ -24,8 +24,8 @@ */ require_once("../class/config.php"); $fields = array ( - "mail_arg" => array ("request", "string", ""), - "domain_id" => array ("request", "integer", ""), + "mail_arg" => array ("post", "string", ""), + "domain_id" => array ("post", "integer", ""), ); getFields($fields); diff --git a/bureau/admin/mail_doedit.php b/bureau/admin/mail_doedit.php index 926a1a68..6adad1f4 100644 --- a/bureau/admin/mail_doedit.php +++ b/bureau/admin/mail_doedit.php @@ -27,13 +27,13 @@ require_once("../class/config.php"); $fields = array ( - "mail_id" =>array ("request","integer",""), - "pass" => array ("request","string",""), - "passconf" => array("request","string",""), - "quotamb" => array("request","integer",0), - "enabled" => array("request","boolean",true), - "islocal" => array("request","boolean",true), - "recipients" => array("request","string",""), + "mail_id" =>array ("post","integer",""), + "pass" => array ("post","string",""), + "passconf" => array("post","string",""), + "quotamb" => array("post","integer",0), + "enabled" => array("post","boolean",true), + "islocal" => array("post","boolean",true), + "recipients" => array("post","string",""), ); getFields($fields); diff --git a/bureau/admin/mail_edit.php b/bureau/admin/mail_edit.php index 5517cfd1..2252a95b 100755 --- a/bureau/admin/mail_edit.php +++ b/bureau/admin/mail_edit.php @@ -26,13 +26,13 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "mail_id" =>array ("request","integer",""), - "pass" => array ("request","string",""), - "passconf" => array("request","string",""), - "quotamb" => array("request","integer",0), - "enabled" => array("request","boolean",true), - "islocal" => array("request","boolean",true), - "recipients" => array("request","string",""), + "mail_id" =>array ("post","integer",""), + "pass" => array ("post","string",""), + "passconf" => array("post","string",""), + "quotamb" => array("post","integer",0), + "enabled" => array("post","boolean",true), + "islocal" => array("post","boolean",true), + "recipients" => array("post","string",""), ); getFields($fields); diff --git a/bureau/admin/mail_manage_catchall.php b/bureau/admin/mail_manage_catchall.php index 4fc4667e..97152c4a 100644 --- a/bureau/admin/mail_manage_catchall.php +++ b/bureau/admin/mail_manage_catchall.php @@ -26,7 +26,7 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "domain_id" => array("get","integer",null), + "domain_id" => array("request","integer",null), "target_type" => array("post", "string", null), "target_mail" => array("post", "string", null), "target_domain" => array("post", "string", null), diff --git a/bureau/admin/mail_undelete.php b/bureau/admin/mail_undelete.php index 18403e90..5c143a59 100644 --- a/bureau/admin/mail_undelete.php +++ b/bureau/admin/mail_undelete.php @@ -25,7 +25,7 @@ require_once("../class/config.php"); $fields = array ( - "mail_id" => array ("request", "integer", ""), + "mail_id" => array ("post", "integer", ""), ); getFields($fields); diff --git a/bureau/admin/mem_admin.php b/bureau/admin/mem_admin.php index 085b5277..8d3e3a04 100644 --- a/bureau/admin/mem_admin.php +++ b/bureau/admin/mem_admin.php @@ -30,7 +30,7 @@ require_once("../class/config.php"); $fields = array ( - "admlist" => array ("request", "string", ""), + "admlist" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/mem_chgmail.php b/bureau/admin/mem_chgmail.php index a24c81fe..03d28f9c 100644 --- a/bureau/admin/mem_chgmail.php +++ b/bureau/admin/mem_chgmail.php @@ -30,7 +30,7 @@ require_once("../class/config.php"); $fields = array ( - "newmail" => array ("request", "string", ""), + "newmail" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/mem_cm.php b/bureau/admin/mem_cm.php index 380cb33f..b1756dd8 100644 --- a/bureau/admin/mem_cm.php +++ b/bureau/admin/mem_cm.php @@ -32,9 +32,9 @@ require_once("../class/config_nochk.php"); include_once("head.php"); $fields = array ( - "usr" => array ("request", "integer", 0), - "cookie" => array ("request", "string", ""), - "cle" => array("request","string",""), + "usr" => array ("post", "integer", 0), + "cookie" => array ("post", "string", ""), + "cle" => array("post","string",""), ); getFields($fields); diff --git a/bureau/admin/mem_cm2.php b/bureau/admin/mem_cm2.php index b786ca7c..22510e0e 100644 --- a/bureau/admin/mem_cm2.php +++ b/bureau/admin/mem_cm2.php @@ -31,9 +31,9 @@ require_once("../class/config_nochk.php"); $fields = array ( - "usr" => array ("request", "integer", 0), - "cookie" => array ("request", "string", ""), - "cle" => array("request","string",""), + "usr" => array ("post", "integer", 0), + "cookie" => array ("post", "string", ""), + "cle" => array("post","string",""), ); getFields($fields); diff --git a/bureau/admin/mem_param.php b/bureau/admin/mem_param.php index c6c20b5a..6f6be23a 100755 --- a/bureau/admin/mem_param.php +++ b/bureau/admin/mem_param.php @@ -32,8 +32,8 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "help_setting" => array ("request", "string", ""), - "showhelp" => array ("request", "integer", ""), + "help_setting" => array ("post", "string", ""), + "showhelp" => array ("post", "integer", ""), ); getFields($fields); diff --git a/bureau/admin/piwik_site_dodel.php b/bureau/admin/piwik_site_dodel.php index 11b01385..a229f408 100755 --- a/bureau/admin/piwik_site_dodel.php +++ b/bureau/admin/piwik_site_dodel.php @@ -31,7 +31,7 @@ require_once("../class/config.php"); $fields = array ( "confirm_del" => array ("post", "string", ""), - "siteid" => array ("request", "integer", -1), + "siteid" => array ("post", "integer", -1), ); getFields($fields); diff --git a/bureau/admin/piwik_sitelist.php b/bureau/admin/piwik_sitelist.php index 8ebb7c24..28f18a50 100755 --- a/bureau/admin/piwik_sitelist.php +++ b/bureau/admin/piwik_sitelist.php @@ -33,7 +33,7 @@ include_once("piwik_utils.php"); $fields = array ( "site_id" => array ("request", "integer", -1), // alternc ID of the piwik site - "right" => array ("post", "array", FALSE), // array of rights associated foreach user of $site_id + "right" => array ("request", "array", FALSE), // array of rights associated foreach user of $site_id ); getFields($fields); diff --git a/bureau/admin/piwik_user_dodel.php b/bureau/admin/piwik_user_dodel.php index 3fc42114..fe06d65a 100755 --- a/bureau/admin/piwik_user_dodel.php +++ b/bureau/admin/piwik_user_dodel.php @@ -31,7 +31,7 @@ require_once("../class/config.php"); $fields = array ( "confirm_del" => array ("post", "string", ""), - "login" => array ("request", "string", ""), + "login" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/piwik_useradmin.php b/bureau/admin/piwik_useradmin.php index a80385b5..b3feb4ef 100755 --- a/bureau/admin/piwik_useradmin.php +++ b/bureau/admin/piwik_useradmin.php @@ -31,7 +31,7 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "user_name" => array ("request", "string", FALSE), + "user_name" => array ("post", "string", FALSE), "site_id" => array ("post", "integer", -1), "right" => array ("post", "string", FALSE), ); diff --git a/bureau/admin/quotas_users.php b/bureau/admin/quotas_users.php index b96980b0..f46b36d0 100644 --- a/bureau/admin/quotas_users.php +++ b/bureau/admin/quotas_users.php @@ -3,10 +3,10 @@ require_once("../class/config.php"); $fields = array ( - "mode" => array ("get", "integer" ,0), - "sd" => array ("get", "integer" ,0), - "usr" => array ("get", "integer" ,0), - "order" => array ("get", "integer" ,0), + "mode" => array ("request", "integer" ,0), + "sd" => array ("request", "integer" ,0), + "usr" => array ("request", "integer" ,0), + "order" => array ("request", "integer" ,0), ); getFields($fields); diff --git a/bureau/admin/sql_bck.php b/bureau/admin/sql_bck.php index 07415296..e6111532 100755 --- a/bureau/admin/sql_bck.php +++ b/bureau/admin/sql_bck.php @@ -44,10 +44,10 @@ if ( ! variable_get('sql_allow_users_backups') ) { $fields = array ( "id" => array ("request", "string", ""), - "bck_mode" => array ("request", "integer", 0), - "bck_history" => array ("request", "integer", 7), - "bck_gzip" => array ("request", "integer", 0), - "bck_dir" => array ("request", "string", "/"), + "bck_mode" => array ("post", "integer", 0), + "bck_history" => array ("post", "integer", 7), + "bck_gzip" => array ("post", "integer", 0), + "bck_dir" => array ("post", "string", "/"), ); getFields($fields); diff --git a/bureau/admin/sql_dobck.php b/bureau/admin/sql_dobck.php index 410f66d3..3472aba6 100644 --- a/bureau/admin/sql_dobck.php +++ b/bureau/admin/sql_dobck.php @@ -38,11 +38,11 @@ if ( ! variable_get('sql_allow_users_backups') ) { $fields = array ( - "id" => array ("request", "string", ""), - "bck_mode" => array ("request", "integer", 0), - "bck_history" => array ("request", "integer", 7), - "bck_gzip" => array ("request", "integer", 0), - "bck_dir" => array ("request", "string", "/"), + "id" => array ("post", "string", ""), + "bck_mode" => array ("post", "integer", 0), + "bck_history" => array ("post", "integer", 7), + "bck_gzip" => array ("post", "integer", 0), + "bck_dir" => array ("post", "string", "/"), ); getFields($fields); diff --git a/bureau/admin/sql_restore.php b/bureau/admin/sql_restore.php index 80b0b744..bf37fd32 100755 --- a/bureau/admin/sql_restore.php +++ b/bureau/admin/sql_restore.php @@ -31,8 +31,8 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "id" => array ("request", "string", ""), - "filename" => array ("request", "string", ""), + "id" => array ("post", "string", ""), + "filename" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/sql_users_add.php b/bureau/admin/sql_users_add.php index 209ab7bb..9a1726a6 100755 --- a/bureau/admin/sql_users_add.php +++ b/bureau/admin/sql_users_add.php @@ -31,9 +31,9 @@ require_once("../class/config.php"); include_once("head.php"); $fields = array ( - "usern" => array ("request", "string", ""), - "password" => array ("request", "string", ""), - "passconf" => array ("request", "string", ""), + "usern" => array ("post", "string", ""), + "password" => array ("post", "string", ""), + "passconf" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/sql_users_doadd.php b/bureau/admin/sql_users_doadd.php index 169980e7..bc787abd 100755 --- a/bureau/admin/sql_users_doadd.php +++ b/bureau/admin/sql_users_doadd.php @@ -30,9 +30,9 @@ require_once("../class/config.php"); $fields = array ( - "usern" => array ("request", "string", ""), - "password" => array ("request", "string", ""), - "passconf" => array ("request", "string", ""), + "usern" => array ("post", "string", ""), + "password" => array ("post", "string", ""), + "passconf" => array ("post", "string", ""), ); getFields($fields); diff --git a/bureau/admin/sql_users_dopassword.php b/bureau/admin/sql_users_dopassword.php index 86e2130f..9449325d 100644 --- a/bureau/admin/sql_users_dopassword.php +++ b/bureau/admin/sql_users_dopassword.php @@ -29,9 +29,9 @@ */ require_once("../class/config.php"); $fields = array ( - "id" => array ("request", "string", ""), - "password" => array ("request", "string", ""), - "passwordconf" => array ("request", "string", ""), + "id" => array ("post", "string", ""), + "password" => array ("post", "string", ""), + "passwordconf" => array ("post", "string", ""), ); getFields($fields);