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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
438b9fe1
Commit
438b9fe1
authored
Jan 13, 2000
by
terry%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide a simple param to let the maintainer shut down Bugzilla for a while.
parent
b5e7fcce
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
4 deletions
+18
-4
CGI.pl
CGI.pl
+9
-2
defparams.pl
defparams.pl
+6
-0
doeditparams.cgi
doeditparams.cgi
+1
-1
editparams.cgi
editparams.cgi
+2
-1
No files found.
CGI.pl
View file @
438b9fe1
...
@@ -494,7 +494,7 @@ sub confirm_login {
...
@@ -494,7 +494,7 @@ sub confirm_login {
if
(
$loginok
!=
1
)
{
if
(
$loginok
!=
1
)
{
print
"Content-type: text/html\n\n"
;
print
"Content-type: text/html\n\n"
;
PutHeader
(
"Login"
);
PutHeader
(
"Login"
,
undef
,
undef
,
undef
,
1
);
print
"I need a legitimate e-mail address and password to continue.\n"
;
print
"I need a legitimate e-mail address and password to continue.\n"
;
if
(
!
defined
$nexturl
||
$nexturl
eq
""
)
{
if
(
!
defined
$nexturl
||
$nexturl
eq
""
)
{
# Sets nexturl to be argv0, stripping everything up to and
# Sets nexturl to be argv0, stripping everything up to and
...
@@ -548,7 +548,7 @@ name=PleaseMailAPassword>
...
@@ -548,7 +548,7 @@ name=PleaseMailAPassword>
sub
PutHeader
{
sub
PutHeader
{
my
(
$title
,
$h1
,
$h2
,
$extra
)
=
(
@_
);
my
(
$title
,
$h1
,
$h2
,
$extra
,
$ignoreshutdown
)
=
(
@_
);
if
(
!
defined
$h1
)
{
if
(
!
defined
$h1
)
{
$h1
=
$title
;
$h1
=
$title
;
...
@@ -583,6 +583,13 @@ sub PutHeader {
...
@@ -583,6 +583,13 @@ sub PutHeader {
print
Param
(
"blurbhtml"
);
print
Param
(
"blurbhtml"
);
print
"</TD></TR></TABLE>\n"
;
print
"</TD></TR></TABLE>\n"
;
if
(
Param
(
"shutdownhtml"
))
{
if
(
!
$ignoreshutdown
)
{
print
Param
(
"shutdownhtml"
);
exit
;
}
}
}
}
...
...
defparams.pl
View file @
438b9fe1
...
@@ -176,6 +176,12 @@ information about what Bugzilla is and what it can do, see
...
@@ -176,6 +176,12 @@ information about what Bugzilla is and what it can do, see
DefParam
(
"shutdownhtml"
,
"If this field is non-empty, then Bugzilla will be completely disabled and this text will be displayed instead of all the Bugzilla pages."
,
"l"
,
""
);
DefParam
(
"warnbannerhtml"
,
DefParam
(
"warnbannerhtml"
,
"HTML to prepend to warning messages."
,
"HTML to prepend to warning messages."
,
"l"
,
"l"
,
...
...
doeditparams.cgi
View file @
438b9fe1
...
@@ -43,7 +43,7 @@ if (!UserInGroup("tweakparams")) {
...
@@ -43,7 +43,7 @@ if (!UserInGroup("tweakparams")) {
}
}
PutHeader
(
"Saving new parameters"
);
PutHeader
(
"Saving new parameters"
,
undef
,
undef
,
undef
,
1
);
foreach
my
$i
(
@::param_list
)
{
foreach
my
$i
(
@::param_list
)
{
# print "Processing $i...<BR>\n";
# print "Processing $i...<BR>\n";
...
...
editparams.cgi
View file @
438b9fe1
...
@@ -42,7 +42,8 @@ if (!UserInGroup("tweakparams")) {
...
@@ -42,7 +42,8 @@ if (!UserInGroup("tweakparams")) {
}
}
PutHeader
(
"Edit parameters"
);
PutHeader
(
"Edit parameters"
,
undef
,
undef
,
undef
,
1
);
print
"This lets you edit the basic operating parameters of bugzilla.\n"
;
print
"This lets you edit the basic operating parameters of bugzilla.\n"
;
print
"Be careful!\n"
;
print
"Be careful!\n"
;
...
...
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