From 1deeb6d899131084f5e7793686ced00c43116a2d Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 8 Dec 2009 08:47:13 +0000 Subject: [PATCH] adding 'connect as' link in the domain list, (I craved for ... and today I remembered I have commit right ;) ), and removed a _parent target in another link --- bureau/admin/adm_doms.php | 8 +++++++- bureau/admin/adm_list.php | 2 +- bureau/class/m_admin.php | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bureau/admin/adm_doms.php b/bureau/admin/adm_doms.php index 1a1f7e5c..6907c5f8 100644 --- a/bureau/admin/adm_doms.php +++ b/bureau/admin/adm_doms.php @@ -52,7 +52,7 @@ $c=$admin->dom_list();
- + + diff --git a/bureau/admin/adm_list.php b/bureau/admin/adm_list.php index b550b5e4..9d0cab33 100644 --- a/bureau/admin/adm_list.php +++ b/bureau/admin/adm_list.php @@ -132,7 +132,7 @@ while (list($key,$val)=each($r)) else { if($admin->checkcreator($val['uid'])) { ?> - " target="_parent"> + ">query("SELECT m.login,d.domaine,d.gesdns,d.gesmx,d.noerase FROM domaines d LEFT JOIN membres m ON m.uid=d.compte ORDER BY domaine;"); + $db->query("SELECT m.uid,m.login,d.domaine,d.gesdns,d.gesmx,d.noerase FROM domaines d LEFT JOIN membres m ON m.uid=d.compte ORDER BY domaine;"); while ($db->next_record()) { $c[]=$db->Record; }
Lock
Lock
+checkcreator($c[$i]['uid'])) { + ?> + "> + + "; } ?>