diff --git a/bureau/admin/ftp_doedit.php b/bureau/admin/ftp_doedit.php index ad9ae4b5..f5f10678 100644 --- a/bureau/admin/ftp_doedit.php +++ b/bureau/admin/ftp_doedit.php @@ -28,6 +28,16 @@ ---------------------------------------------------------------------- */ require_once("../class/config.php"); +$fields = array ( + "id" => array ("post", "integer", ""), + "pass" => array ("post", "string", ""), + "passconf" => array ("post", "string", ""), + "prefixe" => array ("post", "string", ""), + "login" => array ("post", "string", ""), + "dir" => array ("post", "string", ""), +); +getFields($fields); + if (!$id) { $error=_("No account selected!"); @@ -55,7 +65,7 @@ include_once("head.php"); ?>

$error

"; } ?> diff --git a/bureau/admin/ftp_edit.php b/bureau/admin/ftp_edit.php index 1100ebb8..55675c2e 100644 --- a/bureau/admin/ftp_edit.php +++ b/bureau/admin/ftp_edit.php @@ -51,6 +51,7 @@ if (isset($error) && $error) { include_once("foot.php"); exit(); } +printVar($r); ?>
@@ -58,7 +59,7 @@ if (isset($error) && $error) { -
 _ " size="20" maxlength="64" />
" size="20" maxlength="64" /> +
" size="20" maxlength="64" />