MDL-11419 - groups: interface enhancements + new features:
[moodle.git] / group / tabs.php
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     $row[] = new tabobject('groupings',
8                            $CFG->wwwroot.'/group/groupings.php?id='.$courseid,
9                            get_string('groupings', 'group'));
10     $row[] = new tabobject('overview',
11                            $CFG->wwwroot.'/group/overview.php?id='.$courseid,
12                            get_string('overview', 'group'));
13     $tabs[] = $row;
14     echo '<div class="groupdisplay">';
15     print_tabs($tabs, $currenttab);
16     echo '</div>';
17 ?>