Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
a1ba12e2
Commit
a1ba12e2
authored
Aug 20, 2002
by
gerv%gerv.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 163331 - shutdownhtml is broken. Patch by gerv; r=bbaetz.
parent
ec2d9ac4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CGI.pl
CGI.pl
+1
-4
messages.html.tmpl
template/en/default/global/messages.html.tmpl
+4
-0
No files found.
CGI.pl
View file @
a1ba12e2
...
...
@@ -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"
;
...
...
template/en/default/global/messages.html.tmpl
View file @
a1ba12e2
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment