fixed edit links

This commit is contained in:
Roland Gruber 2005-01-29 12:03:24 +00:00
parent dc2a192a8a
commit 301bb7edf4
3 changed files with 6 additions and 6 deletions

View File

@ -179,7 +179,7 @@ if (sizeof($info) > 0) {
echo("<tr class=\"grouplist\" onMouseOver=\"group_over(this, '" . $i . "')\"" .
" onMouseOut=\"group_out(this, '" . $i . "')\"" .
" onClick=\"group_click(this, '" . $i . "')\"" .
" onDblClick=\"parent.frames[1].location.href='../account/edit.php?type=group&amp;DN=" . $i . "'\">");
" onDblClick=\"parent.frames[1].location.href='../account/edit.php?type=group&amp;DN=" . $info[$i]['dn'] . "'\">");
if ($_GET['selectall'] == "yes") {
echo " <td height=22 align=\"center\"><input onClick=\"group_click(this, '" . $i . "')\" type=\"checkbox\"" .
" name=\"" . $i . "\" checked></td>";
@ -188,7 +188,7 @@ if (sizeof($info) > 0) {
echo " <td height=22 align=\"center\"><input onClick=\"group_click(this, '" . $i . "')\" type=\"checkbox\"" .
" name=\"" . $i . "\"></td>";
}
echo (" <td align='center'><a href=\"../account/edit.php?type=group&amp;DN='" . $i . "'\">" . _("Edit") . "</a></td>");
echo (" <td align='center'><a href=\"../account/edit.php?type=group&amp;DN='" . $info[$i]['dn'] . "'\">" . _("Edit") . "</a></td>");
for ($k = 0; $k < sizeof($attr_array); $k++) {
echo ("<td>");
// print all attribute entries seperated by "; "

View File

@ -179,7 +179,7 @@ if (sizeof($info) > 0) {
echo("<tr class=\"hostlist\" onMouseOver=\"host_over(this, '" . $i . "')\"" .
" onMouseOut=\"host_out(this, '" . $i . "')\"" .
" onClick=\"host_click(this, '" . $i . "')\"" .
" onDblClick=\"parent.frames[1].location.href='../account/edit.php?type=host&amp;DN=" . $i . "'\">");
" onDblClick=\"parent.frames[1].location.href='../account/edit.php?type=host&amp;DN=" . $info[$i]['dn'] . "'\">");
if ($_GET['selectall'] == "yes") {
echo " <td height=22 align=\"center\"><input onClick=\"host_click(this, '" . $i . "')\"" .
" type=\"checkbox\" checked name=\"" . $i . "\"></td>";
@ -188,7 +188,7 @@ if (sizeof($info) > 0) {
echo " <td height=22 align=\"center\"><input onClick=\"host_click(this, '" . $i . "')\"" .
" type=\"checkbox\" name=\"" . $i . "\"></td>";
}
echo (" <td align='center'><a href=\"../account/edit.php?type=host&amp;DN='" . $i . "'\">" . _("Edit") . "</a></td>");
echo (" <td align='center'><a href=\"../account/edit.php?type=host&amp;DN='" . $info[$i]['dn'] . "'\">" . _("Edit") . "</a></td>");
for ($k = 0; $k < sizeof($attr_array); $k++) {
echo ("<td>");
// print all attribute entries seperated by "; "

View File

@ -227,7 +227,7 @@ if ($user_count != 0) {
echo("<tr class=\"userlist\"\nonMouseOver=\"user_over(this, '" . $i . "')\"\n" .
"onMouseOut=\"user_out(this, '" . $i . "')\"\n" .
"onClick=\"user_click(this, '" . $i . "')\"\n" .
"onDblClick=\"parent.frames[1].location.href='../account/edit.php?type=user&amp;DN=" . $i . "'\">\n");
"onDblClick=\"parent.frames[1].location.href='../account/edit.php?type=user&amp;DN=" . $info[$i]['dn'] . "'\">\n");
// checkboxes if selectall = "yes"
if ($_GET['selectall'] == "yes") {
echo "<td height=22 align=\"center\">\n<input onClick=\"user_click(this, '" . $i . "')\" type=\"checkbox\" name=\"" .
@ -237,7 +237,7 @@ if ($user_count != 0) {
echo "<td height=22 align=\"center\">\n<input onClick=\"user_click(this, '" . $i . "')\" type=\"checkbox\" name=\"" .
$i . "\">\n</td>\n";
}
echo ("<td align='center'>\n<a href=\"../account/edit.php?type=user&amp;DN='" . $i . "'\">" .
echo ("<td align='center'>\n<a href=\"../account/edit.php?type=user&amp;DN='" . $info[$i]['dn'] . "'\">" .
_("Edit") . "</a>\n</td>\n");
for ($k = 0; $k < sizeof($attr_array); $k++) {
echo ("<td>\n");