show logged-in user

This commit is contained in:
Roland Gruber 2011-08-21 17:55:58 +00:00
parent 7e8b4679cd
commit fdfde9bb04
1 changed files with 7 additions and 0 deletions

View File

@ -102,6 +102,13 @@ foreach ($toSort as $key => $value) {
echo " - " . LAMVersion();
?>
</a>
<?php
echo '&nbsp;&nbsp;<small>';
$userData = $_SESSION['ldap']->decrypt_login();
printf('(' . _('Logged in as: %s') . ')', getAbstractDN($userData[0]));
$userData = null;
echo '</small>';
?>
</td>
<td align="right" height=30>
<ul id="dropmenu" class="dropmenu">