mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
acf000b077
* 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.
18 lines
682 B
PHP
18 lines
682 B
PHP
<?php // $Id$
|
|
$row = $tabs = array();
|
|
$row[] = new tabobject('groups',
|
|
$CFG->wwwroot.'/group/index.php?id='.$courseid,
|
|
get_string('groups'));
|
|
|
|
$row[] = new tabobject('groupings',
|
|
$CFG->wwwroot.'/group/groupings.php?id='.$courseid,
|
|
get_string('groupings', 'group'));
|
|
$row[] = new tabobject('overview',
|
|
$CFG->wwwroot.'/group/overview.php?id='.$courseid,
|
|
get_string('overview', 'group'));
|
|
$tabs[] = $row;
|
|
echo '<div class="groupdisplay">';
|
|
print_tabs($tabs, $currenttab);
|
|
echo '</div>';
|
|
?>
|