summaryrefslogtreecommitdiffstats
path: root/query.cgi
diff options
context:
space:
mode:
authorterry%netscape.com <>1998-09-01 13:21:44 +0200
committerterry%netscape.com <>1998-09-01 13:21:44 +0200
commit7fa78eee115a50354911bc11bc8047c2e4b7d4ca (patch)
tree6df662bacb2b57f96b2804289bbaa1a0154dff40 /query.cgi
parentfa3443b1e248960d9182d03f412fbcb229c9ae3d (diff)
downloadbugzilla-7fa78eee115a50354911bc11bc8047c2e4b7d4ca.tar.gz
bugzilla-7fa78eee115a50354911bc11bc8047c2e4b7d4ca.tar.xz
Allow editing of parameters via a web page.
Diffstat (limited to 'query.cgi')
-rwxr-xr-xquery.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/query.cgi b/query.cgi
index d285cf66c..992a232ac 100755
--- a/query.cgi
+++ b/query.cgi
@@ -33,7 +33,7 @@ if {[info exists FORM(GoAheadAndLogIn)]} {
if {![info exists COOKIE(DEFAULTQUERY)]} {
- set COOKIE(DEFAULTQUERY) "bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&product=Mozilla&order=%22Importance%22"
+ set COOKIE(DEFAULTQUERY) [Param defaultquery]
}
if {![info exists buffer] || $buffer == ""} {
@@ -231,6 +231,9 @@ puts "
if {[info exists COOKIE(Bugzilla_login)]} {
+ if {[cequal $COOKIE(Bugzilla_login) [Param maintainer]]} {
+ puts "<a href=editparams.cgi>Edit Bugzilla operating parameters</a><br>"
+ }
puts "
<a href=relogin.cgi>Log in as someone besides <b>$COOKIE(Bugzilla_login)</b></a><br>
<a href=changepassword.cgi>Change my password.</a><br>"