use translate string for Log out, remove title

This commit is contained in:
Jan-Christoph Borchardt 2013-01-31 20:45:59 +01:00
parent 6d560be564
commit 45865b45c4
1 changed files with 2 additions and 2 deletions

View File

@ -39,14 +39,14 @@
<?php foreach($_['settingsnavigation'] as $entry):?> <?php foreach($_['settingsnavigation'] as $entry):?>
<li> <li>
<a href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>> <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'] ?> <?php echo $entry['name'] ?>
</a> </a>
</li> </li>
<?php endforeach; ?> <?php endforeach; ?>
<li> <li>
<a id="logout" href="<?php echo link_to('', 'index.php'); ?>?logout=true"> <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> </a>
</li> </li>
</div> </div>