Commit b018c7a4 authored by terry%mozilla.org's avatar terry%mozilla.org

Patches by Ken Jenks <kjenks@abiblion.com> and jug@tellux.de -- make the…

Patches by Ken Jenks <kjenks@abiblion.com> and jug@tellux.de -- make the Javascript behave under IE5 and under Netscape 3.x
parent a1fe6bea
......@@ -734,7 +734,7 @@ name=PleaseMailAPassword>
sub PutHeader {
my ($title, $h1, $h2, $extra, $ignoreshutdown) = (@_);
my ($title, $h1, $h2, $extra, $ignoreshutdown, $jscript) = (@_);
if (!defined $h1) {
$h1 = $title;
......@@ -745,9 +745,10 @@ sub PutHeader {
if (!defined $extra) {
$extra = "";
}
$jscript ||= "";
print "<HTML><HEAD>\n<TITLE>$title</TITLE>\n";
print Param("headerhtml") . "\n</HEAD>\n";
print Param("headerhtml") . "\n$jscript\n</HEAD>\n";
print "<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\"\n";
print "LINK=\"#0000EE\" VLINK=\"#551A8B\" ALINK=\"#FF0000\" $extra>\n";
......
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