aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2018-05-25 02:13:32 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-08 22:28:49 +0200
commit4ff986f5789b2c7dc5a8b16d8780a5a7ed2ece2d (patch)
tree6ead2602349b481e317c789334060ebe3b31fc50 /phpBB/adm
parent2578a2b9fccfe6b4a8d7fcffd38620d7c4519e4d (diff)
downloadforums-4ff986f5789b2c7dc5a8b16d8780a5a7ed2ece2d.tar
forums-4ff986f5789b2c7dc5a8b16d8780a5a7ed2ece2d.tar.gz
forums-4ff986f5789b2c7dc5a8b16d8780a5a7ed2ece2d.tar.bz2
forums-4ff986f5789b2c7dc5a8b16d8780a5a7ed2ece2d.tar.xz
forums-4ff986f5789b2c7dc5a8b16d8780a5a7ed2ece2d.zip
[ticket/15671] Limit accepted formats for avatar upload
PHPBB3-15671
Diffstat (limited to 'phpBB/adm')
-rw-r--r--phpBB/adm/style/acp_avatar_options_upload.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/style/acp_avatar_options_upload.html b/phpBB/adm/style/acp_avatar_options_upload.html
index 63a734ea7d..75bd1802d4 100644
--- a/phpBB/adm/style/acp_avatar_options_upload.html
+++ b/phpBB/adm/style/acp_avatar_options_upload.html
@@ -1,6 +1,6 @@
<dl>
<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>
<!-- IF S_UPLOAD_AVATAR_URL -->