-
Matt Petro authored
UWMOODLE-306 block course_overview_uwmoodle: Rewrote the interface to hopefully be cleaner and more user-friendly.
Matt Petro authoredUWMOODLE-306 block course_overview_uwmoodle: Rewrote the interface to hopefully be cleaner and more user-friendly.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
edit_form.php 509 B
<?php
class block_course_overview_uwmoodle_edit_form extends block_edit_form {
protected function specific_definition($mform) {
// Section header title according to language file.
$mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));
$mform->addElement('advcheckbox', 'config_combineongoing', get_string('combineongoing', 'block_course_overview_uwmoodle'), null, null, array(0, 1));
$mform->setDefault('config_nontermseparate', 0);
}
}