From 502dd726db3dc7b3695f462155bc2e891fd653dc Mon Sep 17 00:00:00 2001 From: root Date: Thu, 27 Mar 2014 16:15:17 +0100 Subject: [PATCH] Correction de la suppression des comptes et presentation en liste des comptes a supprimer --- bureau/admin/adm_dodel.php | 24 +++++++++----------- bureau/locales/it_IT/LC_MESSAGES/alternc.mo | Bin 2130 -> 2906 bytes 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/bureau/admin/adm_dodel.php b/bureau/admin/adm_dodel.php index 3103ad31..85c767b8 100644 --- a/bureau/admin/adm_dodel.php +++ b/bureau/admin/adm_dodel.php @@ -40,19 +40,15 @@ $fields = array ( ); getFields($fields); +$accountList = $d; if($del_confirm == "y"){ - if (!is_array($accountList)) { - $accountList[] = $accountList; - } - - reset($accountList); - while (list($key,$val)=each($accountList)) { + $error = ""; + foreach ($accountList as $key => $val) { if (!$admin->checkcreator($val)) { __("This page is restricted to authorized staff"); exit(); } - $error = ""; if (!($u=$admin->get($val)) || !$admin->del_mem($val)) { $error .= sprintf(_("Member '%s' does not exist"),$val)."
"; } else { @@ -77,12 +73,14 @@ if($del_confirm == "y"){

- get($userid); - echo "".$membre['login']."
"; - } - ?> +

" />   diff --git a/bureau/locales/it_IT/LC_MESSAGES/alternc.mo b/bureau/locales/it_IT/LC_MESSAGES/alternc.mo index 3cbdbce0ce8af62946c977e7d0a56731d82b471d..b550b85b9fcbf124b28a85645c64949e292b32b7 100644 GIT binary patch delta 1339 zcmZwFO>9j;6bJBWJ#DGamij1lD&Z;hZeLZ(6A5WTDrqAjYX9l0w4 zZ7sev_;O7`^uZ61+vR2<7QrdF5Z-{R;2qckpTL#yC0q>O!EX2sE`iJD2+<2Sz%IBS z4#E=<`zOT|I?FL}6Sl+qkS}@+SHM?|@q5^V@mJUhyK+J-fSaL&!;lZY3U|ThZ~(T= z6=ECQ2|ZYY{qP#>#QowaI@5^uE#!+IwF=PzU%-uU8qSApZ8MQ{!etn5hXfBmj{Gdl z!wZlzc?%ZdBe)cPhMc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