summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-01 18:17:14 +0200
committerkondou <kondou@ts.unde.re>2013-09-01 18:17:14 +0200
commit76b1b5b6a31f8241a369f45da4de99a6dd71e2eb (patch)
treeb36611245988e48707fefde1696d504f7913592f /core/templates
parentab70b8c26e40174f637a6ecbce7bbabc12519b7e (diff)
downloadnextcloud-server-76b1b5b6a31f8241a369f45da4de99a6dd71e2eb.tar.gz
nextcloud-server-76b1b5b6a31f8241a369f45da4de99a6dd71e2eb.zip
Provide 'enable_avatars' in config.php, to disable avatars
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/layout.user.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index c67df07bd41..3a46680c3fc 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -46,7 +46,9 @@
src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="<?php p($theme->getName()); ?>" /></a>
<div id="logo-claim" style="display:none;"><?php p($theme->getLogoClaim()); ?></div>
+ <?php if (\OC_Config::getValue('enable_avatars', true) === true): ?>
<div class="avatardiv"></div>
+ <?php endif; ?>
<ul id="settings" class="svg">
<span id="expand" tabindex="0" role="link">