add empty alt text for user image

remotes/origin/fix-10825
Jan-Christoph Borchardt 12 years ago
parent edc8967c93
commit 4eecb98b38
  1. 3
      core/templates/layout.user.php

@ -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; ?>

Loading…
Cancel
Save