]> git.mjollnir.org Git - moodle.git/commitdiff
Documentation and strings for Default Role
authormoodler <moodler>
Thu, 28 Sep 2006 07:07:54 +0000 (07:07 +0000)
committermoodler <moodler>
Thu, 28 Sep 2006 07:07:54 +0000 (07:07 +0000)
course/edit.html
lang/en_utf8/help/coursedefaultrole.html [new file with mode: 0644]
lang/en_utf8/role.php

index 3015faf4604595f5ce1ecf088860d830b2af5878..7b3abc8a9d688aced8dd52b21a12a439d4ea4ddc 100644 (file)
     ?></td>
 </tr>
 <tr valign="top">
-    <td align="right"><?php  print_string("defaultrole") ?>:</td>
+    <td align="right"><?php  print_string('defaultrole', 'role') ?>:</td>
     <td><?php
             $roles = get_assignable_roles($context);
             asort($roles);
diff --git a/lang/en_utf8/help/coursedefaultrole.html b/lang/en_utf8/help/coursedefaultrole.html
new file mode 100644 (file)
index 0000000..c0edbc6
--- /dev/null
@@ -0,0 +1,10 @@
+<p align="center"><b>Default Role</b></p>
+
+<p>This role is what people get when no role is explicitly assigned,
+   such as when people are self-enrolling in your course using a password.</p>
+
+<p>It's also used as a default by enrolment plugins that may be enrolling 
+   participants in this course based on data from other systems.</p>
+
+<p>Most of the time this would be left to the Site Default setting so that
+   the Site Administrator can decide the default role for all courses.</p>
index f0530f956a52a284575959ec8552ff386665c47f..3c627c6faec3413bbf77f4c62b88d3052a5dec10 100644 (file)
@@ -10,6 +10,7 @@ $string['capability'] = 'Capability';
 $string['capabilities'] = 'Capabilities';
 $string['currentrole'] = 'Current role';
 $string['currentcontext'] = 'Current context';
+$string['defaultrole'] = 'Default role';
 $string['defineroles'] = 'Define roles';
 $string['deleterolesure'] = '<p>Are you sure, that you want to delete role \"$a->name ($a->shortname)\"?</p><p>Currently this role is assigned to $a->count users.</p>';
 $string['editrole'] = 'Edit role';