diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-07-03 07:43:23 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-07-03 07:43:23 +0000 |
| commit | 17172d49b8744c96510521d873dc0f135756e92c (patch) | |
| tree | 4f7bec427e2a5fcdbf91bf712945c3966e14fe37 /templates/edit_storage_list.tpl | |
| parent | 9a40c7f97e93bf184eed76498bdac29bb1835864 (diff) | |
| download | liberty-17172d49b8744c96510521d873dc0f135756e92c.tar.gz liberty-17172d49b8744c96510521d873dc0f135756e92c.tar.bz2 liberty-17172d49b8744c96510521d873dc0f135756e92c.zip | |
a lot of fixes and updates. rename $area to $display_type and reduce these to storage_thumbs instead of 3 different ones. use media_url instead of audio_url and video_url. get {attachment} display options working with audio and flv plugins.
Diffstat (limited to 'templates/edit_storage_list.tpl')
| -rw-r--r-- | templates/edit_storage_list.tpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl index d65b85c..55240a6 100644 --- a/templates/edit_storage_list.tpl +++ b/templates/edit_storage_list.tpl @@ -22,7 +22,6 @@ <input type="radio" name="liberty_attachments[primary]" value="none" {if empty($gContent->mInfo[primary])}checked="checked"{/if} /> </label> </td> - {assign var=area value=upload_tab} {/if} </tr> @@ -30,7 +29,7 @@ <tr class="{cycle values="odd,even"}"> <td style="text-align:center;"> {if $storage.is_mime} - {include file=$gLibertySystem->getMimeTemplate('inline',$storage.attachment_plugin_guid) area=$area thumbsize=small preferences=$gContent->mStoragePrefs.$attachmentId attachment=$storage} + {include file=$gLibertySystem->getMimeTemplate('inline',$storage.attachment_plugin_guid) display_type=storage_thumbs 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> |
