mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-70083 message: Updated content notification task
This commit is contained in:
parent
714b482cba
commit
6f0f979ae3
5 changed files with 297 additions and 2 deletions
|
@ -1190,6 +1190,10 @@ abstract class moodleform_mod extends moodleform {
|
|||
|
||||
$mform = $this->_form;
|
||||
|
||||
$mform->addElement('checkbox', 'coursecontentnotification', get_string('coursecontentnotification', 'course'));
|
||||
$mform->addHelpButton('coursecontentnotification', 'coursecontentnotification', 'course');
|
||||
$mform->closeHeaderBefore('coursecontentnotification');
|
||||
|
||||
// elements in a row need a group
|
||||
$buttonarray = array();
|
||||
|
||||
|
@ -1209,7 +1213,6 @@ abstract class moodleform_mod extends moodleform {
|
|||
|
||||
$mform->addGroup($buttonarray, 'buttonar', '', array(' '), false);
|
||||
$mform->setType('buttonar', PARAM_RAW);
|
||||
$mform->closeHeaderBefore('buttonar');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue