From: Alexander Ebert Date: Thu, 28 Mar 2024 11:34:56 +0000 (+0100) Subject: Prototype to render files as HTML elements X-Git-Tag: 6.1.0_Alpha_1~85^2^2~56 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=31d2fc9011b28aba65ef1828d574bd988adbc5c8;p=GitHub%2FWoltLab%2FWCF.git Prototype to render files as HTML elements --- diff --git a/com.woltlab.wcf/templates/shared_messageFormAttachments.tpl b/com.woltlab.wcf/templates/shared_messageFormAttachments.tpl index 851dd4cb4f..958dd19742 100644 --- a/com.woltlab.wcf/templates/shared_messageFormAttachments.tpl +++ b/com.woltlab.wcf/templates/shared_messageFormAttachments.tpl @@ -1,13 +1,17 @@
- {@$attachmentHandler->getHtmlElement()} + {unsafe:$attachmentHandler->getHtmlElement()}
-
+
{lang}wcf.attachment.upload.limits{/lang}
+ {foreach from=$attachmentHandler->getAttachmentList() item=attachment} + {unsafe:$attachment->toHtmlElement()} + {/foreach} +