From: nicolasconnault Date: Tue, 27 Mar 2007 06:58:27 +0000 (+0000) Subject: MDL-9061 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0c0ffc08e7e715d62a0126b23fdb7e02900d80d2;p=moodle.git MDL-9061 --- diff --git a/admin/roles/assign.php b/admin/roles/assign.php index 9919e94a1e..fc21cc8fba 100755 --- a/admin/roles/assign.php +++ b/admin/roles/assign.php @@ -210,6 +210,8 @@ print_heading_with_help(get_string('assignroles', 'role'), 'assignroles'); } + print_simple_box(get_string('globalroleswarning', 'role'), 'center', '700'); + if ($roleid) { /// prints a form to swap roles /// Get all existing participants in this context. diff --git a/lang/en_utf8/role.php b/lang/en_utf8/role.php index 639fff3916..e6a97f01b3 100644 --- a/lang/en_utf8/role.php +++ b/lang/en_utf8/role.php @@ -57,6 +57,7 @@ $string['errorbadroleshortname'] = 'Incorrect role name'; $string['errorexistsrolename'] = 'Role name already exists'; $string['errorexistsroleshortname'] = 'Role name already exists'; $string['existingusers'] = '$a existing users'; +$string['globalroleswarning'] = 'WARNING! Any roles you assign from this page will apply to the assigned users throughout the entire site, including the front page and all the courses.'; $string['inherit'] = 'Inherit'; $string['legacy:admin'] = 'LEGACY ROLE: Administrator'; $string['legacy:coursecreator'] = 'LEGACY ROLE: Course Creator';