Navigation menu: Add current user's login to the tooltip

This commit is contained in:
Molkobain
2021-08-09 16:28:53 +02:00
parent c8dd8c3806
commit 5926e9d110
17 changed files with 33 additions and 33 deletions

View File

@@ -438,7 +438,7 @@ JS;
// Logon message
$sLogonMessageDictCode = (UserRights::IsAdministrator()) ? 'UI:LoggedAsMessage+Admin' : 'UI:LoggedAsMessage';
$aData['sLogonMessage'] = Dict::Format($sLogonMessageDictCode, UserRights::GetContactFriendlyname());
$aData['sLogonMessage'] = Dict::Format($sLogonMessageDictCode, UserRights::GetContactFriendlyname(), UserRights::GetUser());
$this->aUserData = $aData;