diff --git a/admin/roles/allowassign.php b/admin/roles/allowassign.php index ebdeca7a7f2d0..b2685a13489a1 100755 --- a/admin/roles/allowassign.php +++ b/admin/roles/allowassign.php @@ -67,7 +67,7 @@ /// get all the roles identifier foreach ($roles as $role) { - $rolesname[] = $role->name; + $rolesname[] = format_string($role->name); $roleids[] = $role->id; $table->align[] = 'center'; $table->wrap[] = 'nowrap'; @@ -77,7 +77,7 @@ foreach ($roles as $role) { $beta = get_box_list($role->id, $roleids); - $table->data[] = array_merge(array($role->name), $beta); + $table->data[] = array_merge(array(format_string($role->name)), $beta); } print_simple_box(get_string('configallowassign', 'admin'), 'center'); diff --git a/admin/roles/allowoverride.php b/admin/roles/allowoverride.php index 4dcce9dab7482..7904208c62fb8 100755 --- a/admin/roles/allowoverride.php +++ b/admin/roles/allowoverride.php @@ -65,7 +65,7 @@ /// get all the roles identifier foreach ($roles as $role) { - $rolesname[] = $role->name; + $rolesname[] = format_string($role->name); $roleids[] = $role->id; $table->align[] = 'center'; $table->wrap[] = 'nowrap'; @@ -75,7 +75,7 @@ foreach ($roles as $role) { $beta = get_box_list($role->id, $roleids); - $table->data[] = array_merge(array($role->name), $beta); + $table->data[] = array_merge(array(format_string($role->name)), $beta); } print_simple_box(get_string('configallowoverride', 'admin'), 'center'); diff --git a/admin/roles/assign.html b/admin/roles/assign.html index 362560e4de0eb..3a7bb7facf962 100755 --- a/admin/roles/assign.html +++ b/admin/roles/assign.html @@ -9,9 +9,9 @@ print (''); } ?> - - - + + +
diff --git a/admin/roles/assign.php b/admin/roles/assign.php index 6f95aa9d991c1..739c8af61c56d 100755 --- a/admin/roles/assign.php +++ b/admin/roles/assign.php @@ -166,7 +166,7 @@ echo ''; } echo ''.$strroletoassign.': '; - choose_from_menu ($assignableroles, 'roleid', $roleid, 'choose', $script='rolesform.submit()'); + choose_from_menu ($assignableroles, 'roleid', $roleid, get_string('listallroles', 'role'), $script='rolesform.submit()'); echo ''; print_simple_box_start("center"); diff --git a/admin/roles/manage.html b/admin/roles/manage.html index bd85713beff88..bae0aca93cbb1 100755 --- a/admin/roles/manage.html +++ b/admin/roles/manage.html @@ -1,15 +1,23 @@ - |