From 8173dcf5af3241159ea823d347e22996253cbad5 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Thu, 6 Sep 2001 09:19:04 +0000 Subject: 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 r= justdave x2 --- CGI.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CGI.pl b/CGI.pl index 6bcb1ba02..3c0795d44 100644 --- a/CGI.pl +++ b/CGI.pl @@ -1285,7 +1285,6 @@ Actions: $html .= " Edit prefs"; if (UserInGroup("tweakparams")) { $html .= ", parameters"; - $html .= ", sanity check"; } if (UserInGroup("editusers") || $blessgroupset) { $html .= ", users"; @@ -1301,6 +1300,10 @@ Actions: if (UserInGroup("editkeywords")) { $html .= ", keywords"; } + if (UserInGroup("tweakparams")) { + $html .= " | Sanity check"; + } + $html .= " | Log out $::COOKIE{'Bugzilla_login'}"; $html .= ""; -- cgit v1.2.3-24-g4f1b