]> source.dussan.org Git - nextcloud-server.git/commitdiff
use translate string for Log out, remove title
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 31 Jan 2013 19:45:59 +0000 (20:45 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 31 Jan 2013 19:45:59 +0000 (20:45 +0100)
core/templates/layout.user.php

index 9354476da0bdc8b3ef24a34ec01a3a5714626fea..de505486f7533c5a3ce16461158386b7a14640e8 100644 (file)
                                <?php foreach($_['settingsnavigation'] as $entry):?>
                                        <li>
                                                <a href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>>
-                                                       <img class="svg" src="<?php echo $entry['icon']; ?>">
+                                                       <img class="svg" alt="" src="<?php echo $entry['icon']; ?>">
                                                        <?php echo $entry['name'] ?>
                                                </a>
                                        </li>
                                <?php endforeach; ?>
                                        <li>
                                                <a id="logout" href="<?php echo link_to('', 'index.php'); ?>?logout=true">
-                                                       <img class="svg" alt="<?php echo $l->t('Log out');?>" title="<?php echo $l->t('Log out');  echo OC_User::getUser()?' ('.OC_User::getUser().') ':'' ?>" src="<?php echo image_path('', 'actions/logout.svg'); ?>" /> Log out
+                                                       <img class="svg" alt="" src="<?php echo image_path('', 'actions/logout.svg'); ?>" /> <?php echo $l->t('Log out');?>
                                                </a>
                                        </li>
                                </div>