From 14ef931618c2fc366ce2c66fe200ced55d2d6a0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Sat, 12 Jan 2019 00:08:02 +0100 Subject: [PATCH] Fix code style issues in template See #2825 --- .../templates/uploadFieldComponent.tpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/com.woltlab.wcf/templates/uploadFieldComponent.tpl b/com.woltlab.wcf/templates/uploadFieldComponent.tpl index f9a9d53e52..2362d74cb7 100644 --- a/com.woltlab.wcf/templates/uploadFieldComponent.tpl +++ b/com.woltlab.wcf/templates/uploadFieldComponent.tpl @@ -2,14 +2,14 @@
{if !$field->supportMultipleFiles() && $field->isImageOnly()} -
{* - *}{if !$files|empty}{* - *}{assign var="file" value=$files|reset}{* - *}{* - *} -
    - {/if}{* - *}
    +
    {* + *}{if !$files|empty}{* + *}{assign var="file" value=$files|reset}{* + *}{* + *} +
      + {/if}{* + *}
      {else}
        @@ -42,7 +42,7 @@ {if $errorType == 'empty'} {lang}wcf.global.form.error.empty{/lang} {else} - {lang __optional="true"}{$errorType}{/lang} + {lang}{$errorType}{/lang} {/if} {/if} -- 2.20.1