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
063b3140
Commit
063b3140
authored
Oct 18, 2006
by
Nigel McNie
Committed by
Nigel McNie
Oct 18, 2006
Browse files
Allow the submit button to have a value set.
parent
62356989
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/form/elements/submit.php
View file @
063b3140
...
...
@@ -31,7 +31,8 @@ defined('INTERNAL') || die();
*/
function
form_render_submit
(
$element
,
$form
)
{
return
'<input type="submit"'
.
Form
::
element_attributes
(
$element
)
.
'>'
;
.
Form
::
element_attributes
(
$element
)
.
' value="'
.
hsc
(
$form
->
get_value
(
$element
))
.
'">'
;
}
?>
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