diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-12-26 08:54:19 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-12-26 08:54:19 +0000 |
| commit | 97628905df259433220f551a1e9388f42d254b23 (patch) | |
| tree | 0fb5cad4074e0ebfa8ffe0dc2ccd14e6dbb5e6e6 /templates/edit_storage_list.tpl | |
| parent | 07fae7bc3dceabb76e5bb1c00d9ed7d36ac849d5 (diff) | |
| download | liberty-97628905df259433220f551a1e9388f42d254b23.tar.gz liberty-97628905df259433220f551a1e9388f42d254b23.tar.bz2 liberty-97628905df259433220f551a1e9388f42d254b23.zip | |
split storage and attachment templates into separate templates for easier maintenance and better control.
Diffstat (limited to 'templates/edit_storage_list.tpl')
| -rw-r--r-- | templates/edit_storage_list.tpl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl index 768ca45..180a6e0 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -8,7 +8,8 @@ <table class="data" summary="List of attached files"> <caption>{tr}Items {if $libertyUploader && empty($gContent->mContentId)}That Will Be{/if} Attached Directly to this Content{/tr}</caption> <tr> - <th scope="col" class="width30p" title="{tr}Thumbnail{/tr}">{tr}Thumbnail{/tr}</th> + <th scope="col" class="width1p" title="{tr}Attachment ID{/tr}">{tr}Attachment ID{/tr}</th> + <th scope="col" class="width29p" title="{tr}Thumbnail{/tr}">{tr}Thumbnail{/tr}</th> <th scope="col" class="width40p" title="{tr}Inclusion Code{/tr}">{tr}Inclusion Code{/tr}</th> <th scope="col" class="width30p" title="{tr}Actions{/tr}">{tr}Actions{/tr}</th> </tr> @@ -27,9 +28,12 @@ {foreach from=$gContent->mStorage item=storage key=attachmentId name=atts} <tr class="{cycle values="odd,even"}"> + <td> + {$storage.attachment_id} + </td> <td class="aligncenter"> {if $storage.is_mime} - {include file=$gLibertySystem->getMimeTemplate('inline',$storage.attachment_plugin_guid) display_type=storage_thumbs thumbsize=small preferences=$gContent->mStoragePrefs.$attachmentId attachment=$storage} + {include file=$gLibertySystem->getMimeTemplate('storage',$storage.attachment_plugin_guid) thumbsize=small preferences=$gContent->mStoragePrefs.$attachmentId attachment=$storage} {else} {jspopup href=$storage.source_url title=$storage.title|default:$storage.filename notra=1 img=$storage.thumbnail_url.avatar} <br />{$storage.filename} <span class="date">{$storage.file_size|display_bytes}</span> |
