diff options
author | Rubén Calvo <rubencm@gmail.com> | 2018-05-27 13:40:52 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-08 22:29:01 +0200 |
commit | dc9b1c37b163a46b46b79f5b968408ede97e45e8 (patch) | |
tree | 6657b28ad3ffeeac0948d990e353bb4629d8beb8 /phpBB/adm | |
parent | dc397755d52639bf397bfba2c676438ab4f4d43d (diff) | |
download | forums-dc9b1c37b163a46b46b79f5b968408ede97e45e8.tar forums-dc9b1c37b163a46b46b79f5b968408ede97e45e8.tar.gz forums-dc9b1c37b163a46b46b79f5b968408ede97e45e8.tar.bz2 forums-dc9b1c37b163a46b46b79f5b968408ede97e45e8.tar.xz forums-dc9b1c37b163a46b46b79f5b968408ede97e45e8.zip |
[ticket/15671] Rewrite load extensions from a variable instead of harcode it
PHPBB3-15671
Diffstat (limited to 'phpBB/adm')
-rw-r--r-- | phpBB/adm/style/acp_avatar_options_upload.html | 2 |
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 4b067c00f8..666950e0ae 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" accept="{% for EXTENSION in AVATAR_ALLOWED_EXTENSIONS %}.{{ EXTENSION }}{% if not loop.last %},{% endif %}{% endfor %}" /></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="{{ AVATAR_ALLOWED_EXTENSIONS }}" /></dd> </dl> <!-- IF S_UPLOAD_AVATAR_URL --> |