summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/create.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/attachment/create.html.tmpl')
-rw-r--r--template/en/default/attachment/create.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl
index 043e1226a..3547f6d2e 100644
--- a/template/en/default/attachment/create.html.tmpl
+++ b/template/en/default/attachment/create.html.tmpl
@@ -54,7 +54,7 @@
[% IF attachments.size %]
[% FOREACH attachment = attachments %]
[% IF ((attachment.isprivate == 0) || (Param("insidergroup")
- && UserInGroup(Param("insidergroup")))) %]
+ && user.in_group(Param("insidergroup")))) %]
<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>
@@ -91,7 +91,7 @@
%]
</td>
</tr>
- [% IF (Param("insidergroup") && UserInGroup(Param("insidergroup"))) %]
+ [% IF (Param("insidergroup") && user.in_group(Param("insidergroup"))) %]
<tr>
<th>Privacy:</th>
<td>