Project

General

Profile

Bug #18055 » linkToSetupIf Allowed.diff

Administrator Admin, 2008-02-03 17:51

View differences:

typo3/backend.php (working copy)
$BE_USER->user['realName'].' ['.$BE_USER->user['username'].']' :
'['.$BE_USER->user['username'].']';
$username = '"><a href="#" onclick="top.goToModule(\'user_setup\');this.blur();return false;">'
//link to user setup if it's loaded and user has access
if (t3lib_extMgm::isLoaded('setup') && $BE_USER->check('modules','setup')) {
$username = '"><a href="#" onclick="top.goToModule(\'user_setup\');this.blur();return false;">'
. $icon.'<span>'.htmlspecialchars($label) . '</span></a>';
} else {
$username = '">'. $icon.'<span>'.htmlspecialchars($label) . '</span>';
}
// superuser mode
if($BE_USER->user['ses_backuserid']) {
......
$TYPO3backend->render();
?>
?>
(3-3/3)