summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-09-12 12:23:21 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-09-12 12:23:21 +0200
commitdf528cfe95a8545605248465c60fbb18f60fb557 (patch)
tree1bbff4c5d2fc8b835af1c7dd74a8e2aa9a4ea3e9
parentf31264a0c207c740b0611c04ea03f766509cd54a (diff)
downloadnextcloud-server-df528cfe95a8545605248465c60fbb18f60fb557.tar.gz
nextcloud-server-df528cfe95a8545605248465c60fbb18f60fb557.zip
show the current username. This confused some people
-rw-r--r--core/templates/layout.user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 4fa0fd01360..679be2657d4 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -36,7 +36,7 @@
<body id="<?php echo $_['bodyid'];?>">
<header><div id="header">
<a href="<?php echo link_to('', 'index.php'); ?>" title="" id="owncloud"><img class="svg" src="<?php echo image_path('', 'logo-wide.svg'); ?>" alt="ownCloud" /></a>
- <a class="header-right header-action" 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');?>" src="<?php echo image_path('', 'actions/logout.svg'); ?>" /></a>
+ <a class="header-right header-action" 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'); ?>" /></a>
<form class="searchbox header-right" action="#" method="post">
<input id="searchbox" class="svg" type="search" name="query" value="<?php if(isset($_POST['query'])) {echo OC_Util::sanitizeHTML($_POST['query']);};?>" autocomplete="off" x-webkit-speech />
</form>