From e5dfbccd06c6ca7f8fb2871a06f7c660609e107c Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 13 Apr 2003 13:51:45 +0000 Subject: [PATCH] added support for editing with doubleclick --- lam/lib/listgroups.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lam/lib/listgroups.php b/lam/lib/listgroups.php index f402414e..d9b3ac8a 100644 --- a/lam/lib/listgroups.php +++ b/lam/lib/listgroups.php @@ -81,10 +81,11 @@ echo "\n"; // print group list for ($i = 0; $i < sizeof($info)-1; $i++) { // ignore last entry in array which is "count" echo("" . - "" . - "" . _("Edit") . ""); + " onMouseOut=\"group_out(this, '" . $info[$i]["dn"] . "')\"" . + " onClick=\"group_click(this, '" . $info[$i]["dn"] . "')\"" . + " onDblClick=parent.frames[1].location.href=\"../templates/account.php?type=group,DN='" . $info[$i]["dn"] . "'\">" . + " " . + " " . _("Edit") . ""); for ($k = 0; $k < sizeof($attr_array); $k++) { echo (""); // print all attribute entries seperated by "; "