From 3faeb367cba6337d86f31eba2783ced6700734a6 Mon Sep 17 00:00:00 2001
From: "dave%intrec.com" <>
Date: Sat, 16 Sep 2000 21:08:37 +0000
Subject: [PATCH] Fix for bug 51270: param for bodyhtml to allow sites to
customize background colors/image and link colors.
---
CGI.pl | 3 +--
defparams.pl | 5 +++++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/CGI.pl b/CGI.pl
index 21f5c8c77f..a1ced72ea3 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -921,8 +921,7 @@ sub PutHeader {
print "
\n$title\n";
print Param("headerhtml") . "\n$jscript\n\n";
- print "\n";
+ print "\n";
print PerformSubsts(Param("bannerhtml"), undef);
diff --git a/defparams.pl b/defparams.pl
index 3a767f84f3..7407b65c2e 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -238,6 +238,11 @@ DefParam("headerhtml",
"l",
'');
+DefParam("bodyhtml",
+ "Additional parameters to add to the BODY tag at the beginning of documents, eg. background image/colors, link colors, etc",
+ "l",
+ 'BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000"');
+
DefParam("footerhtml",
"HTML to add to the bottom of every page. By default it displays the blurbhtml, and %commandmenu%, a menu of useful commands. You probably really want either headerhtml or footerhtml to include %commandmenu%.",
"l",
--
2.47.2