mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-70817-311-8' of git://github.com/junpataleta/moodle into MOODLE_311_STABLE
This commit is contained in:
commit
4025e4d726
34 changed files with 1535 additions and 89 deletions
|
@ -139,6 +139,13 @@ if ($hassiteconfig or has_any_capability($capabilities, $systemcontext)) {
|
|||
new lang_string('coursehelpshowgrades'), 1, array(0 => new lang_string('no'), 1 => new lang_string('yes'))));
|
||||
$temp->add(new admin_setting_configselect('moodlecourse/showreports', new lang_string('showreports'), '', 0,
|
||||
array(0 => new lang_string('no'), 1 => new lang_string('yes'))));
|
||||
$temp->add(new admin_setting_configselect('moodlecourse/showactivitydates',
|
||||
new lang_string('showactivitydates'),
|
||||
new lang_string('showactivitydates_help'), 1, [
|
||||
0 => new lang_string('no'),
|
||||
1 => new lang_string('yes')
|
||||
]
|
||||
));
|
||||
|
||||
// Files and uploads.
|
||||
$temp->add(new admin_setting_heading('filesanduploadshdr', new lang_string('filesanduploads'), ''));
|
||||
|
@ -163,6 +170,15 @@ if ($hassiteconfig or has_any_capability($capabilities, $systemcontext)) {
|
|||
$temp->add(new admin_setting_configselect('moodlecourse/enablecompletion', new lang_string('completion', 'completion'),
|
||||
new lang_string('enablecompletion_help', 'completion'), 1, array(0 => new lang_string('no'), 1 => new lang_string('yes'))));
|
||||
|
||||
// Display completion conditions.
|
||||
$temp->add(new admin_setting_configselect('moodlecourse/showcompletionconditions',
|
||||
new lang_string('showcompletionconditions', 'completion'),
|
||||
new lang_string('showcompletionconditions_help', 'completion'), 1, [
|
||||
0 => new lang_string('no'),
|
||||
1 => new lang_string('yes')
|
||||
]
|
||||
));
|
||||
|
||||
// Groups.
|
||||
$temp->add(new admin_setting_heading('groups', new lang_string('groups', 'group'), ''));
|
||||
$choices = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue