diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-10-08 06:52:35 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-10-08 06:52:35 +0000 |
| commit | a3422306cec379a5674c751487653b57172e1b92 (patch) | |
| tree | 92f1a4571e5111488af2af63304b37adfa639596 /templates | |
| parent | 5eb7f1883fbd6dee766dffe72229bfa1fe8f4029 (diff) | |
| download | liberty-a3422306cec379a5674c751487653b57172e1b92.tar.gz liberty-a3422306cec379a5674c751487653b57172e1b92.tar.bz2 liberty-a3422306cec379a5674c751487653b57172e1b92.zip | |
clean up display and use mime_meta_inc.tpl to display attachment details
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/attachments.tpl | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/templates/attachments.tpl b/templates/attachments.tpl index 5cf42ad..ed290c8 100644 --- a/templates/attachments.tpl +++ b/templates/attachments.tpl @@ -23,8 +23,6 @@ {/form} {/if} - {formfeedback warning="Checking for attachment usage in content can take a while depending on the amount of content on this site - if there is a lot of content, it might not be possible at all."} - {if $smarty.request.attachment_id} <ul class="data" id="usage"> <li>{tr}Attachment ID {$smarty.request.attachment_id} is used in the following content{/tr}: @@ -46,28 +44,19 @@ <table class="data"> <caption>{tr}Liberty Attachments{/tr}</caption> <tr> - <th style="width:1px"></th> + <th class="width1p"></th> <th>{tr}Details{/tr}</th> - <th>{tr}Actions{/tr}</th> </tr> {foreach from=$attachments item=attachment} <tr class="{cycle values="odd,even"}"> <td style="text-align:center"> - <a href="{$attachment.source_url}"> + <a href="{$attachment.display_url}"> <img src="{$attachment.thumbnail_url.small}" alt="{$attachment.filename}" title="{tr}Attachment Thumbnail{/tr}" /> </a> </td> <td> - {tr}Owner{/tr}: {displayname hash=$attachment} - <br /> - {tr}Size{/tr}: {$attachment.file_size|display_bytes} - <br /> - {tr}Wiki plugin link{/tr}: {$attachment.wiki_plugin_link} - </td> - - <td class="actionicon"> - {smartlink ititle="Check Attachment Usage" ibiticon="icons/format-justify-fill" attachment_id=$attachment.attachment_id} + {include file="bitpackage:liberty/mime_meta_inc.tpl" display=1 nohelp=1} </td> </tr> {foreachelse} |
