2 // this page deals with the 2 tabs for manage.php and grant.php
4 if (!defined('MOODLE_INTERNAL')) {
5 die('Direct access to this script is forbidden.'); /// It must be included from a Moodle page
10 $toprow[] = new tabobject('manage', $CFG->wwwroot
.'/'.$CFG->admin
.'/roles/manage.php', get_string('manageroles', 'role'));
12 $toprow[] = new tabobject('allowassign', $CFG->wwwroot
.'/'.$CFG->admin
.'/roles/allowassign.php', get_string('allowassign', 'role'));
14 $toprow[] = new tabobject('allowoverride', $CFG->wwwroot
.'/'.$CFG->admin
.'/roles/allowoverride.php', get_string('allowoverride', 'role'));
16 $tabs = array($toprow);
18 print_tabs($tabs, $currenttab);