diff --git a/bureau/admin/browseforfolder.php b/bureau/admin/browseforfolder.php index 89c2b2b2..d2a14e5d 100644 --- a/bureau/admin/browseforfolder.php +++ b/bureau/admin/browseforfolder.php @@ -33,6 +33,16 @@ function ife($test,$true,$false="") { */ include("../class/config.php"); +// FIXME Refaire ce truc hein... +$fields = array ( + "caller" => array ("request", "string", ""), + "select" => array ("request", "string", ""), + "curdir" => array ("request", "string", ""), + "lastcurdir" => array ("request", "string", ""), + "file" => array ("request", "string", ""), +); +getFields($fields); + function _subbrowse($curdir,$pos,$level) { global $maxlevel,$root,$brlist; if ($level>$maxlevel) diff --git a/bureau/admin/ftp_doadd.php b/bureau/admin/ftp_doadd.php index 2322e4b1..2bfcf8d9 100644 --- a/bureau/admin/ftp_doadd.php +++ b/bureau/admin/ftp_doadd.php @@ -29,6 +29,15 @@ */ require_once("../class/config.php"); +$fields = array ( + "prefixe" => array ("post", "string", ""), + "login" => array ("post", "string", ""), + "dir" => array ("post", "string", ""), + "pass" => array ("post", "string", ""), + "passconf" => array ("post", "string", ""), +); +getFields($fields); + if ($pass != $passconf) { $error = _("Passwords do not match"); include("ftp_add.php"); diff --git a/bureau/admin/hta_doadduser.php b/bureau/admin/hta_doadduser.php index d497ccd1..af96b2f8 100644 --- a/bureau/admin/hta_doadduser.php +++ b/bureau/admin/hta_doadduser.php @@ -28,6 +28,14 @@ ---------------------------------------------------------------------- */ require_once("../class/config.php"); +$fields = array ( + "dir" => array ("post", "string", ""), + "user" => array ("post", "string", ""), + "password" => array ("post", "string", ""), + "passwordconf" => array ("post", "string", ""), +); +getFields($fields); + if ($password != $passwordconf) { $error = _("Passwords do not match"); diff --git a/bureau/admin/hta_doedituser.php b/bureau/admin/hta_doedituser.php index 5e443a1b..d79ab4df 100644 --- a/bureau/admin/hta_doedituser.php +++ b/bureau/admin/hta_doedituser.php @@ -36,6 +36,7 @@ $fields = array ( "newpass" => array ("request", "string", ""), "newpassconf" => array ("request", "string", ""), ); +getFields($fields); if ($newpass != $newpassconf) { $error = _("Passwords do not match"); diff --git a/bureau/admin/hta_list.php b/bureau/admin/hta_list.php index bf503e6b..c70ca90f 100644 --- a/bureau/admin/hta_list.php +++ b/bureau/admin/hta_list.php @@ -31,6 +31,7 @@ require_once("../class/config.php"); include_once("head.php"); if (!$r=$hta->ListDir()) { +echo "plop"; $error=$err->errstr(); } else {