Project

General

Profile

Bug #18200 ยป 20080213_user_label.diff

Administrator Admin, 2008-02-13 09:46

View differences:

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>';
    (1-1/1)