Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f927e668
Commit
f927e668
authored
Jan 10, 2007
by
Dries Buytaert
Browse files
- Patch
#107966
by Ralf: consistent length of textfields.
parent
6073b760
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/user/user.module
View file @
f927e668
...
...
@@ -893,7 +893,7 @@ function user_login($msg = '') {
}
$form
[
'name'
]
=
array
(
'#type'
=>
'textfield'
,
'#title'
=>
t
(
'Username'
),
'#size'
=>
3
0
,
'#size'
=>
6
0
,
'#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'
=>
3
0
,
'#size'
=>
6
0
,
'#maxlength'
=>
max
(
USERNAME_MAX_LENGTH
,
EMAIL_MAX_LENGTH
),
'#required'
=>
TRUE
,
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment