mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
add custom submit button to registry
This commit is contained in:
parent
c65795d341
commit
4ea750414e
@ -340,6 +340,7 @@ class moodleform_mod extends moodleform {
|
||||
$mform->addElement('modgroupmode', 'groupmode', get_string('groupmode'));
|
||||
|
||||
$mform->addElement('modvisible', 'visible', get_string('visible'));
|
||||
|
||||
$this->standard_hidden_coursemodule_elements();
|
||||
}
|
||||
|
||||
@ -939,5 +940,6 @@ MoodleQuickForm::registerElementType('modvisible', "$CFG->libdir/form/modvisible
|
||||
MoodleQuickForm::registerElementType('modgroupmode', "$CFG->libdir/form/modgroupmode.php", 'MoodleQuickForm_modgroupmode');
|
||||
MoodleQuickForm::registerElementType('selectyesno', "$CFG->libdir/form/selectyesno.php", 'MoodleQuickForm_selectyesno');
|
||||
MoodleQuickForm::registerElementType('modgrade', "$CFG->libdir/form/modgrade.php", 'MoodleQuickForm_modgrade');
|
||||
MoodleQuickForm::registerElementType('submit', "$CFG->libdir/form/submit.php", 'MoodleQuickForm_submit');
|
||||
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user