diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-10-27 15:51:37 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-10-27 15:51:37 +0100 |
commit | f6448779ad500d4f50ccf49c1c2a7dd156cc418b (patch) | |
tree | 257cc31f9e42ef2c817f04e6cdbb4d86f69013ab /apps/settings/templates | |
parent | ca1dc0009dfde447c90db826465defbb156966da (diff) | |
download | nextcloud-server-f6448779ad500d4f50ccf49c1c2a7dd156cc418b.tar.gz nextcloud-server-f6448779ad500d4f50ccf49c1c2a7dd156cc418b.zip |
Specify accept argument to avatar upload input field
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r-- | apps/settings/templates/settings/personal/personal.info.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/templates/settings/personal/personal.info.php b/apps/settings/templates/settings/personal/personal.info.php index 381ab9a57a0..b78c162c6c9 100644 --- a/apps/settings/templates/settings/personal/personal.info.php +++ b/apps/settings/templates/settings/personal/personal.info.php @@ -53,7 +53,7 @@ script('settings', [ <label for="uploadavatar" class="inlineblock button icon-upload svg" id="uploadavatarbutton" title="<?php p($l->t('Upload new')); ?>"></label> <div class="inlineblock button icon-folder svg" id="selectavatar" title="<?php p($l->t('Select from Files')); ?>"></div> <div class="hidden button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div> - <input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield"> + <input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield" accept="image/*"> <p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p> <?php else: ?> <?php p($l->t('Picture provided by original account')); ?> |