Commit 4702e74f authored by terry%netscape.com's avatar terry%netscape.com

Add simple support for a version string.

parent 7ddceed1
......@@ -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";
......
......@@ -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
......
......@@ -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:--";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment