From 8664309614e22dc71b07abed011139c4e0e16652 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 9 Oct 2003 16:47:57 +0000 Subject: [PATCH] Add an "unenrol" link for students on the course page --- course/lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/course/lib.php b/course/lib.php index 3cd740fc4e..3aa5068b5c 100644 --- a/course/lib.php +++ b/course/lib.php @@ -870,6 +870,8 @@ function print_course_admin_links($course, $width=180) { $admindata[]="changepassword\">".get_string("changepassword")."..."; $adminicon[]="pixpath/i/user.gif\" height=16 width=16 alt=\"\">"; } + $admindata[]="id\">".get_string("unenrolme", "", $course->shortname)."..."; + $adminicon[]="pixpath/i/user.gif\" height=16 width=16 alt=\"\">"; } if (!empty($admindata)) { -- 2.39.5