From 301bb7edf45c1ac4501b0d530b36aa38dfb08d9c Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 29 Jan 2005 12:03:24 +0000 Subject: [PATCH] fixed edit links --- lam/templates/lists/listgroups.php | 4 ++-- lam/templates/lists/listhosts.php | 4 ++-- lam/templates/lists/listusers.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lam/templates/lists/listgroups.php b/lam/templates/lists/listgroups.php index 9ef764ac..a5334de6 100644 --- a/lam/templates/lists/listgroups.php +++ b/lam/templates/lists/listgroups.php @@ -179,7 +179,7 @@ if (sizeof($info) > 0) { echo(""); + " onDblClick=\"parent.frames[1].location.href='../account/edit.php?type=group&DN=" . $info[$i]['dn'] . "'\">"); if ($_GET['selectall'] == "yes") { echo " "; @@ -188,7 +188,7 @@ if (sizeof($info) > 0) { echo " "; } - echo (" " . _("Edit") . ""); + echo (" " . _("Edit") . ""); for ($k = 0; $k < sizeof($attr_array); $k++) { echo (""); // print all attribute entries seperated by "; " diff --git a/lam/templates/lists/listhosts.php b/lam/templates/lists/listhosts.php index 72904fe5..898e8273 100644 --- a/lam/templates/lists/listhosts.php +++ b/lam/templates/lists/listhosts.php @@ -179,7 +179,7 @@ if (sizeof($info) > 0) { echo(""); + " onDblClick=\"parent.frames[1].location.href='../account/edit.php?type=host&DN=" . $info[$i]['dn'] . "'\">"); if ($_GET['selectall'] == "yes") { echo " "; @@ -188,7 +188,7 @@ if (sizeof($info) > 0) { echo " "; } - echo (" " . _("Edit") . ""); + echo (" " . _("Edit") . ""); for ($k = 0; $k < sizeof($attr_array); $k++) { echo (""); // print all attribute entries seperated by "; " diff --git a/lam/templates/lists/listusers.php b/lam/templates/lists/listusers.php index f900c980..de6771ac 100644 --- a/lam/templates/lists/listusers.php +++ b/lam/templates/lists/listusers.php @@ -227,7 +227,7 @@ if ($user_count != 0) { echo("\n"); + "onDblClick=\"parent.frames[1].location.href='../account/edit.php?type=user&DN=" . $info[$i]['dn'] . "'\">\n"); // checkboxes if selectall = "yes" if ($_GET['selectall'] == "yes") { echo "\n\n\n\n"; } - echo ("\n" . + echo ("\n" . _("Edit") . "\n\n"); for ($k = 0; $k < sizeof($attr_array); $k++) { echo ("\n");