function user_page_title
Same name and namespace in other branches
- 7.x drupal-7.x/modules/user/user.module \user_page_title()
Menu item title callback - use the user name if it's not the current user.
1 string reference to 'user_page_title'
- user_menu in drupal-6.x/
modules/ user/ user.module - Implementation of hook_menu().
Archivo
- drupal-6.x/
modules/ user/ user.module, line 1229 - Enables the user registration and login system.
Código
function user_page_title($account) {
if ($account->uid == $GLOBALS['user']->uid) {
return t('My account');
}
return $account->name;
}