mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix HTML to avoid undesirable nested forms in output
This commit is contained in:
@@ -111,10 +111,10 @@ if (@icons < @hosts) {
|
||||
"value=\"$text{'uedit_sync'}\"></td>\n";
|
||||
}
|
||||
|
||||
print "</form><form action=\"delete_group.cgi\">\n";
|
||||
print "</tr></table></form><p><form action=\"delete_group.cgi\">\n";
|
||||
print "<input type=hidden name=group value=\"$ginfo{'group'}\">\n";
|
||||
print "<td align=right><input type=submit value=\"$text{'delete'}\"></td> </tr>\n";
|
||||
print "</form></table><p>\n";
|
||||
print "<input type=submit value=\"$text{'delete'}\">\n";
|
||||
print "</form><p>\n";
|
||||
|
||||
print &ui_hr();
|
||||
print &ui_subheading($text{'uedit_hosts'});
|
||||
|
||||
@@ -429,11 +429,11 @@ if (@icons < @hosts) {
|
||||
"value=\"$text{'uedit_sync'}\"></td>\n";
|
||||
}
|
||||
|
||||
print "</form><form action=\"delete_user.cgi\">\n";
|
||||
print "</tr></table></form><p><form action=\"delete_user.cgi\">\n";
|
||||
print "<input type=hidden name=user value=\"$uinfo{'user'}\">\n";
|
||||
print "<td align=right><input type=submit ",
|
||||
"value=\"$text{'delete'}\"></td> </tr>\n";
|
||||
print "</form></table><p>\n";
|
||||
print "<input type=submit ",
|
||||
"value=\"$text{'delete'}\">\n";
|
||||
print "</form><p>\n";
|
||||
|
||||
print &ui_hr();
|
||||
print &ui_subheading($text{'uedit_hosts'});
|
||||
|
||||
@@ -68,7 +68,7 @@ else {
|
||||
print "<b>$text{'index_nohosts'}</b><p>\n";
|
||||
}
|
||||
$formno++;
|
||||
print "<form action=add.cgi>\n";
|
||||
print "<br><br><form action=add.cgi>\n";
|
||||
print "<table width=100%><tr>\n";
|
||||
@addservers = grep { !$gothost{$_->{'id'}} } @servers;
|
||||
if (@addservers) {
|
||||
|
||||
Reference in New Issue
Block a user