</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>
<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
<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
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)."\")";
}
}
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> ";
}
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>";
}