summaryrefslogtreecommitdiff
path: root/templates/edit_storage_list.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-06-14 09:04:15 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-06-14 09:04:15 +0000
commit670c38c78812285bcd5eca02540ea74f66a96b0b (patch)
treefdbe214502e9a8334ef9f97b557e8eee82a6784f /templates/edit_storage_list.tpl
parente9978c5c25eed480b222f17aeb4892d3f64ab610 (diff)
downloadliberty-670c38c78812285bcd5eca02540ea74f66a96b0b.tar.gz
liberty-670c38c78812285bcd5eca02540ea74f66a96b0b.tar.bz2
liberty-670c38c78812285bcd5eca02540ea74f66a96b0b.zip
move getMimeTemplate to new home in LibertySystem and add new method to fetch all templates of a given type
Diffstat (limited to 'templates/edit_storage_list.tpl')
-rw-r--r--templates/edit_storage_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_storage_list.tpl b/templates/edit_storage_list.tpl
index 8a7d4f1..d65b85c 100644
--- a/templates/edit_storage_list.tpl
+++ b/templates/edit_storage_list.tpl
@@ -30,7 +30,7 @@
<tr class="{cycle values="odd,even"}">
<td style="text-align:center;">
{if $storage.is_mime}
- {include file=$gContent->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) area=$area 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>