- added #9668 extension template variable to attachment loops for the following assets:

Article,Post,Event,File,Form::Attachments,Folder
This commit is contained in:
Peter Christiansen 2011-07-21 21:42:17 +02:00
parent a4ee31feef
commit fd3346586e
7 changed files with 13 additions and 91 deletions

View file

@ -813,6 +813,7 @@ sub getTemplateVars {
url => $fileUrl,
icon => $storage->getFileIconUrl($filename),
filename => $filename,
extension => WebGUI::Storage->getFileExtension($filename),
thumbnail => $isImage ? $storage->getThumbnailUrl($filename) : '',
isImage => $isImage,
});