diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-04-25 19:03:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-25 19:03:29 +0200 |
commit | 504c9df4e7ed126678f146d4c349c798b8338407 (patch) | |
tree | ad886ea19ba4d38cea43ad52faf264da0383db58 /tpl/default/import.html | |
parent | c8cb5c282402e3f19497ba9e57ac967a4bdefa1b (diff) | |
parent | 6a19124a0970dfd5744c4a193b5d907ba85b323e (diff) | |
download | Shaarli-504c9df4e7ed126678f146d4c349c798b8338407.tar.gz Shaarli-504c9df4e7ed126678f146d4c349c798b8338407.tar.zst Shaarli-504c9df4e7ed126678f146d4c349c798b8338407.zip |
Merge pull request #848 from ArthurHoaro/hotfix/upload-maxsize
Use raw bytes for upload size hidden input
Diffstat (limited to 'tpl/default/import.html')
-rw-r--r-- | tpl/default/import.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tpl/default/import.html b/tpl/default/import.html index e6e521e8..1f040685 100644 --- a/tpl/default/import.html +++ b/tpl/default/import.html | |||
@@ -18,6 +18,7 @@ | |||
18 | <div class="center" id="import-field"> | 18 | <div class="center" id="import-field"> |
19 | <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}"> | 19 | <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}"> |
20 | <input type="file" name="filetoupload"> | 20 | <input type="file" name="filetoupload"> |
21 | <p><br>Maximum size allowed: <strong>{$maxfilesizeHuman}</strong></p> | ||
21 | </div> | 22 | </div> |
22 | 23 | ||
23 | <div class="pure-g"> | 24 | <div class="pure-g"> |