mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/15671] Limit accepted formats for avatar upload
PHPBB3-15671
This commit is contained in:
committed by
Marc Alexander
parent
2578a2b9fc
commit
4ff986f578
@@ -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 -->
|
||||||
|
Reference in New Issue
Block a user