Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
8f0620d7
Commit
8f0620d7
authored
Nov 13, 2006
by
Martyn Smith
Committed by
Martyn Smith
Nov 13, 2006
Browse files
Added comments
parent
2ee689c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/form/elements/date.php
View file @
8f0620d7
...
...
@@ -68,6 +68,7 @@ function form_render_date($element, Form $form) {
return
$result
;
}
/** gets the value explicitly from the request */
function
form_get_value_date
(
$element
,
Form
$form
)
{
$name
=
$element
[
'name'
];
$global
=
(
$form
->
get_method
()
==
'get'
)
?
$_GET
:
$_POST
;
...
...
@@ -78,6 +79,7 @@ function form_get_value_date($element, Form $form) {
return
$time
;
}
/** helper: used when rendering the element, to get the value for it */
function
form_render_select_get_value
(
$timeperiod
,
$min
,
$max
,
$element
,
Form
$form
)
{
static
$lookup
=
array
(
'year'
=>
0
,
...
...
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