show only fieldsets with input
This commit is contained in:
parent
714b756bb2
commit
b6868b503a
|
@ -168,6 +168,7 @@ echo ("<form action=\"conftypes.php\" method=\"post\">\n");
|
||||||
echo "<h1 align=\"center\">" . _("Account type selection") . "</h1>";
|
echo "<h1 align=\"center\">" . _("Account type selection") . "</h1>";
|
||||||
|
|
||||||
// show available types
|
// show available types
|
||||||
|
if (sizeof($availableTypes) > 0) {
|
||||||
echo "<fieldset><legend><b>" . _("Available account types") . "</b></legend>\n";
|
echo "<fieldset><legend><b>" . _("Available account types") . "</b></legend>\n";
|
||||||
echo "<table>\n";
|
echo "<table>\n";
|
||||||
for ($i = 0; $i < sizeof($availableTypes); $i++) {
|
for ($i = 0; $i < sizeof($availableTypes); $i++) {
|
||||||
|
@ -181,8 +182,10 @@ echo "</table>\n";
|
||||||
echo "</fieldset>\n";
|
echo "</fieldset>\n";
|
||||||
|
|
||||||
echo "<p><br><br></p>";
|
echo "<p><br><br></p>";
|
||||||
|
}
|
||||||
|
|
||||||
// show active types
|
// show active types
|
||||||
|
if (sizeof($activeTypes) > 0) {
|
||||||
echo "<fieldset><legend><b>" . _("Active account types") . "</b></legend><br>\n";
|
echo "<fieldset><legend><b>" . _("Active account types") . "</b></legend><br>\n";
|
||||||
for ($i = 0; $i < sizeof($activeTypes); $i++) {
|
for ($i = 0; $i < sizeof($activeTypes); $i++) {
|
||||||
echo "<fieldset class=\"" . $activeTypes[$i] . "edit\">\n";
|
echo "<fieldset class=\"" . $activeTypes[$i] . "edit\">\n";
|
||||||
|
@ -224,9 +227,8 @@ for ($i = 0; $i < sizeof($activeTypes); $i++) {
|
||||||
echo "</fieldset><br>\n";
|
echo "</fieldset><br>\n";
|
||||||
}
|
}
|
||||||
echo "</fieldset>\n";
|
echo "</fieldset>\n";
|
||||||
|
|
||||||
|
|
||||||
echo "<p><br><br></p>\n";
|
echo "<p><br><br></p>\n";
|
||||||
|
}
|
||||||
|
|
||||||
// submit and abort button
|
// submit and abort button
|
||||||
echo "<p>";
|
echo "<p>";
|
||||||
|
|
Loading…
Reference in New Issue