Sorry, not sure how to correctly refer to it. It's part of the new Manager menu in 2.3.
/manager/templates/default/header.tpl has:
<ul id="modx-user-menu">
{* eval is used here to support nested variables *}
{eval var=$userNav}
</ul>
$userNav seems to be build from the database table, which also has a UI under the "Admin" (gear) menu->menus. The "icon" field for the "user" item has:
<span id="user-avatar">{$userImage}</span> <span id="user-username">{$username}</span>
And the {$username} placeholder is being set in /manager/controllers/default/header.php:
/**
* Set a bunch of placeholders to be used within Smarty templates
*
* @return void
*/
public function setPlaceholders()
{
$placeholders = array(
'username' => $this->modx->getLoginUserName(),
'userImage' => $this->getUserImage(),
);
$this->controller->setPlaceholders($placeholders);
}
I tried your suggestions but it looks like that part of the manager UI isn't processing MODx tags at all.