Index: lang/en/role.php =================================================================== RCS file: /cvsroot/moodle/moodle/lang/en/role.php,v retrieving revision 1.22 diff -u -r1.22 role.php --- lang/en/role.php 5 Nov 2010 06:55:43 -0000 1.22 +++ lang/en/role.php 8 Nov 2010 13:53:12 -0000 @@ -37,6 +37,7 @@ $string['allowswitch'] = 'Allow role switches'; $string['allsiteusers'] = 'All site users'; $string['archetype'] = 'Role archetype'; +$string['archetype_help'] = 'The role archetype determines the permissions when a role is reset to default. It also determines any new permissions for the role when the site is upgraded.'; $string['archetypecoursecreator'] = 'ARCHETYPE: Course Creator'; $string['archetypeeditingteacher'] = 'ARCHETYPE: Teacher (editing)'; $string['archetypefrontpage'] = 'ARCHETYPE: Authenticated user on frontpage'; Index: admin/roles/lib.php =================================================================== RCS file: /cvsroot/moodle/moodle/admin/roles/lib.php,v retrieving revision 1.55 diff -u -r1.55 lib.php --- admin/roles/lib.php 4 Oct 2010 07:50:12 -0000 1.55 +++ admin/roles/lib.php 8 Nov 2010 13:53:12 -0000 @@ -777,12 +777,13 @@ } public function display() { + global $OUTPUT; // Extra fields at the top of the page. echo '
'; $this->print_field('name', get_string('name'), $this->get_name_field('name')); $this->print_field('shortname', get_string('shortname'), $this->get_shortname_field('shortname')); $this->print_field('edit-description', get_string('description'), $this->get_description_field('description')); - $this->print_field('menuarchetype', get_string('archetype', 'role'), $this->get_archetype_field('archetype')); + $this->print_field('menuarchetype', get_string('archetype', 'role').' '.$OUTPUT->help_icon('archetype', 'role'), $this->get_archetype_field('archetype')); $this->print_field('', get_string('maybeassignedin', 'role'), $this->get_assignable_levels_control()); echo "
";