From: mattc-catalyst Date: Mon, 24 Sep 2007 21:55:15 +0000 (+0000) Subject: MDL-11419 - groups: interface enhancements + new features: X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=acf000b0774821a3ed17622354cd5d8ac1d4a2ff;p=moodle.git MDL-11419 - groups: interface enhancements + new features: * Display the grouping a course module belongs to on the course page - for course managers only. * When adding users to groups, display the groups a user already belongs to. * Added an overview report that shows groupings, groups and members for a course. * Added a dialogue to automatically create groups and assign members based on either the number of desired groups or the number of desired users per group. --- diff --git a/course/lib.php b/course/lib.php index 3ad961bc10..197394ac2c 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1343,6 +1343,8 @@ function print_section($course, $section, $mods, $modnamesused, $absolute=false, /// Casting $course->modinfo to string prevents one notice when the field is null $modinfo = unserialize((string)$course->modinfo); + + $groupings = groups_get_all_groupings($course->id); //Acccessibility: replace table with list