MDL-41498 course: courses participant page

This commit is contained in:
Robert Schrenk
2022-05-06 08:26:08 +06:00
committed by Ilya Tregubov
parent 3b7bba9e75
commit cc5eb38cea
4 changed files with 15 additions and 2 deletions
+9
View File
@@ -88,6 +88,15 @@ if ($hassiteconfig or has_any_capability($capabilities, $systemcontext)) {
$downloadcontentsitedefault->add_dependent_on('downloadcoursecontentallowed');
$temp->add($downloadcontentsitedefault);
$temp->add(
new admin_setting_configtext(
'moodlecourse/participantsperpage',
new lang_string('participants:perpage', 'course'),
new lang_string('participants:perpage_help', 'course'),
20
)
);
// Course format.
$temp->add(new admin_setting_heading('courseformathdr', new lang_string('type_format', 'plugin'), ''));