Added button to unenrol a user (course/unenrol.php)

This commit is contained in:
martin 2002-06-04 06:29:36 +00:00
parent 4c86dda63e
commit c888501c02

View File

@ -60,7 +60,6 @@
echo "</TD></TR></TABLE>";
// Print the description
if ($user->description) {
@ -68,7 +67,6 @@
}
// Print all the little details in a list
echo "<TABLE BORDER=0 CELLPADDING=5 CELLSPACING=2";
@ -104,6 +102,14 @@
echo "</TD></TR></TABLE></TABLE>";
// Print other functions
echo "<CENTER><TABLE ALIGN=CENTER><TR>";
echo "<TD NOWRAP><P><FORM ACTION=\"../course/unenrol.php\" METHOD=GET>";
echo "<INPUT type=hidden name=id value=\"$course->id\">";
echo "<INPUT type=submit value=\"Unenrol me from $course->shortname\">";
echo "</FORM></P></TD>";
echo "</TR></TABLE></CENTER>\n";
print_footer($course);
/// Functions ///////