function theme_lt_username_title in LoginToboggan 5
Same name and namespace in other branches
- 6 logintoboggan.module \theme_lt_username_title()
- 7 logintoboggan.module \theme_lt_username_title()
Theme the username title of the user login form and the user login block.
1 theme call to theme_lt_username_title()
- logintoboggan_form_alter in ./logintoboggan.module 
- Implementation of hook_form_alter()
File
- ./logintoboggan.module, line 1100 
- Logintoboggan Module
Code
function theme_lt_username_title($form_id) {
  switch ($form_id) {
    case 'user_login':
      // Label text for the username field on the /user/login page.
      return t('Username or e-mail address');
      break;
    case 'user_login_block':
      // Label text for the username field when shown in a block.
      return t('Username or e-mail');
      break;
  }
}