This fixes two minor violations of the HTML standard: - elements may not contain nested elements: Replace the button with a simple hyperlink, because it was only used as a link anyway. - "id" attributes may not contain whitespace: Remove unneeded attribute, use hyphens instead of spaces. Signed-off-by: Leo-Andres Hofmann --- html/cgi-bin/zoneconf.cgi | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/html/cgi-bin/zoneconf.cgi b/html/cgi-bin/zoneconf.cgi index 067410582..2346aa829 100644 --- a/html/cgi-bin/zoneconf.cgi +++ b/html/cgi-bin/zoneconf.cgi @@ -99,10 +99,6 @@ my $css = < END ; @@ -282,7 +278,7 @@ if ($cgiparams{"ACTION"} eq $Lang::tr{"save"}) { if ($VALIDATE_error) { &Header::openbox('100%', 'left', $Lang::tr{"error"}); - print "$VALIDATE_error$Lang::tr{'ok'}"; + print "$VALIDATE_error$Lang::tr{'back'}\n"; &Header::closebox(); &Header::closebigbox(); @@ -388,7 +384,7 @@ foreach (@nics) { print < - + END ; @@ -431,12 +427,12 @@ END print < - + - $Lang::tr{"zoneconf access none"} - $Lang::tr{"zoneconf access native"} $Lang::tr{"zoneconf access vlan"} - + END ; -- 2.27.0.windows.1