function theme_lt_username_title in LoginToboggan 7
Same name and namespace in other branches
- 5 logintoboggan.module \theme_lt_username_title()
- 6 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 - Implement hook_form_alter().
File
- ./
logintoboggan.module, line 1228 - LoginToboggan module
Code
function theme_lt_username_title($variables) {
switch ($variables['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;
}
}