{if $attachmentList && $attachmentList->getGroupedObjects($objectID)|count} {hascontent} {lang}wcf.attachment.images{/lang} {content} {foreach from=$attachmentList->getGroupedObjects($objectID) item=attachment} {if $attachment->showAsImage() && !$attachment->isEmbedded()} {if $attachment->hasThumbnail()} canDownload()} class="jsImageViewer" title="{$attachment->filename}"{/if}> {else} {/if} {$attachment->filename} {lang}wcf.attachment.image.info{/lang} {/if} {/foreach} {/content} {/hascontent} {hascontent} {lang}wcf.attachment.files{/lang} {content} {foreach from=$attachmentList->getGroupedObjects($objectID) item=attachment} {if $attachment->showAsFile() && !$attachment->isEmbedded()} {$attachment->filename} {lang}wcf.attachment.file.info{/lang} {/if} {/foreach} {/content} {/hascontent} {/if}
{$attachment->filename}