updated to use delete.php
This commit is contained in:
parent
ea9bbf788e
commit
3f3417285b
|
@ -90,7 +90,7 @@ for ($i = 0; $i < sizeof($info); $i++) { // ignore last entry in array which is
|
||||||
" onMouseOut=\"group_out(this, '" . $info[$i]["dn"] . "')\"" .
|
" onMouseOut=\"group_out(this, '" . $info[$i]["dn"] . "')\"" .
|
||||||
" onClick=\"group_click(this, '" . $info[$i]["dn"] . "')\"" .
|
" onClick=\"group_click(this, '" . $info[$i]["dn"] . "')\"" .
|
||||||
" onDblClick=parent.frames[2].location.href=\"../account.php?type=group&DN='" . $info[$i]["dn"] . "'\">" .
|
" onDblClick=parent.frames[2].location.href=\"../account.php?type=group&DN='" . $info[$i]["dn"] . "'\">" .
|
||||||
" <td height=22><input onClick=\"group_click(this, '" . $info[$i]["dn"] . "')\" type=\"checkbox\" name=\"" . $info[$i]["dn"] . "\"></td>" .
|
" <td height=22><input onClick=\"group_click(this, '" . $info[$i]["dn"] . "')\" type=\"checkbox\" name=\"DN='" . $info[$i]["dn"] . "'\"></td>" .
|
||||||
" <td align='center'><a href=\"../account.php?type=group&DN='" . $info[$i]["dn"] . "'\">" . _("Edit") . "</a></td>");
|
" <td align='center'><a href=\"../account.php?type=group&DN='" . $info[$i]["dn"] . "'\">" . _("Edit") . "</a></td>");
|
||||||
for ($k = 0; $k < sizeof($attr_array); $k++) {
|
for ($k = 0; $k < sizeof($attr_array); $k++) {
|
||||||
echo ("<td>");
|
echo ("<td>");
|
||||||
|
@ -125,8 +125,8 @@ for ($i = 0; $i < sizeof($info); $i++) { // ignore last entry in array which is
|
||||||
echo ("</table>");
|
echo ("</table>");
|
||||||
echo ("<p> </p>\n");
|
echo ("<p> </p>\n");
|
||||||
echo ("<table align=\"left\" border=\"0\">");
|
echo ("<table align=\"left\" border=\"0\">");
|
||||||
echo ("<tr><td align=\"left\"><a href=\"../account.php?type=group\" target=\"_self\"><big>" . _("New Group") . "</big></a>");
|
echo ("<tr><td align=\"left\"><a href=\"../account.php?type=group\" target=\"_self\">" . _("New Group") . "</a>");
|
||||||
echo ("   <a href=\"../account.php?type=delete\" target=\"_self\"><big>" . _("Delete Group(s)") . "</big></a></td></tr>\n");
|
echo ("   <a href=\"../delete.php?type=group\" target=\"_self\">" . _("Delete Group(s)") . "</a></td></tr>\n");
|
||||||
echo ("</table>\n");
|
echo ("</table>\n");
|
||||||
echo ("</form>\n");
|
echo ("</form>\n");
|
||||||
echo "</body></html>\n";
|
echo "</body></html>\n";
|
||||||
|
|
|
@ -90,7 +90,7 @@ for ($i = 0; $i < sizeof($info); $i++) {
|
||||||
" onMouseOut=\"host_out(this, '" . $info[$i]["dn"] . "')\"" .
|
" onMouseOut=\"host_out(this, '" . $info[$i]["dn"] . "')\"" .
|
||||||
" onClick=\"host_click(this, '" . $info[$i]["dn"] . "')\"" .
|
" onClick=\"host_click(this, '" . $info[$i]["dn"] . "')\"" .
|
||||||
" onDblClick=parent.frames[2].location.href=\"../account.php?type=host&DN='" . $info[$i]["dn"] . "'\">" .
|
" onDblClick=parent.frames[2].location.href=\"../account.php?type=host&DN='" . $info[$i]["dn"] . "'\">" .
|
||||||
" <td height=22><input onClick=\"host_click(this, '" . $info[$i]["dn"] . "')\" type=\"checkbox\" name=\"" . $info[$i]["dn"] . "\"></td>" .
|
" <td height=22><input onClick=\"host_click(this, '" . $info[$i]["dn"] . "')\" type=\"checkbox\" name=\"DN='" . $info[$i]["dn"] . "'\"></td>" .
|
||||||
" <td align='center'><a href=\"../account.php?type=host&DN='" . $info[$i]["dn"] . "'\">" . _("Edit") . "</a></td>");
|
" <td align='center'><a href=\"../account.php?type=host&DN='" . $info[$i]["dn"] . "'\">" . _("Edit") . "</a></td>");
|
||||||
for ($k = 0; $k < sizeof($attr_array); $k++) {
|
for ($k = 0; $k < sizeof($attr_array); $k++) {
|
||||||
echo ("<td>");
|
echo ("<td>");
|
||||||
|
@ -107,8 +107,8 @@ for ($i = 0; $i < sizeof($info); $i++) {
|
||||||
echo ("</table>");
|
echo ("</table>");
|
||||||
echo ("<p> </p>\n");
|
echo ("<p> </p>\n");
|
||||||
echo ("<table align=\"left\" border=\"0\">");
|
echo ("<table align=\"left\" border=\"0\">");
|
||||||
echo ("<tr><td align=\"left\"><a href=\"../account.php?type=host\" target=\"_self\"><big>" . _("New Host") . "</big></a>");
|
echo ("<tr><td align=\"left\"><a href=\"../account.php?type=host\" target=\"_self\">" . _("New Host") . "</a>");
|
||||||
echo ("   <a href=\"../account.php?type=delete\" target=\"_self\"><big>" . _("Delete Host(s)") . "</big></a></td></tr>\n");
|
echo ("   <a href=\"../delete.php?type=host\" target=\"_self\">" . _("Delete Host(s)") . "</a></td></tr>\n");
|
||||||
echo ("</table>\n");
|
echo ("</table>\n");
|
||||||
echo ("</form>\n");
|
echo ("</form>\n");
|
||||||
echo "</body></html>\n";
|
echo "</body></html>\n";
|
||||||
|
|
Loading…
Reference in New Issue