Drupal 6.x Login Toboggan link username to my account
Just want to document this as it was fairly difficult to find for some reason. Thanks to http://drupal.org/user/168664 for the solution:
simply add the following php without the php tags to your template.php and change the your-theme to your theme name.
Visit the theme page to reset the cache and you're done.
<?php
function your-theme_lt_loggedinblock(){
global $user;
return l(check_plain($user->name), 'user/' . $user->uid) .' | ' . l(t('Log out'), 'logout');
}
?>