mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-19 21:03:54 -07:00
feat(avatar upload): Added accept="image/*"
attribute (#1841)
This commit is contained in:
parent
4e6aadac8c
commit
56d531aa5d
2 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@
|
||||||
<form action="{S_GROUP_CONFIG_ACTION}" method="post" enctype="multipart/form-data">
|
<form action="{S_GROUP_CONFIG_ACTION}" method="post" enctype="multipart/form-data">
|
||||||
{S_HIDDEN_FIELDS}
|
{S_HIDDEN_FIELDS}
|
||||||
<input type="hidden" name="MAX_FILE_SIZE" value="{$bb_cfg['group_avatars']['max_size']}"/>
|
<input type="hidden" name="MAX_FILE_SIZE" value="{$bb_cfg['group_avatars']['max_size']}"/>
|
||||||
<input type="file" name="avatar"/>
|
<input type="file" name="avatar" accept="image/*"/>
|
||||||
<input class="mainoption" type="submit" name="submit" value="{L_UPLOAD_AVATAR_FILE}"/>
|
<input class="mainoption" type="submit" name="submit" value="{L_UPLOAD_AVATAR_FILE}"/>
|
||||||
</form>
|
</form>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
|
@ -339,7 +339,7 @@
|
||||||
<div class="spacer_4"></div>
|
<div class="spacer_4"></div>
|
||||||
{L_UPLOAD_AVATAR_FILE}:
|
{L_UPLOAD_AVATAR_FILE}:
|
||||||
<input type="hidden" name="MAX_FILE_SIZE" value="{$bb_cfg['avatars']['max_size']}"/>
|
<input type="hidden" name="MAX_FILE_SIZE" value="{$bb_cfg['avatars']['max_size']}"/>
|
||||||
<input type="file" name="avatar"/>
|
<input type="file" name="avatar" accept="image/*"/>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</td>
|
</td>
|
||||||
<td class="tCenter nowrap">
|
<td class="tCenter nowrap">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue