function theme_lt_password_description in LoginToboggan 7
Same name and namespace in other branches
- 5 logintoboggan.module \theme_lt_password_description()
- 6 logintoboggan.module \theme_lt_password_description()
Theme the password description of the user login form and the user login block.
1 theme call to theme_lt_password_description()
- logintoboggan_form_alter in ./
logintoboggan.module - Implement hook_form_alter().
File
- ./
logintoboggan.module, line 1271 - LoginToboggan module
Code
function theme_lt_password_description($variables) {
switch ($variables['form_id']) {
case 'user_login':
// The password field's description on the /user/login page.
return t('The password field is case sensitive.');
break;
case 'user_login_block':
// If showing the login form in a block, don't print any descriptive text.
return '';
break;
}
}