This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[bugzilla] weekly-bug-summary.cgi
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: gcc-patches at gcc dot gnu dot org, Daniel Berlin <dberlin at dberlin dot org>
- Date: Mon, 10 Apr 2006 16:43:19 +0200 (CEST)
- Subject: [bugzilla] weekly-bug-summary.cgi
Dan,
this is a patch I found in my local tree. It dates back half a year,
and I cannot remember what triggered me writing it, but it seems correct
and survived testing of mine on gcc.gnu.org, so I installed it.
(If this is applicable upstream, would you mind forwarding it there?)
Gerald
Fix markup (mismatch between <h2> and <h3> and use of <center> versus a
align="center" attribute). Avoid redirect from internal link.
Index: bugzilla/weekly-bug-summary.cgi
===================================================================
RCS file: /cvs/gcc/wwwdocs/bugzilla/weekly-bug-summary.cgi,v
retrieving revision 1.11
diff -u -3 -p -r1.11 weekly-bug-summary.cgi
--- bugzilla/weekly-bug-summary.cgi 12 Oct 2005 16:56:45 -0000 1.11
+++ bugzilla/weekly-bug-summary.cgi 10 Apr 2006 14:29:03 -0000
@@ -96,12 +96,12 @@ if (defined $cgi->param('version') && $c
# Always spew informative messages.
-print "<center><h1>Weekly Bug Summary";
+print "<h1 align=\"center\">Weekly Bug Summary";
if ($version) {
print " for " . html_quote($version);
}
-print "</h1></center>";
-print "<p>Some weekly bug summary info for <a href=\"http://gcc.gnu.org/bugzilla\">gcc.gnu.org</a>.";
+print "</h1>";
+print "<p>Some weekly bug summary info for <a href=\"http://gcc.gnu.org/bugzilla/\">gcc.gnu.org</a>.";
print " Last updated: " . time2str("%a %b %e %T %Z %Y", time(), "UTC") . ".";
if (defined $cgi->param('KEYWORD')){
@@ -112,7 +112,7 @@ if (defined $cgi->param('KEYWORD')){
our $buglist;
my $bugs_opened = &bugs_opened(undef, $days, $keyword, $version);
-print "<h3> Total Reports: " . &print_total_bugs_on_bugzilla($keyword, $version) . " (";
+print "<h2> Total Reports: " . &print_total_bugs_on_bugzilla($keyword, $version) . " (";
if ($links eq "yes") {
print "<a href=\"$buglist\">$bugs_opened</a> reports opened and ";