switch ($action) {
case 'add':
- print_heading(get_string('addrole', 'role'));
+ print_heading_with_help(get_string('addrole', 'role'), 'role');
break;
case 'view':
- print_heading(get_string('viewrole', 'role'));
+ print_heading_with_help(get_string('viewrole', 'role'), 'role');
break;
case 'edit':
- print_heading(get_string('editrole', 'role'));
+ print_heading_with_help(get_string('editrole', 'role'), 'role');
break;
}
<?php
// this page deals with the 2 tabs for manage.php and grant.php
- $toprow[] = new tabobject('manage', $CFG->wwwroot.'/'.$CFG->admin.'/roles/manage.php', get_string('manageroles', 'role'));
+ $toprow[] = new tabobject('manage', $CFG->wwwroot.'/'.$CFG->admin.'/roles/manage.php', get_string('manageroles', 'role'),'', true);
$toprow[] = new tabobject('allowassign', $CFG->wwwroot.'/'.$CFG->admin.'/roles/allowassign.php', get_string('allowassign', 'role'));