]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Add simple support for a version string.
authorterry%netscape.com <>
Sat, 19 Sep 1998 11:38:11 +0000 (11:38 +0000)
committerterry%netscape.com <>
Sat, 19 Sep 1998 11:38:11 +0000 (11:38 +0000)
CGI.pl
defparams.pl
globals.pl

diff --git a/CGI.pl b/CGI.pl
index 0a2fc97234818ecccd0a5628404efe59ce6a7052..356c579e578c1be03850554d1fb2cb360be5fe26 100644 (file)
--- 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";
index df5d88a8558064ed767afb925cd6c142d2c1fb9c..f17f62475422ae53347f1ad26bf2a35964947ee8 100644 (file)
@@ -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
index 2a33aa9c4e3478c060b910a45adc66d92edaf7e4..110015c01cef2bd90de3cad926532082732aa172 100644 (file)
@@ -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:--";