summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-07-26 12:20:11 +0200
committerkondou <kondou@ts.unde.re>2013-08-25 21:02:43 +0200
commit4a08f7d710ced1c564e05471e1f873ecfb9ca161 (patch)
tree3286d872ac9ad55d037e897a3da5e7425c6ca52b /core/templates
parentb8965c6107a908db705fde55e0606998ccbf02e4 (diff)
downloadnextcloud-server-4a08f7d710ced1c564e05471e1f873ecfb9ca161.tar.gz
nextcloud-server-4a08f7d710ced1c564e05471e1f873ecfb9ca161.zip
Add basic avatars and gravatar
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 3c1114492cb..038264bd064 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -47,6 +47,7 @@
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
<ul id="settings" class="svg">
<span id="expand" tabindex="0" role="link">
+ <?php if (isset($_['avatar'])) { print_unescaped($_['avatar']); } ?>
<span id="expandDisplayName"><?php p(trim($_['user_displayname']) != '' ? $_['user_displayname'] : $_['user_uid']) ?></span>
<img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" />
</span>