--- TYPO3core_orig/t3lib/stddb/tables.sql 2005-10-21 10:06:59.000000000 +0200 +++ TYPO3core/t3lib/stddb/tables.sql 2005-10-23 14:37:36.000000000 +0200 @@ -50,6 +50,7 @@ ses_userid int(11) unsigned DEFAULT '0' NOT NULL, ses_tstamp int(11) unsigned DEFAULT '0' NOT NULL, ses_data mediumblob NOT NULL, + ses_backuserid int(11) NOT NULL default '0', PRIMARY KEY (ses_id,ses_name) ); --- TYPO3core_orig/typo3/alt_menu.php 2005-10-21 10:06:59.000000000 +0200 +++ TYPO3core/typo3/alt_menu.php 2005-10-23 19:10:43.000000000 +0200 @@ -162,6 +162,12 @@ '; } + // superuser mode + if($BE_USER->user['ses_backuserid']) { + $username = '
[SU: '.htmlspecialchars($BE_USER->user['username']).']
'; + } else { + $username = '['.htmlspecialchars($BE_USER->user['username']).']
'; + } // Printing bottons (logout button) $this->content.=' @@ -169,8 +175,7 @@ -