Commit bc447ad3 authored by preed%sigkill.com's avatar preed%sigkill.com

Bug 207206: doeditparams.cgi XHTML compatibility. Patch by jocuri@softhome.net, r=kiko, a=justdave

parent 26af2c5a
...@@ -40,7 +40,7 @@ my $cgi = Bugzilla->cgi; ...@@ -40,7 +40,7 @@ my $cgi = Bugzilla->cgi;
print $cgi->header(); print $cgi->header();
if (!UserInGroup("tweakparams")) { if (!UserInGroup("tweakparams")) {
print "<H1>Sorry, you aren't a member of the 'tweakparams' group.</H1>\n"; print "<h1>Sorry, you aren't a member of the 'tweakparams' group.</h1>\n";
print "And so, you aren't allowed to edit the parameters.\n"; print "And so, you aren't allowed to edit the parameters.\n";
PutFooter(); PutFooter();
exit; exit;
...@@ -95,7 +95,7 @@ foreach my $i (GetParamList()) { ...@@ -95,7 +95,7 @@ foreach my $i (GetParamList()) {
exit; exit;
} }
} }
print "Changed " . html_quote($name) . "<br>\n"; print "Changed " . html_quote($name) . ".<br>\n";
SetParam($name, $value); SetParam($name, $value);
} }
} }
...@@ -106,7 +106,7 @@ WriteParams(); ...@@ -106,7 +106,7 @@ WriteParams();
unlink "data/versioncache"; unlink "data/versioncache";
print "OK, done.<p>\n"; print "OK, done.<p>\n";
print "<a href=editparams.cgi>Edit the params some more.</a><p>\n"; print "<a href=\"editparams.cgi\">Edit the params some more.</a><p>\n";
print "<a href=query.cgi>Go back to the query page.</a>\n"; print "<a href=\"query.cgi\">Go back to the query page.</a>\n";
PutFooter(); PutFooter();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment