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 f0991ed..53768d8 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 56bea06..4883b73 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 349338e..257a8d7 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 80b3350..f84bb09 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>";
     }