added support for editing with doubleclick

This commit is contained in:
Roland Gruber 2003-04-13 13:51:45 +00:00
parent 4ceb87ca9e
commit e5dfbccd06
1 changed files with 5 additions and 4 deletions

View File

@ -81,10 +81,11 @@ echo "</tr>\n";
// print group list
for ($i = 0; $i < sizeof($info)-1; $i++) { // ignore last entry in array which is "count"
echo("<tr class=\"grouplist\" onMouseOver=\"group_over(this, '" . $info[$i]["dn"] . "')\"" .
"onMouseOut=\"group_out(this, '" . $info[$i]["dn"] . "')\"" .
"onClick=\"group_click(this, '" . $info[$i]["dn"] . "')\">" .
"<td height=22><input type=\"checkbox\" name=\"" . $info[$i]["dn"] . "\"></td>" .
"<td align='center'><a href=\"../templates/account.php?type=group,DN='" . $info[$i]["dn"] . "'\">" . _("Edit") . "</a></td>");
" 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"] . "'\">" .
" <td height=22><input type=\"checkbox\" name=\"" . $info[$i]["dn"] . "\"></td>" .
" <td align='center'><a href=\"../templates/account.php?type=group,DN='" . $info[$i]["dn"] . "'\">" . _("Edit") . "</a></td>");
for ($k = 0; $k < sizeof($attr_array); $k++) {
echo ("<td>");
// print all attribute entries seperated by "; "