$currenttab = 'manage';
include_once('managetabs.php');
- print_heading_with_help(get_string('manageroles', 'role'), 'roles');
-
/// Initialise table.
$table = new object;
$table->tablealign = 'center';
$table->wrap = array('nowrap', '', 'nowrap','nowrap');
$table->width = '90%';
$table->head = array(
- get_string('role'),
+ get_string('role') . ' ' . helpbutton('roles', get_string('roles'), 'moodle', true, false, '', true),
get_string('description'),
get_string('shortname'),
get_string('edit')
}
$ADMIN->add('roles', $temp);
- $ADMIN->add('roles', new admin_externalpage('defineroles', get_string('defineroles', 'role'), "$CFG->wwwroot/$CFG->admin/roles/manage.php", 'moodle/role:manage'));
+ $ADMIN->add('roles', new admin_externalpage('defineroles', get_string('manageroles', 'role'), "$CFG->wwwroot/$CFG->admin/roles/manage.php", 'moodle/role:manage'));
$ADMIN->add('roles', new admin_externalpage('assignroles', get_string('assignglobalroles', 'role'), "$CFG->wwwroot/$CFG->admin/roles/assign.php?contextid=".$systemcontext->id, 'moodle/role:assign'));
$ADMIN->add('roles', new admin_externalpage('checkpermissions', get_string('checkglobalpermissions', 'role'), "$CFG->wwwroot/$CFG->admin/roles/check.php?contextid=".$systemcontext->id, array('moodle/role:assign', 'moodle/role:safeoverride', 'moodle/role:override', 'moodle/role:manage')));