]> git.mjollnir.org Git - moodle.git/commitdiff
1. Added proper breadcrumb to group/edit|create page (preserves previous grouping...
authornicolasconnault <nicolasconnault>
Fri, 30 Mar 2007 02:39:46 +0000 (02:39 +0000)
committernicolasconnault <nicolasconnault>
Fri, 30 Mar 2007 02:39:46 +0000 (02:39 +0000)
2. Changed "Create Orphan group" to "Create orphan group"
3. Added help string for groupenrolmentkey
4. Edited moodle docs for groups edit page

group/edit.php
lang/en_utf8/group.php
lang/en_utf8/help/groupenrolmentkey.html [new file with mode: 0644]

index b2569bb15088fb37a27e7a1f20f41fa0a3cf12a2..af5295afbc84540787148a3cae55179fcdce0eb4 100755 (executable)
@@ -110,7 +110,8 @@ if ($editform->is_cancelled()) {
                  $course->fullname, 
                  "<a href=\"$CFG->wwwroot/course/view.php?id=$courseid\">$course->shortname</a> ".
                  "-> <a href=\"$CFG->wwwroot/user/index.php?id=$courseid\">$strparticipants</a> ".
-                 "-> $strgroups", '', '', true, '', user_login_string($course, $USER));
+                 '-> <a href="' .format_string(groups_home_url($courseid, $id, $groupingid, false)) . "\">$strgroups</a>".
+                 "-> $strheading", '', '', true, '', user_login_string($course, $USER));
     
     print_heading($strheading);
     echo '<div id="grouppicture">';
index 05cc01c0074db50972451d9e52ae450ab2d39ddf..090104f18f26debf0b924cabb36baf6c1c693f6d 100644 (file)
@@ -67,7 +67,7 @@ $string['selectnumberofgroups'] = 'Select number of groups';
 $string['numberofgroups'] = 'Number of groups';
 $string['creategrouping'] = 'Create grouping';
 $string['creategroup'] = 'Create group';
-$string['createorphangroup'] = 'Create Orphan group';
+$string['createorphangroup'] = 'Create orphan group';
 
 $string['groupname'] = 'Group name';
 $string['defaultgroupname'] = 'Group';
diff --git a/lang/en_utf8/help/groupenrolmentkey.html b/lang/en_utf8/help/groupenrolmentkey.html
new file mode 100644 (file)
index 0000000..3a4b637
--- /dev/null
@@ -0,0 +1,4 @@
+<h1>Group Enrolment Key</h1>
+
+<p>Enrolment keys allow users to enrol themselves into a course, usually there is one key for the whole course defined in the course settings.  However, if you define a *group* enrolment key then not only will entering that key let the user into the course, but it will also automatically make them a member of this group.</p>
+