function theme_lt_password_description in LoginToboggan 6
Same name and namespace in other branches
- 5 logintoboggan.module \theme_lt_password_description()
- 7 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 - Implementation of hook_form_alter()
File
- ./
logintoboggan.module, line 1373 - Logintoboggan Module
Code
function theme_lt_password_description($form_id) {
switch ($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;
}
}