]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9061
authornicolasconnault <nicolasconnault>
Tue, 27 Mar 2007 06:58:27 +0000 (06:58 +0000)
committernicolasconnault <nicolasconnault>
Tue, 27 Mar 2007 06:58:27 +0000 (06:58 +0000)
admin/roles/assign.php
lang/en_utf8/role.php

index 9919e94a1ee6c8c59100b9939f0a62d87396375f..fc21cc8fba631a6695d89f8d0831749561732397 100755 (executable)
         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.
index 639fff39160633c9ac858218466b7dec25b1cc6a..e6a97f01b3bc19bb5b97b84383c82ecabb0080ab 100644 (file)
@@ -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';