Move the file list under the input field
authorCyperghost <olaf_schmitz_1@t-online.de>
Thu, 20 Jun 2024 11:34:09 +0000 (13:34 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Thu, 20 Jun 2024 11:34:09 +0000 (13:34 +0200)
com.woltlab.wcf/templates/shared_fileProcessorFormField.tpl

index 678d5bb0d6ddfd263908ea89f614dcb429d20f68..4de1018743c3acd4d8a4ff1804791253702a9ff9 100644 (file)
@@ -1,3 +1,5 @@
+{unsafe:$fileProcessorHtmlElement}
+
 {assign var="files" value=$field->getFiles()}
 {if $field->isSingleFileUpload() && $imageOnly}
        <div class="fileUpload__preview">
@@ -16,8 +18,6 @@
        </ul>
 {/if}
 
-{unsafe:$fileProcessorHtmlElement}
-
 <script data-relocate="true">
        {jsphrase name='wcf.global.button.replace'}