mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
Display alert when file selected in filebox is too large #1451
This commit is contained in:
parent
6e2cbbbdfa
commit
a3271c6a40
2 changed files with 4 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
<div class="x_control-group">
|
||||
<label for="file" class="x_control-label">{$lang->file}</label>
|
||||
<div class="x_controls">
|
||||
<input type="file" name="addfile" id="file" />
|
||||
<input type="file" name="addfile" id="file" data-max-filesize="{$max_filesize}" data-max-filesize-error="{lang('file.allowed_filesize_exceeded')|escape}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="btnArea">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue