Add simple support for a version string.

This commit is contained in:
terry%netscape.com 1998-09-19 04:38:12 +00:00
parent f1140763a6
commit 6f227ced9a
3 changed files with 7 additions and 2 deletions

View File

@ -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";

View 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

View 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:--";