From d2e69b4975551e46358911d61be7e1dbc2c1576a Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Fri, 28 Mar 2014 11:37:36 +0000 Subject: [PATCH] Corrige des variables --- bureau/admin/adm_add.php | 5 +++++ bureau/admin/adm_var_edit.php | 11 ++++++++--- bureau/admin/dom_subedit.php | 6 ++++++ bureau/admin/head.php | 2 +- bureau/admin/index.php | 2 +- bureau/admin/main.php | 2 +- bureau/admin/menu.php | 2 +- bureau/class/config.php | 7 ++++--- bureau/class/m_admin.php | 2 +- bureau/class/m_dom.php | 4 ++-- bureau/class/m_ftp.php | 2 +- bureau/class/m_lxc.php | 8 ++++---- bureau/class/m_mail.php | 14 +++++++------- bureau/class/m_quota.php | 2 +- 14 files changed, 43 insertions(+), 26 deletions(-) diff --git a/bureau/admin/adm_add.php b/bureau/admin/adm_add.php index fc30001b..30c92c82 100644 --- a/bureau/admin/adm_add.php +++ b/bureau/admin/adm_add.php @@ -122,6 +122,11 @@ if (isset($error) && $error) { /> + + login."; - if (is_array( $allvars['DEFAULT'][null][$var_arr['name']]['type'] )) { + $infotype = $allvars['DEFAULT'][null][$var_arr['name']]['type']; + + if (is_array( $infotype ) && ( isset($infotype['type']) && isset($infotype['desc']))) { + var_input($infotype, "var_value", $var_arr['value']); + } else if (is_array( $infotype )) { echo "