add empty alt text for user image

This commit is contained in:
Jan-Christoph Borchardt 2014-12-17 11:52:45 +01:00
parent edc8967c93
commit 4eecb98b38
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@
<?php if ($_['enableAvatars']): ?>
<div class="avatardiv<?php if ($_['userAvatarSet']) { print_unescaped(' avatardiv-shown"'); } else { print_unescaped('" style="display: none"'); } ?>>
<?php if ($_['userAvatarSet']): ?>
<img src="<?php p(link_to('', 'index.php').'/avatar/'.$_['user_uid'].'/32?requesttoken='.$_['requesttoken']); ?>">
<img src="<?php p(link_to('', 'index.php').'/avatar/'.$_['user_uid'].'/32?requesttoken='.$_['requesttoken']); ?>"
alt="" />
<?php endif; ?>
</div>
<?php endif; ?>