Bug #18200 ยป 20080213_user_label.diff
typo3/backend.php (working copy) | ||
---|---|---|
$label = $GLOBALS['BE_USER']->user['realName'] ?
|
||
$BE_USER->user['realName'].' ['.$BE_USER->user['username'].']' :
|
||
'['.$BE_USER->user['username'].']';
|
||
$BE_USER->user['username'];
|
||
// Link to user setup if it's loaded and user has access
|
||
$link = '';
|
||
... | ... | |
// superuser mode
|
||
if($BE_USER->user['ses_backuserid']) {
|
||
$username = ' su-user">SU: '.$icon.'<span>'.htmlspecialchars($label).'</span>';
|
||
$username = ' su-user">'.$icon.'<span>'.htmlspecialchars($label).'</span>';
|
||
}
|
||
return '<div id="username" class="toolbar-item no-separator'.$username.'</div>';
|