mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
21 lines
742 B
PHP
21 lines
742 B
PHP
<?php // $Id$
|
|
$row = $tabs = array();
|
|
$row[] = new tabobject('groups',
|
|
$CFG->wwwroot.'/group/index.php?id='.$courseid,
|
|
get_string('groups'));
|
|
|
|
if (!empty($CFG->enablegroupings)) {
|
|
$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>';
|
|
?>
|