From b2f5a1321370216b83f0e305e27173533f238c03 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Thu, 27 Mar 2014 15:28:17 +0000 Subject: [PATCH] Renomme des variables --- bureau/admin/adm_dodel.php | 6 ++---- bureau/admin/adm_list.php | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/bureau/admin/adm_dodel.php b/bureau/admin/adm_dodel.php index 85c767b8..03a765c9 100644 --- a/bureau/admin/adm_dodel.php +++ b/bureau/admin/adm_dodel.php @@ -35,13 +35,11 @@ if (!$admin->enabled) { } $fields = array ( - "d" => array ("request", "array", array()), + "accountList" => array ("request", "array", array()), "del_confirm" => array("request", "string", ""), ); getFields($fields); -$accountList = $d; - if($del_confirm == "y"){ $error = ""; foreach ($accountList as $key => $val) { @@ -77,7 +75,7 @@ if($del_confirm == "y"){ get($userid); - echo "
  • ".$membre['login']."
  • "; + echo "
  • ".$membre['login']."
  • "; } ?> diff --git a/bureau/admin/adm_list.php b/bureau/admin/adm_list.php index 74c1ee8a..b66ceee1 100644 --- a/bureau/admin/adm_list.php +++ b/bureau/admin/adm_list.php @@ -174,7 +174,7 @@ if (!is_array($accountList) || empty($accountList)) { ">  - " value="" /> + " value="" /> > " href="mailto:">  @@ -250,7 +250,7 @@ if ($mem->user["admlist"] == 1) { // SHORT MODE if ($val["su"]) { echo ' '; } else { - echo ''; + echo ''; } // if $val["su"] ?>