diff options
author | terry%mozilla.org <> | 1999-08-25 00:24:49 +0200 |
---|---|---|
committer | terry%mozilla.org <> | 1999-08-25 00:24:49 +0200 |
commit | 17e3ebfc4ca25abdfb327b02cb491682a4a7445b (patch) | |
tree | 6d0bd7b978ac567b84ae17cbba43a8bec2bab460 /CGI.pl | |
parent | 1d971ce0a409d7d324c742cd54a0d67ca7132d55 (diff) | |
download | bugzilla-17e3ebfc4ca25abdfb327b02cb491682a4a7445b.tar.gz bugzilla-17e3ebfc4ca25abdfb327b02cb491682a4a7445b.tar.xz |
Patch suggested by dbaron@fas.harvard.edu -- kick the javascript on
loading, in case the default query has some relevant fields set.
Diffstat (limited to 'CGI.pl')
-rw-r--r-- | CGI.pl | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -481,7 +481,7 @@ name=PleaseMailAPassword> sub PutHeader { - my ($title, $h1, $h2) = (@_); + my ($title, $h1, $h2, $extra) = (@_); if (!defined $h1) { $h1 = $title; @@ -489,11 +489,14 @@ sub PutHeader { if (!defined $h2) { $h2 = ""; } + if (!defined $extra) { + $extra = ""; + } print "<HTML><HEAD>\n<TITLE>$title</TITLE>\n"; print Param("headerhtml") . "\n</HEAD>\n"; print "<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\"\n"; - print "LINK=\"#0000EE\" VLINK=\"#551A8B\" ALINK=\"#FF0000\">\n"; + print "LINK=\"#0000EE\" VLINK=\"#551A8B\" ALINK=\"#FF0000\" $extra>\n"; print PerformSubsts(Param("bannerhtml"), undef); |