From: Joshua Rüsweg Date: Tue, 8 Jan 2019 22:07:42 +0000 (+0100) Subject: Fix typo in filename X-Git-Tag: 5.2.0_Alpha_1~296^2~48 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1af2bdf1ff839f8dd0126c756dd8bc84c532b916;p=GitHub%2FWoltLab%2FWCF.git Fix typo in filename See #2825 --- diff --git a/com.woltlab.wcf/templates/uploadFIeldComponent.tpl b/com.woltlab.wcf/templates/uploadFIeldComponent.tpl deleted file mode 100644 index f9a9d53e52..0000000000 --- a/com.woltlab.wcf/templates/uploadFIeldComponent.tpl +++ /dev/null @@ -1,67 +0,0 @@ - -
-
- {if !$field->supportMultipleFiles() && $field->isImageOnly()} -
{* - *}{if !$files|empty}{* - *}{assign var="file" value=$files|reset}{* - *}{* - *} -
    - {/if}{* - *}
    - {else} -
    -
      - {foreach from=$files item=file} -
    • - - -
      -
      -

      {$file->getFilename()}

      - {@$file->filesize|filesize} -
      - -
        - - {if $errorField == $file->getUniqueFileId()} - {lang __optional="true"}{$errorType}{/lang} - {/if} -
        -
      • - {/foreach} -
      -
      - {/if} - -
      - - {if $errorField == $fieldId} - - {if $errorType == 'empty'} - {lang}wcf.global.form.error.empty{/lang} - {else} - {lang __optional="true"}{$errorType}{/lang} - {/if} - - {/if} - - -
      - - - \ No newline at end of file diff --git a/com.woltlab.wcf/templates/uploadFieldComponent.tpl b/com.woltlab.wcf/templates/uploadFieldComponent.tpl new file mode 100644 index 0000000000..f9a9d53e52 --- /dev/null +++ b/com.woltlab.wcf/templates/uploadFieldComponent.tpl @@ -0,0 +1,67 @@ + +
      +
      + {if !$field->supportMultipleFiles() && $field->isImageOnly()} +
      {* + *}{if !$files|empty}{* + *}{assign var="file" value=$files|reset}{* + *}{* + *} +
        + {/if}{* + *}
        + {else} +
        +
          + {foreach from=$files item=file} +
        • + + +
          +
          +

          {$file->getFilename()}

          + {@$file->filesize|filesize} +
          + +
            + + {if $errorField == $file->getUniqueFileId()} + {lang __optional="true"}{$errorType}{/lang} + {/if} +
            +
          • + {/foreach} +
          +
          + {/if} + +
          + + {if $errorField == $fieldId} + + {if $errorType == 'empty'} + {lang}wcf.global.form.error.empty{/lang} + {else} + {lang __optional="true"}{$errorType}{/lang} + {/if} + + {/if} + + +
          + + + \ No newline at end of file