mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/15671] Limit accepted formats for avatar upload
PHPBB3-15671
This commit is contained in:
parent
1b11013988
commit
75220fe13d
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="avatar_upload_file">{L_UPLOAD_AVATAR_FILE}{L_COLON}</label></dt>
|
<dt><label for="avatar_upload_file">{L_UPLOAD_AVATAR_FILE}{L_COLON}</label></dt>
|
||||||
<dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_UPLOAD_SIZE}" /><input type="file" name="avatar_upload_file" id="avatar_upload_file" class="inputbox autowidth" /></dd>
|
<dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_UPLOAD_SIZE}" /><input type="file" name="avatar_upload_file" id="avatar_upload_file" class="inputbox autowidth" accept=".gif,.jpg,.jpeg,.png" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<!-- IF S_UPLOAD_AVATAR_URL -->
|
<!-- IF S_UPLOAD_AVATAR_URL -->
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="avatar_upload_file">{L_UPLOAD_AVATAR_FILE}{L_COLON}</label></dt>
|
<dt><label for="avatar_upload_file">{L_UPLOAD_AVATAR_FILE}{L_COLON}</label></dt>
|
||||||
<dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_UPLOAD_SIZE}" /><input type="file" name="avatar_upload_file" id="avatar_upload_file" class="inputbox autowidth" /></dd>
|
<dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_UPLOAD_SIZE}" /><input type="file" name="avatar_upload_file" id="avatar_upload_file" class="inputbox autowidth" accept=".gif,.jpg,.jpeg,.png" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<!-- IF S_UPLOAD_AVATAR_URL -->
|
<!-- IF S_UPLOAD_AVATAR_URL -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue