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
409d57ca
Commit
409d57ca
authored
Jul 16, 2007
by
Dries
Browse files
- Pach
#154216
by asimmonds and Rok Zlender: FormAPI date element broken.
parent
6993ea05
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/system/system.module
View file @
409d57ca
...
...
@@ -115,7 +115,7 @@ function system_elements() {
$type
[
'checkbox'
]
=
array
(
'#input'
=>
TRUE
,
'#return_value'
=>
1
);
$type
[
'select'
]
=
array
(
'#input'
=>
TRUE
,
'#size'
=>
0
,
'#multiple'
=>
FALSE
);
$type
[
'weight'
]
=
array
(
'#input'
=>
TRUE
,
'#delta'
=>
10
,
'#default_value'
=>
0
,
'#process'
=>
array
(
'process_weight'
));
$type
[
'date'
]
=
array
(
'#input'
=>
TRUE
,
'#process'
=>
array
(
'expand_date'
=>
array
()
),
'#element_validate'
=>
array
(
'date_validate'
));
$type
[
'date'
]
=
array
(
'#input'
=>
TRUE
,
'#process'
=>
array
(
'expand_date'
),
'#element_validate'
=>
array
(
'date_validate'
));
$type
[
'file'
]
=
array
(
'#input'
=>
TRUE
,
'#size'
=>
60
);
// Form structure
...
...
Write
Preview
Supports
Markdown
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