mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
Added button to unenrol a user (course/unenrol.php)
This commit is contained in:
parent
4c86dda63e
commit
c888501c02
@ -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 ///////
|
||||
|
Loading…
x
Reference in New Issue
Block a user