diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 21b3c6056e9..d9faa5298ba 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1478,6 +1478,7 @@ $string['parentcategory'] = 'Parent category'; $string['parentcoursenotfound'] = 'Parent course not found!'; $string['parentfolder'] = 'Parent folder'; $string['participants'] = 'Participants'; +$string['participantscount'] = 'Number of participants: {$a}'; $string['participantslist'] = 'Participants list'; $string['participationratio'] = 'Participation ratio'; $string['participationreport'] = 'Participation report'; diff --git a/user/index.php b/user/index.php index af2f71e9240..1ee8596ea83 100644 --- a/user/index.php +++ b/user/index.php @@ -234,6 +234,8 @@ $participanttable->out($perpage, true); $participanttablehtml = ob_get_contents(); ob_end_clean(); +echo html_writer::tag('p', get_string('participantscount', 'moodle', $participanttable->totalrows)); + if ($bulkoperations) { echo '