From 43e0914b35f59b2bbb8453a5c7fcdcda61d87fd3 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 16 May 2006 18:01:32 +0000 Subject: [PATCH] Ne permet pas de se connecter aux comptes qui ne sont pas siens, sauf root, Closes #321 --- bureau/admin/adm_list.php | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/bureau/admin/adm_list.php b/bureau/admin/adm_list.php index 5f47e583..2f1b4b2c 100644 --- a/bureau/admin/adm_list.php +++ b/bureau/admin/adm_list.php @@ -84,22 +84,31 @@ while (list($key,$val)=each($r)) $col=3-$col; ?> - + +checkcreator($val['uid'])) { + if ($val["su"]) { ?>   " /> - + "> "> "; else { - if($admin->checkcreator($val['uid'])) { ?> " target="_parent"> - + + "; + } + ?> + > ">