diff options
| author | terry%netscape.com <> | 1998-09-01 11:21:44 +0000 |
|---|---|---|
| committer | terry%netscape.com <> | 1998-09-01 11:21:44 +0000 |
| commit | 7fa78eee115a50354911bc11bc8047c2e4b7d4ca (patch) | |
| tree | 6df662bacb2b57f96b2804289bbaa1a0154dff40 /query.cgi | |
| parent | fa3443b1e248960d9182d03f412fbcb229c9ae3d (diff) | |
| download | bugs-7fa78eee115a50354911bc11bc8047c2e4b7d4ca.tar bugs-7fa78eee115a50354911bc11bc8047c2e4b7d4ca.tar.gz bugs-7fa78eee115a50354911bc11bc8047c2e4b7d4ca.tar.bz2 bugs-7fa78eee115a50354911bc11bc8047c2e4b7d4ca.tar.xz bugs-7fa78eee115a50354911bc11bc8047c2e4b7d4ca.zip | |
Allow editing of parameters via a web page.
Diffstat (limited to 'query.cgi')
| -rwxr-xr-x | query.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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>" |
