mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-39604-master-int' of git://github.com/FMCorz/moodle
This commit is contained in:
commit
e1559b58e8
@ -21,6 +21,8 @@ class editsection_form extends moodleform {
|
||||
$mform = $this->_form;
|
||||
$course = $this->_customdata['course'];
|
||||
|
||||
$mform->addElement('header', 'generalhdr', get_string('general'));
|
||||
|
||||
$elementgroup = array();
|
||||
$elementgroup[] = $mform->createElement('text', 'name', '', array('size' => '30'));
|
||||
$elementgroup[] = $mform->createElement('checkbox', 'usedefaultname', '', get_string('sectionusedefaultname'));
|
||||
@ -58,6 +60,7 @@ class editsection_form extends moodleform {
|
||||
|
||||
if (!empty($CFG->enableavailability)) {
|
||||
$mform->addElement('header', 'availabilityconditions', get_string('availabilityconditions', 'condition'));
|
||||
$mform->setExpanded('availabilityconditions', false);
|
||||
// String used by conditions more than once
|
||||
$strcondnone = get_string('none', 'condition');
|
||||
// Grouping conditions - only if grouping is enabled at site level
|
||||
|
Loading…
x
Reference in New Issue
Block a user