From: Joshua Rüsweg Date: Fri, 11 Jan 2019 23:08:02 +0000 (+0100) Subject: Fix code style issues in template X-Git-Tag: 5.2.0_Alpha_1~296^2~40 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=14ef931618c2fc366ce2c66fe200ced55d2d6a0f;p=GitHub%2FWoltLab%2FWCF.git Fix code style issues in template See #2825 --- 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}