summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-21 10:33:03 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 11:29:33 +0100
commit78f6e29954ed3c0e868d4eccdc95e4b6e8febdea (patch)
tree737dfeae036156db3b29fec0ebfb61e403ca83d9 /settings/templates
parent20739c93a680d7085d0e71c0e4f9c0bb24018fb9 (diff)
downloadnextcloud-server-78f6e29954ed3c0e868d4eccdc95e4b6e8febdea.tar.gz
nextcloud-server-78f6e29954ed3c0e868d4eccdc95e4b6e8febdea.zip
Add federation scope to the user avatar
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 3f59954b6dd..d1eebe1aacd 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -32,10 +32,14 @@
</div>
</div>
+<div id="personal-settings">
<?php if ($_['enableAvatars']): ?>
<div id="personal-settings-avatar-container">
- <form id="avatar" class="section" method="post" action="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.avatar.postAvatar')); ?>">
- <h2><?php p($l->t('Profile picture')); ?></h2>
+ <form id="avatarform" class="section" method="post" action="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.avatar.postAvatar')); ?>">
+ <h2>
+ <label><?php p($l->t('Profile picture')); ?></label>
+ <span class="icon-loading"/>
+ </h2>
<div id="displayavatar">
<div class="avatardiv"></div>
<div class="warning hidden"></div>
@@ -54,6 +58,7 @@
<div class="inlineblock button" id="abortcropperbutton"><?php p($l->t('Cancel')); ?></div>
<div class="inlineblock button primary" id="sendcropperbutton"><?php p($l->t('Choose as profile picture')); ?></div>
</div>
+ <input type="hidden" id="avatarscope" value="<?php p($_['avatarScope']) ?>">
</form>
</div>
<?php endif; ?>
@@ -187,6 +192,7 @@ if($_['displayNameChangeSupported']) {
<?php
}
?>
+</div>
<div id="groups" class="section">
<h2><?php p($l->t('Groups')); ?></h2>