8 $teacher-
>fullname =
"$teacher->firstname $teacher->lastname";
9 $teachername =
"<A HREF=../user/view.php?id=$teacher->id&course=$site->id>$teacher->fullname</A>.";
11 $teachername = get_string(
"yourteacher",
"", strtolower($course-
>teacher));
13 print_string(
"enrolmentkeyfrom",
"", $teachername);
19 <td bgcolor=
"<?=$THEME->cellheading?>"> <CENTER><? formerr($errormsg)
?> </CENTER>
20 <form name=
"form" method=
"post" action=
"enrol.php">
23 <td width=
50% align=right
><P><? print_string(
"enrolmentkey")
?>:
</P></td>
25 <input type=
"password" name=
"password" size=
20 value=
"<? p($password) ?>" >
26 <input type=
"hidden" name=
"id" value=
"<? p($id) ?>" >
29 <td width=
50%
> </td>
31 <table cellpadding=
1 cellspacing=
0><tr>
32 <td><input type=submit
value=
"<? print_string("login
") ?>"></form></td>
33 <td><form action=
"<?=$CFG->wwwroot?>/index.php" method=post
>
34 <input type=submit
value=
"<? print_string("cancel
") ?>"></form></td>