center checkboxes
This commit is contained in:
parent
f536ed45ee
commit
8f2ff3f0c4
|
@ -149,7 +149,7 @@ for ($i = $table_begin; $i < $table_end; $i++) {
|
|||
" onMouseOut=\"domain_out(this, '" . $dom_info[$i]["dn"] . "')\"" .
|
||||
" onClick=\"domain_click(this, '" . $dom_info[$i]["dn"] . "')\"" .
|
||||
" onDblClick=\"parent.frames[1].location.href='../domain.php?action=edit&DN=" . $dom_info[$i]["dn"] . "'\">" .
|
||||
" <td height=22><input onClick=\"domain_click(this, '" . $dom_info[$i]["dn"] . "')\" type=\"checkbox\" name=\"" . $dom_info[$i]["dn"] . "\"></td>" .
|
||||
" <td height=22 align=\"center\"><input onClick=\"domain_click(this, '" . $dom_info[$i]["dn"] . "')\" type=\"checkbox\" name=\"" . $dom_info[$i]["dn"] . "\"></td>" .
|
||||
" <td align='center'><a href=\"../domain.php?action=edit&DN='" . $dom_info[$i]["dn"] . "'\">" . _("Edit") . "</a></td>");
|
||||
for ($k = 0; $k < sizeof($attr_array); $k++) {
|
||||
echo ("<td>");
|
||||
|
|
|
@ -196,11 +196,11 @@ if (sizeof($grp_info) > 0) {
|
|||
" onClick=\"group_click(this, '" . $grp_info[$i]["dn"] . "')\"" .
|
||||
" onDblClick=\"parent.frames[1].location.href='../account/groupedit.php?DN=" . $grp_info[$i]["dn"] . "'\">");
|
||||
if ($_GET['selectall'] == "yes") {
|
||||
echo " <td height=22><input onClick=\"group_click(this, '" . $grp_info[$i]["dn"] . "')\" type=\"checkbox\"" .
|
||||
echo " <td height=22 align=\"center\"><input onClick=\"group_click(this, '" . $grp_info[$i]["dn"] . "')\" type=\"checkbox\"" .
|
||||
" name=\"" . $grp_info[$i]["dn"] . "\" checked></td>";
|
||||
}
|
||||
else {
|
||||
echo " <td height=22><input onClick=\"group_click(this, '" . $grp_info[$i]["dn"] . "')\" type=\"checkbox\"" .
|
||||
echo " <td height=22 align=\"center\"><input onClick=\"group_click(this, '" . $grp_info[$i]["dn"] . "')\" type=\"checkbox\"" .
|
||||
" name=\"" . $grp_info[$i]["dn"] . "\"></td>";
|
||||
}
|
||||
echo (" <td align='center'><a href=\"../account/groupedit.php?DN='" . $grp_info[$i]["dn"] . "'\">" . _("Edit") . "</a></td>");
|
||||
|
|
|
@ -202,11 +202,11 @@ if (sizeof($hst_info) > 0) {
|
|||
" onClick=\"host_click(this, '" . $hst_info[$i]["dn"] . "')\"" .
|
||||
" onDblClick=\"parent.frames[1].location.href='../account/hostedit.php?DN=" . $hst_info[$i]["dn"] . "'\">");
|
||||
if ($_GET['selectall'] == "yes") {
|
||||
echo " <td height=22><input onClick=\"host_click(this, '" . $hst_info[$i]["dn"] . "')\"" .
|
||||
echo " <td height=22 align=\"center\"><input onClick=\"host_click(this, '" . $hst_info[$i]["dn"] . "')\"" .
|
||||
" type=\"checkbox\" checked name=\"" . $hst_info[$i]["dn"] . "\"></td>";
|
||||
}
|
||||
else {
|
||||
echo " <td height=22><input onClick=\"host_click(this, '" . $hst_info[$i]["dn"] . "')\"" .
|
||||
echo " <td height=22 align=\"center\"><input onClick=\"host_click(this, '" . $hst_info[$i]["dn"] . "')\"" .
|
||||
" type=\"checkbox\" name=\"" . $hst_info[$i]["dn"] . "\"></td>";
|
||||
}
|
||||
echo (" <td align='center'><a href=\"../account/hostedit.php?DN='" . $hst_info[$i]["dn"] . "'\">" . _("Edit") . "</a></td>");
|
||||
|
|
|
@ -269,11 +269,11 @@ if ($user_count != 0) {
|
|||
"onDblClick=\"parent.frames[1].location.href='../account/useredit.php?type=user&DN=" . $userinfo[$i]["dn"] . "'\">\n");
|
||||
// check boxes if selectall = "yes"
|
||||
if ($_GET['selectall'] == "yes") {
|
||||
echo "<td height=22>\n<input onClick=\"user_click(this, '" . $userinfo[$i]["dn"] . "')\" type=\"checkbox\" name=\"" .
|
||||
echo "<td height=22 align=\"center\">\n<input onClick=\"user_click(this, '" . $userinfo[$i]["dn"] . "')\" type=\"checkbox\" name=\"" .
|
||||
$userinfo[$i]["dn"] . "\" checked>\n</td>\n";
|
||||
}
|
||||
else {
|
||||
echo "<td height=22>\n<input onClick=\"user_click(this, '" . $userinfo[$i]["dn"] . "')\" type=\"checkbox\" name=\"" .
|
||||
echo "<td height=22 align=\"center\">\n<input onClick=\"user_click(this, '" . $userinfo[$i]["dn"] . "')\" type=\"checkbox\" name=\"" .
|
||||
$userinfo[$i]["dn"] . "\">\n</td>\n";
|
||||
}
|
||||
echo ("<td align='center'>\n<a href=\"../account/useredit.php?type=user&DN='" . $userinfo[$i]["dn"] . "'\">" .
|
||||
|
|
Loading…
Reference in New Issue