From 1f6e1616c3e2f66d1982809a8d399129911d242b Mon Sep 17 00:00:00 2001
From: "myk%mozilla.org" <>
Date: Fri, 22 Apr 2005 09:17:14 +0000
Subject: Fix for bug 291391: allows users to rerequest set flags even if they
don't have the privilege to set them; r=lpsolit; a=myk
---
template/en/default/global/user-error.html.tmpl | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
(limited to 'template/en/default')
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index f5bb9703b..98cd7418b 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -442,12 +442,10 @@
[% title = "Flag Modification Denied" %]
You tried to [% IF status == "+" %] grant [% ELSIF status == "-" %] deny
[% ELSIF status == "X" %] clear [% ELSE %] request [% END %]
- [% name FILTER html %]
- [% IF status == "?" && old_status != "X" %], but this flag is already
- set[% END %].
- Only a sufficiently empowered user [% IF status == "X" %] or the user who
- set [% name FILTER html %][% old_status FILTER html %]
in
- the first place [% END %] can make this change.
+ [% name FILTER html %]
+ [% IF status == "X" %][% old_status FILTER html %][% END %]
.
+
+ Only a sufficiently empowered user can make this change.
[% ELSIF error == "format_not_found" %]
[% title = "Format Not Found" %]
--
cgit v1.2.3-24-g4f1b