{insertFavIconLink absoluteURLs=1} {insertCSSLink basic=1 weblink="preview" absoluteURLs=1}
{$app.fileInfo.name|safeHTML}
{$app.fileInfo.niceFileSize}
{if $app.isEditable} {if $app.displayMode == 'preview_plugin_frame'} {t}Edit{/t} {else} {t}Preview{/t} {/if} {/if} {if $app.isDownloadable} {if $app.linkInfo.download_terms} {t}Download{/t} {else} {t}Download{/t} {/if} {/if} {if $app.fileComments && sizeof($app.fileComments) > 0} {t}Comments{/t} ({$app.fileComments|count}) {/if} {if $app.showMetadata && $app.metadata} {t}Details{/t} {/if}
{if $app.displayMode == 'preview_plugin_frame' || $app.displayMode == 'edit_plugin_frame'}
{else if $app.displayMode == 'image'}
{else}
{t}No preview available{/t}
{/if}
{if $app.linkInfo.download_terms}
{$app.linkInfo.download_terms|markdown}
{t}Download{/t} {t}Cancel{/t}
{/if} {if $app.fileComments && sizeof($app.fileComments) > 0}
{foreach $app.fileComments AS $p => $comment}
{$comment.val|forHTML|safeHTML} {if $app.showNames} {if $comment.uid != $app.fileComments[$p+1].uid}
{$comment.userInfo.fullName|forHTML|safeHTML}
{/if} {/if}
{if $comment.uid != $app.fileComments[$p+1].uid}
{/if} {/foreach}
{t}Close{/t}
{/if} {if $app.showMetadata}
{foreach $app.metadata.fieldsets AS $fieldset}
{$fieldset.name}
{foreach $fieldset.fields AS $field}
{$field.name|forHTML|safeHTML}: {foreach $field.values AS $fieldValue} {$fieldValue|forHTML|safeHTML} {/foreach}
{/foreach}
{/foreach} {if $app.metadata.tags && sizeof($app.metadata.tags) > 0}
{t}Tags{/t}
{foreach $app.metadata.tags AS $tag} {$tag.v|forHTML|safeHTML} {/foreach}
{/if} {if $app.metadata.rating}
{t}Rating{/t}
{for $i=1 to $app.metadata.rating} ⭐ {/for}
{/if}
{t}Close{/t}
{/if}
{if $app.settings.tracker_codes}{$app.settings.tracker_codes}{/if}