From f927e668629d7b725c13a8d9530bcc9cf168153c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 10 Jan 2007 09:57:46 +0000 Subject: - Patch #107966 by Ralf: consistent length of textfields. --- modules/user/user.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/user/user.module b/modules/user/user.module index 2f9398803..34e935daa 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -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, ); -- cgit v1.2.3