Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
7f5f3ac6
Commit
7f5f3ac6
authored
Oct 18, 2005
by
Dries
Browse files
- Patch
#34052
by webchick: fixed typo in form code.
parent
1c0b9465
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/system.module
View file @
7f5f3ac6
...
...
@@ -59,7 +59,7 @@ function system_elements() {
// Inputs
$type
[
'checkbox'
]
=
array
(
'#input'
=>
TRUE
,
'#return_value'
=>
1
);
$type
[
'submit'
]
=
array
(
'#input'
=>
TRUE
,
'#name'
=>
'op'
,
'#button_type'
=>
'submit'
,
'#execute'
=>
TRUE
);
$type
[
'button'
]
=
array
(
'#input'
=>
TRUE
,
'#name'
=>
'op'
,
'#button_type'
=>
'submit'
,
exe
x
ute
=>
FALSE
);
$type
[
'button'
]
=
array
(
'#input'
=>
TRUE
,
'#name'
=>
'op'
,
'#button_type'
=>
'submit'
,
'#
exe
c
ute
'
=>
FALSE
);
$type
[
'textfield'
]
=
array
(
'#input'
=>
TRUE
,
'#size'
=>
60
,
'#maxlength'
=>
70
,
'#autocomplete_path'
=>
FALSE
);
$type
[
'password'
]
=
array
(
'#input'
=>
TRUE
,
'#size'
=>
60
,
'#maxlength'
=>
70
);
$type
[
'textarea'
]
=
array
(
'#input'
=>
TRUE
,
'#cols'
=>
60
,
'#rows'
=>
20
);
...
...
modules/system/system.module
View file @
7f5f3ac6
...
...
@@ -59,7 +59,7 @@ function system_elements() {
// Inputs
$type
[
'checkbox'
]
=
array
(
'#input'
=>
TRUE
,
'#return_value'
=>
1
);
$type
[
'submit'
]
=
array
(
'#input'
=>
TRUE
,
'#name'
=>
'op'
,
'#button_type'
=>
'submit'
,
'#execute'
=>
TRUE
);
$type
[
'button'
]
=
array
(
'#input'
=>
TRUE
,
'#name'
=>
'op'
,
'#button_type'
=>
'submit'
,
exe
x
ute
=>
FALSE
);
$type
[
'button'
]
=
array
(
'#input'
=>
TRUE
,
'#name'
=>
'op'
,
'#button_type'
=>
'submit'
,
'#
exe
c
ute
'
=>
FALSE
);
$type
[
'textfield'
]
=
array
(
'#input'
=>
TRUE
,
'#size'
=>
60
,
'#maxlength'
=>
70
,
'#autocomplete_path'
=>
FALSE
);
$type
[
'password'
]
=
array
(
'#input'
=>
TRUE
,
'#size'
=>
60
,
'#maxlength'
=>
70
);
$type
[
'textarea'
]
=
array
(
'#input'
=>
TRUE
,
'#cols'
=>
60
,
'#rows'
=>
20
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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