#564 Show the name of logged user

closed-rejected
nobody
5
2010-09-21
2010-09-17
No

For me it is very useful to see which user is logged now.
1.Please, add user name on top of every page or at least at "Compose" page

echo ' <tr>' . "\n" .//my correction start
html_tag( 'td', '', 'right', $color[4], 'width="10%"' ) .
_("From:") . '</td>' . "\n" .
html_tag( 'td', '', 'left', $color[4], 'width="90%"' ) .
// substr(addInput('send_to', $send_to, 60), 0, -3). $onfocus . ' /><br />' . "\n" .
// Of course, if you add possibility to change a sender name, will be nice
// I'm just affraid to damage anything
'&nbsp;&nbsp;&nbsp;&nbsp;'.$username.
' </td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .//my correction end
html_tag( 'td', '', 'right', $color[4], 'width="10%"' ) .
_("To:") . '</td>' . "\n" .
html_tag( 'td', '', 'left', $color[4], 'width="90%"' ) .
substr(addInput('send_to', $send_to, 60), 0, -3). $onfocus . ' /><br />' . "\n" .
' </td>' . "\n" .
' </tr>' . "\n" .
' <tr>' . "\n" .
html_tag( 'td', '', 'right', $color[4] ) .
_("Cc:") . '</td>' . "\n" .

Discussion

    • status: open --> closed-rejected
     
  • This is exactly what plugins are for, and there are a few that do this. Login Manager puts the username in the title bar. The Username plugin puts it in the left frame above the folders. There may be others...