diff options
author | justdave%syndicomm.com <> | 2001-09-06 09:19:04 +0000 |
---|---|---|
committer | justdave%syndicomm.com <> | 2001-09-06 09:19:04 +0000 |
commit | 8173dcf5af3241159ea823d347e22996253cbad5 (patch) | |
tree | 9a0e9df96c52e02538e1ee22193467df1a04a5d2 | |
parent | 27697cf31c96221bd3e90f48593532e3a697ecd1 (diff) | |
download | bugs-8173dcf5af3241159ea823d347e22996253cbad5.tar bugs-8173dcf5af3241159ea823d347e22996253cbad5.tar.gz bugs-8173dcf5af3241159ea823d347e22996253cbad5.tar.bz2 bugs-8173dcf5af3241159ea823d347e22996253cbad5.tar.xz bugs-8173dcf5af3241159ea823d347e22996253cbad5.zip |
Fix for bug 69616: If you have tweakparams privs, the "Sanity check" link was listed with a group of items that said "Edit" so
it appeared as if you were going to edit the sanity checks if you clicked on it, when in fact you were going to run them.
This patch rewords the links so Sanity check is in a group by itself in the block of links on the right.
Patch by Matthew Tuck <matty@chariot.net.au>
r= justdave x2
-rw-r--r-- | CGI.pl | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1285,7 +1285,6 @@ Actions: $html .= "</TD><TD> </TD><TD VALIGN=middle><NOBR>Edit <a href='userprefs.cgi'>prefs</a></NOBR>"; if (UserInGroup("tweakparams")) { $html .= ", <a href=editparams.cgi>parameters</a>"; - $html .= ", <a href=sanitycheck.cgi><NOBR>sanity check</NOBR></a>"; } if (UserInGroup("editusers") || $blessgroupset) { $html .= ", <a href=editusers.cgi>users</a>"; @@ -1301,6 +1300,10 @@ Actions: if (UserInGroup("editkeywords")) { $html .= ", <a href=editkeywords.cgi>keywords</a>"; } + if (UserInGroup("tweakparams")) { + $html .= " | <a href=sanitycheck.cgi><NOBR>Sanity check</NOBR></a>"; + } + $html .= " | <NOBR><a href=relogin.cgi>Log out</a> $::COOKIE{'Bugzilla_login'}</NOBR>"; $html .= "</TD></TR>"; |