summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CGI.pl2
-rw-r--r--defparams.pl4
-rw-r--r--globals.pl3
3 files changed, 7 insertions, 2 deletions
diff --git a/CGI.pl b/CGI.pl
index 0a2fc9723..356c579e5 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -403,7 +403,7 @@ sub PutHeader {
print "<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\"\n";
print "LINK=\"#0000EE\" VLINK=\"#551A8B\" ALINK=\"#FF0000\">\n";
- print Param("bannerhtml");
+ print PerformSubsts(Param("bannerhtml"), undef);
print "<TABLE BORDER=0 CELLPADDING=12 CELLSPACING=0 WIDTH=\"100%\">\n";
print " <TR>\n";
diff --git a/defparams.pl b/defparams.pl
index df5d88a85..f17f62475 100644
--- a/defparams.pl
+++ b/defparams.pl
@@ -133,7 +133,9 @@ sub check_despotbaseurl {
DefParam("bannerhtml",
- "The html that gets emitted at the head of every Bugzilla page.",
+ "The html that gets emitted at the head of every Bugzilla page.
+Anything of the form %<i>word</i>% gets replaced by the defintion of that
+word (as defined on this page).",
"l",
q{<TABLE BGCOLOR="#000000" WIDTH="100%" BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR><TD><A HREF="http://www.mozilla.org/"><IMG
diff --git a/globals.pl b/globals.pl
index 2a33aa9c4..110015c01 100644
--- a/globals.pl
+++ b/globals.pl
@@ -26,6 +26,9 @@ use Mysql;
use Date::Format; # For time2str().
+# Contains the version string for the current running Bugzilla.
+$::param{'version'} = '1.1';
+
$::dontchange = "--do_not_change--";
$::chooseone = "--Choose_one:--";