]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10585:
authorthepurpleblob <thepurpleblob>
Wed, 1 Aug 2007 10:56:50 +0000 (10:56 +0000)
committerthepurpleblob <thepurpleblob>
Wed, 1 Aug 2007 10:56:50 +0000 (10:56 +0000)
MDL-10584:
Present more factually correct message when a guest attempts to enrol.
Provide a mechanism for specifying which role in a course holds the
enrolment key.

lang/en_utf8/enrol_manual.php
lang/en_utf8/moodle.php

index 4ac4d3aa1bae75fffe82b0f5d1bbed34b28ecb56..f0ff44a388c633bf3b6bdd98c7535865664faa39 100644 (file)
@@ -10,5 +10,5 @@ $string['description'] = 'This is the default form of enrolment. There are two m
     able to add themselves to a course.</li>
 </ul>';
 $string['enrolname'] = 'Internal Enrolment';
-
+$string['keyholderrole' ] = 'The role of the user that holds the enrolment key for a course. Displayed to students attempting to enrol on the course.';
 ?>
index 9858243cebe897ab2747508b8617f3d001030a79..f0fb257fd01858c077a4060740bc6ba36f766b6f 100644 (file)
@@ -538,6 +538,8 @@ $string['enrolmentend'] = 'Enrolment Ends';
 $string['enrolmentkey'] = 'Enrolment key';
 $string['enrolmentkeyfrom'] = 'This course requires an \'enrolment key\' - a one-time<br />
 password that you should have received from $a';
+$string['enrolmentkeyfromguest'] = 'This course requires an \'enrolment key\' - as a guest<br />
+you must enter it each time you enter the course. You should have received it from $a';
 $string['enrolmentkeyhint'] = 'That enrolment key was incorrect, please try again<br />
 (Here\'s a hint - it starts with \'$a\')';
 $string['enrolmentnew'] = 'New enrolment in $a';