From: dave%intrec.com <> Date: Sat, 16 Sep 2000 21:08:37 +0000 (+0000) Subject: Fix for bug 51270: param for bodyhtml to allow sites to customize X-Git-Tag: bugzilla-2.12~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3faeb367cba6337d86f31eba2783ced6700734a6;p=thirdparty%2Fbugzilla.git Fix for bug 51270: param for bodyhtml to allow sites to customize background colors/image and link colors. --- 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",