summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-08-29 14:26:11 +0200
committerkondou <kondou@ts.unde.re>2013-08-29 14:26:11 +0200
commit0c708be76bd7c7449779ef12e48e99d9c2cd3d82 (patch)
treee58bdf611bb96f3f73d469d9a65179dbc1f1838e /settings/templates
parente66113f50d9e39e3e370be0e714669f2917f9ccf (diff)
downloadnextcloud-server-0c708be76bd7c7449779ef12e48e99d9c2cd3d82.tar.gz
nextcloud-server-0c708be76bd7c7449779ef12e48e99d9c2cd3d82.zip
Use defaultavatars
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php2
-rw-r--r--settings/templates/users.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index b94b8452585..c488623a088 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -83,7 +83,7 @@ if($_['passwordChangeSupported']) {
<form id="avatar" method="post" action="<?php p(\OC_Helper::linkToRoute('core_avatar_post')); ?>">
<fieldset class="personalblock">
<legend><strong><?php p($l->t('Profile Image')); ?></strong></legend>
- <img src="<?php print_unescaped(\OC_Helper::linkToRoute('core_avatar_get').'/'.OC_User::getUser().'/128'); ?>"><br>
+ <div class="avatardiv"></div><br>
<em><?php p($l->t('Has to be square and either PNG or JPG')); ?></em><br>
<div class="warning hidden"></div>
<div class="inlineblock button" id="uploadavatarbutton"><?php p($l->t('Upload new')); ?></div>
diff --git a/settings/templates/users.php b/settings/templates/users.php
index 32ca6e0b106..2fe0b83cf33 100644
--- a/settings/templates/users.php
+++ b/settings/templates/users.php
@@ -97,7 +97,7 @@ $_['subadmingroups'] = array_flip($items);
<?php foreach($_["users"] as $user): ?>
<tr data-uid="<?php p($user["name"]) ?>"
data-displayName="<?php p($user["displayName"]) ?>">
- <td class="avatar"><img src="<?php print_unescaped(\OC_Helper::linkToRoute('core_avatar_get')); ?>/<?php p($user['name']); ?>/32"></td>
+ <td class="avatar"><div class="avatardiv"></div></td>
<td class="name"><?php p($user["name"]); ?></td>
<td class="displayName"><span><?php p($user["displayName"]); ?></span> <img class="svg action"
src="<?php p(image_path('core', 'actions/rename.svg'))?>"