diff options
author | gerv%gerv.net <> | 2002-08-20 07:34:29 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-08-20 07:34:29 +0200 |
commit | a1ba12e2936512aab4138815cde2b8c284362da5 (patch) | |
tree | dd637f233b9a55b70eb74bb77e9792060e73ac84 | |
parent | ec2d9ac435c7863f203f53bdd0eefdeb17856c1a (diff) | |
download | bugzilla-a1ba12e2936512aab4138815cde2b8c284362da5.tar.gz bugzilla-a1ba12e2936512aab4138815cde2b8c284362da5.tar.xz |
Bug 163331 - shutdownhtml is broken. Patch by gerv; r=bbaetz.
-rw-r--r-- | CGI.pl | 5 | ||||
-rw-r--r-- | template/en/default/global/messages.html.tmpl | 4 |
2 files changed, 5 insertions, 4 deletions
@@ -61,10 +61,7 @@ use vars qw($template $vars); # this message, of course, since it needs to be available in order for # the administrator to open Bugzilla back up. if (Param("shutdownhtml") && $0 !~ m:[\\/](do)?editparams.cgi$:) { - # The shut down message we are going to display to the user. - $::vars->{'title'} = "Bugzilla is Down"; - $::vars->{'h1'} = "Bugzilla is Down"; - $::vars->{'message'} = Param("shutdownhtml"); + $::vars->{'message'} = "shutdown"; # Return the appropriate HTTP response headers. print "Content-Type: text/html\n\n"; diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl index 559bd5edf..d08bd21bb 100644 --- a/template/en/default/global/messages.html.tmpl +++ b/template/en/default/global/messages.html.tmpl @@ -252,6 +252,10 @@ intentionally cleared out the "Reassign bug to" field, [% Param("browserbugmessage") %] + [% ELSIF message_tag == "shutdown" %] + [% title = "Bugzilla is Down" %] + [% Param("shutdownhtml") %] + [% ELSIF message_tag == "unknown_keyword" %] [% title = "Unknown Keyword" %] <code>[% keyword FILTER html %]</code> is not a known keyword. |