summaryrefslogtreecommitdiffstats
path: root/settings/templates/personal.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r--settings/templates/personal.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 55f626aa574..01415a6f9a1 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -87,8 +87,11 @@ if($_['passwordChangeSupported']) {
<form id="avatar">
<fieldset class="personalblock">
<legend><strong><?php p($l->t('Avatar')); ?></strong></legend>
- <img src="<?php print_unescaped(\OC_Avatar::get(\OC_User::getUser())); ?>"><br>
- <button><?php p($l->t('Upload a new avatar')); ?></button>
+ <img src="<?php print_unescaped(\OC_Avatar::get(\OC_User::getUser(), 128)); ?>"><br>
+ <em><?php p($l->t('Your avatar has to be a square and either a PNG or JPG image')); ?></em><br>
+ <div class="inlineblock button" id="uploadavatar"><?php p($l->t('Upload a new avatar')); ?></div>
+ <div class="inlineblock button" id="selectavatar"><?php p($l->t('Select a new avatar from your files')); ?></div>
+ <div class="inlineblock button" id="removeavatar"><?php p($l->t('Remove my avatar')); ?></div>
</fieldset>
</form>
<?php endif; ?>