You are here

function theme_lt_username_description in LoginToboggan 7

Same name and namespace in other branches
  1. 5 logintoboggan.module \theme_lt_username_description()
  2. 6 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
Implement hook_form_alter().

File

./logintoboggan.module, line 1246
LoginToboggan module

Code

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

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