1 <table cellpadding=
"20" align=
"center">
7 $teachername = "<a href=\"../user/view.php?id=$teacher->id&course=$site->id\">".
8 "$teacher->firstname $teacher->lastname</a>.";
10 $teachername = get_string("yourteacher", "", strtolower($course->teacher
));
12 print_string("enrolmentkeyfrom", "", $teachername);
19 <td class=
"generalbox" bgcolor=
"<?php p($THEME->cellheading)?>"><center
><?php
if (isset ($errormsg)) {formerr($errormsg);} ?></center>
20 <form name=
"form" method=
"post" action=
"enrol.php">
23 <td width=
"50%" align=
"right"><p><?php print_string("enrolmentkey") ?>:
</p></td>
25 <input type=
"password" name=
"password" size=
"20" value=
"<?php p($password) ?>" >
26 <input type
="hidden" name
="id" value
="<?php p($id) ?>" >
29 <td width
="50%"> 
;</td
>
31 <table cellpadding
="1" cellspacing
="0" align
="center">
34 <td
><input type
="submit" value
="<?php print_string("login
") ?>"> 
; 
;</form
></td
>
35 <td
><form action
="<?php p($CFG->wwwroot)?>/index.php" method
=post
>
36 <input type
="submit" value
="<?php print_string("cancel
") ?>"></form
></td
>