Use raw bytes for upload size hidden input

This commit is contained in:
ArthurHoaro 2017-04-10 20:01:10 +02:00
parent c8cb5c2824
commit 6a19124a09
4 changed files with 35 additions and 7 deletions
tpl/default

View file

@ -18,6 +18,7 @@
<div class="center" id="import-field">
<input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}">
<input type="file" name="filetoupload">
<p><br>Maximum size allowed: <strong>{$maxfilesizeHuman}</strong></p>
</div>
<div class="pure-g">