summaryrefslogtreecommitdiff
path: root/templates/view_image.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-05-02 14:47:54 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-05-02 14:47:54 +0000
commit6afda68ebaa03bd7a3fc2a61c9e01df78bfbf238 (patch)
tree7c7414fdb977b058fcf0573b88f5dec4ab6bd15a /templates/view_image.tpl
parent11be090c422c402610f70ec789c36ef783a8ef7e (diff)
downloadfisheye-6afda68ebaa03bd7a3fc2a61c9e01df78bfbf238.tar.gz
fisheye-6afda68ebaa03bd7a3fc2a61c9e01df78bfbf238.tar.bz2
fisheye-6afda68ebaa03bd7a3fc2a61c9e01df78bfbf238.zip
use centralised attachment help template for centralised attachment text help for a unified layout and helptext
Diffstat (limited to 'templates/view_image.tpl')
-rw-r--r--templates/view_image.tpl8
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/view_image.tpl b/templates/view_image.tpl
index c4fe40a..3d0a58a 100644
--- a/templates/view_image.tpl
+++ b/templates/view_image.tpl
@@ -41,13 +41,7 @@
{/if}
</div>
- {if $gBitUser->hasPermission( 'p_liberty_attach_attachments' )}
- {assign var=reqsize value=$smarty.request.size}
- <p class="formhelp">
- {tr}To include this file in a wiki page, blog post, article &hellip;, use the following string{/tr}:
- <input size="32" value="{ldelim}attachment{if $reqsize neq ''} size={$reqsize}{/if} id={$gContent->mInfo.image_file.attachment_id}{rdelim}" />
- </p>
- {/if}
+ {attachhelp hash=$gContent->mInfo.image_file}
</div> <!-- end .body -->
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo}