]> git.mjollnir.org Git - moodle.git/commitdiff
Course entry key is now called an enrolment key
authormartin <martin>
Mon, 10 Jun 2002 11:11:53 +0000 (11:11 +0000)
committermartin <martin>
Mon, 10 Jun 2002 11:11:53 +0000 (11:11 +0000)
course/edit.html
course/enrol.html
course/enrol.php
course/lib.php

index f0991ed270d77e3de98d1998ff06a02d947cf70c..53768d8401a85e72703f3c5f67ed0face71360e8 100644 (file)
@@ -19,7 +19,7 @@
        </td>
 </tr>
 <tr valign=top>
-       <td><P>Entry Key:</td>
+       <td><P>Enrolment Key:</td>
        <td><input type="text" name="password" size=25 value="<? p($form->password) ?>">
        <? formerr($err["password"]) ?>
        </td>
index 56bea0685e513f46c799002230af3f7960effbf1..4883b733ce8127d44f44a50c357fdfd0a70f03b2 100644 (file)
@@ -3,7 +3,7 @@
 <table cellpadding=20>\r
   <tr valign=top> \r
     <td>\r
-    <P ALIGN=CENTER>This course requires a "course entry key" - a one-time<BR>\r
+    <P ALIGN=CENTER>This course requires an "enrolment key" - a one-time<BR>\r
        password that you should have got from <A HREF="../user/view.php?id=<?=$teacher->id?>&course=<?=$site->id?>"><? p("$teacher->firstname $teacher->lastname") ?></A>.</P>\r
     </td>\r
   </tr>\r
@@ -12,7 +12,7 @@
       <form name="form" method="post" action="enrol.php">\r
         <table>\r
           <tr> \r
-            <td width=50% align=right><P>Entry Key:</P></td>\r
+            <td width=50% align=right><P>Enrolment Key:</P></td>\r
             <td width=50% > \r
               <input type="password" name="password" size=20 value="<? p($password) ?>" >\r
               <input type="hidden" name="id" value="<? p($id) ?>" >\r
index 349338eed9b235e68040e1e1fbc5372fa4d22fd9..257a8d7bf5c2d61f0e97837e756f16690ce1b241 100644 (file)
@@ -37,7 +37,7 @@
            redirect($destination);
     
         } else {
-            $errormsg = "That entry key was incorrect, please try again".
+            $errormsg = "That enrolment key was incorrect, please try again".
                         "<BR>(Here's a hint - it starts with \"".substr($course->password,0,1)."\")";
         }
     }
index 80b33507363c49e1b031c3d3324d9577dedb20b7..f84bb095501b78ab6a1e9afb54ecd3127d9a8c06 100644 (file)
@@ -175,11 +175,11 @@ function print_course($course) {
         echo "</FONT></P>";
     }
     if ($course->guest or ($course->password == "")) {
-        echo "<A TITLE=\"Guest user allowed\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
+        echo "<A TITLE=\"This course allows guest users\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
         echo "<IMG VSPACE=4 ALT=\"\" HEIGHT=16 WIDTH=16 BORDER=0 SRC=\"$CFG->wwwroot/user/user.gif\"></A>&nbsp;&nbsp;";
     }
     if ($course->password) {
-        echo "<A TITLE=\"Requires a Course entry key\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
+        echo "<A TITLE=\"This course requires an enrolment key\" HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">";
         echo "<IMG VSPACE=4 ALT=\"\" HEIGHT=16 WIDTH=16 BORDER=0 SRC=\"$CFG->wwwroot/pix/i/key.gif\"></A>";
     }