]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2003-08-10 13:20:17 by joy]
authorjoy <>
Sun, 10 Aug 2003 20:20:17 +0000 (12:20 -0800)
committerjoy <>
Sun, 10 Aug 2003 20:20:17 +0000 (12:20 -0800)
add bug title to <title>, too

cgi/bugreport.cgi

index aceacd922429fe5d160e631e70a944d4e471c283..fe19e0a04d1956dbc65924c59ce5e5aac6405f73 100755 (executable)
@@ -418,14 +418,16 @@ if ( $mbox ) {
 }
 print "Content-Type: text/html\n\n";
 
+my $title = htmlsanit($status{subject});
+
 print "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
 print "<HTML><HEAD>\n" . 
-    "<TITLE>$debbugs::gProject $debbugs::gBug report logs - $short</TITLE>\n" .
+    "<TITLE>$debbugs::gProject $debbugs::gBug report logs - $short - $title</TITLE>\n" .
     "</HEAD>\n" .
     '<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#800080">' .
     "\n";
-print "<H1>" .  "$debbugs::gProject $debbugs::gBug report logs - <A HREF=\"mailto:$ref\@$gEmailDomain\">$short</A>" .
-      "<BR>" . htmlsanit($status{subject}) . "</H1>\n";
+print "<H1>" . "$debbugs::gProject $debbugs::gBug report logs - <A HREF=\"mailto:$ref\@$gEmailDomain\">$short</A>" .
+      "<BR>" . $title . "</H1>\n";
 
 print "$descriptivehead\n";
 printf "<p>View this report as an <a href=\"%s\">mbox folder</a>.</p>\n", mboxurl($ref);