summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-11-10 17:00:10 +0100
committerlpsolit%gmail.com <>2009-11-10 17:00:10 +0100
commitf7b1e5c5e27780f4bb1be7c9a44f1a91024473e4 (patch)
treea9f9024a5a0f841427a8a7235a4ee62eff819d29 /template/en/default/attachment
parent5d516a6ae2f021d2e276a842c24dff74d3448c45 (diff)
downloadbugzilla-f7b1e5c5e27780f4bb1be7c9a44f1a91024473e4.tar.gz
bugzilla-f7b1e5c5e27780f4bb1be7c9a44f1a91024473e4.tar.xz
Bug 505038: Use $user->is_insider instead of $user->in_group(Bugzilla->params->{'insidergroup'}) - Patch by XqueZme <xquezme@gmail.com> r/a=LpSolit
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/create.html.tmpl5
1 files changed, 2 insertions, 3 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl
index 72844a36e..a6eb03824 100644
--- a/template/en/default/attachment/create.html.tmpl
+++ b/template/en/default/attachment/create.html.tmpl
@@ -55,8 +55,7 @@
<em>(optional) Check each existing attachment made obsolete by your new attachment.</em><br>
[% IF attachments.size %]
[% FOREACH attachment = attachments %]
- [% IF ((attachment.isprivate == 0) || (Param("insidergroup")
- && user.in_group(Param("insidergroup")))) %]
+ [% IF ((attachment.isprivate == 0) || user.is_insider) %]
<input type="checkbox" id="[% attachment.id %]"
name="obsolete" value="[% attachment.id %]">
<a href="attachment.cgi?id=[% attachment.id %]&amp;action=edit">[% attachment.id %]: [% attachment.description FILTER html %]</a><br>
@@ -108,7 +107,7 @@
%]
</td>
</tr>
- [% IF (Param("insidergroup") && user.in_group(Param("insidergroup"))) %]
+ [% IF user.is_insider %]
<tr>
<th>Privacy:</th>
<td>