- Patch #107966 by Ralf: consistent length of textfields.

5.x
Dries Buytaert 2007-01-10 09:57:46 +00:00
parent 6073b7601d
commit f927e66862
1 changed files with 2 additions and 2 deletions

View File

@ -893,7 +893,7 @@ function user_login($msg = '') {
}
$form['name'] = array('#type' => 'textfield',
'#title' => t('Username'),
'#size' => 30,
'#size' => 60,
'#maxlength' => USERNAME_MAX_LENGTH,
'#required' => TRUE,
'#attributes' => array('tabindex' => '1'),
@ -1030,7 +1030,7 @@ function user_pass() {
// Display form:
$form['name'] = array('#type' => 'textfield',
'#title' => t('Username or e-mail address'),
'#size' => 30,
'#size' => 60,
'#maxlength' => max(USERNAME_MAX_LENGTH, EMAIL_MAX_LENGTH),
'#required' => TRUE,
);