summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2007-06-16 10:16:35 +0000
committerLester Caine <lester@lsces.co.uk>2007-06-16 10:16:35 +0000
commite855d39b33c991fe21e8d78fccd47b0bca7cdbf2 (patch)
treee96b2e7123ca86a6b07b4184bb1aa489dcf5e9e9 /templates
parent5dd8114b0fee0d343c69f033e3980f4a5813b495 (diff)
downloadpigeonholes-e855d39b33c991fe21e8d78fccd47b0bca7cdbf2.tar.gz
pigeonholes-e855d39b33c991fe21e8d78fccd47b0bca7cdbf2.tar.bz2
pigeonholes-e855d39b33c991fe21e8d78fccd47b0bca7cdbf2.zip
Bring Attachment Browser under p_liberty_attach_attachments control
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_pigeonholes.tpl16
1 files changed, 9 insertions, 7 deletions
diff --git a/templates/edit_pigeonholes.tpl b/templates/edit_pigeonholes.tpl
index 1161aac..e558558 100644
--- a/templates/edit_pigeonholes.tpl
+++ b/templates/edit_pigeonholes.tpl
@@ -109,14 +109,16 @@
{/legend}
{/jstab}
- {jstab title="Attachments"}
- <div class=row>
- {legend legend="Attachments"}
- {include file="bitpackage:liberty/edit_storage.tpl"}
+ {if $gBitUser->hasPermission('p_liberty_attach_attachments') }
+ {jstab title="Attachments"}
+ <div class=row>
+ {legend legend="Attachments"}
+ {include file="bitpackage:liberty/edit_storage.tpl"}
- {/legend}
- </div>
- {/jstab}
+ {/legend}
+ </div>
+ {/jstab}
+ {/if}
{/jstabs}
{/form}