]> source.dussan.org Git - nextcloud-server.git/commitdiff
add empty alt text for user image
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 17 Dec 2014 10:52:45 +0000 (11:52 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 17 Dec 2014 10:52:45 +0000 (11:52 +0100)
core/templates/layout.user.php

index d8129ecfc670ea32938be15276cc4d3efe5689c0..0a2bf63a89ef1cd92989bbd2f38e02ac485c5294 100644 (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; ?>