Merge commit 'catalyst/MOODLE_19_STABLE' into mdl19-linuxchix
[moodle-linuxchix.git] / group / tabs.php
blobae2e87d93a7b4bd51551f7a989d2d6fb47873fbe
1 <?php // $Id$
2 $row = $tabs = array();
3 $row[] = new tabobject('groups',
4 $CFG->wwwroot.'/group/index.php?id='.$courseid,
5 get_string('groups'));
7 if (!empty($CFG->enablegroupings)) {
8 $row[] = new tabobject('groupings',
9 $CFG->wwwroot.'/group/groupings.php?id='.$courseid,
10 get_string('groupings', 'group'));
13 $row[] = new tabobject('overview',
14 $CFG->wwwroot.'/group/overview.php?id='.$courseid,
15 get_string('overview', 'group'));
16 $tabs[] = $row;
17 echo '<div class="groupdisplay">';
18 print_tabs($tabs, $currenttab);
19 echo '</div>';