From 670c38c78812285bcd5eca02540ea74f66a96b0b Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sat, 14 Jun 2008 09:04:15 +0000 Subject: move getMimeTemplate to new home in LibertySystem and add new method to fetch all templates of a given type --- templates/edit_storage_list.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/edit_storage_list.tpl') 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 @@ {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}
{$storage.filename} {$storage.file_size|display_bytes} -- cgit v1.3