You are here

function theme_lt_username_description in LoginToboggan 6

Same name and namespace in other branches
  1. 5 logintoboggan.module \theme_lt_username_description()
  2. 7 logintoboggan.module \theme_lt_username_description()

Theme the username description of the user login form and the user login block.

1 theme call to theme_lt_username_description()
logintoboggan_form_alter in ./logintoboggan.module
Implementation of hook_form_alter()

File

./logintoboggan.module, line 1348
Logintoboggan Module

Code

function theme_lt_username_description($form_id) {
  switch ($form_id) {
    case 'user_login':

      // The username field's description when shown on the /user/login page.
      return t('You may login with either your assigned username or your e-mail address.');
      break;
    case 'user_login_block':
      return '';
      break;
  }
}