From: moodler Date: Thu, 9 Oct 2003 16:47:57 +0000 (+0000) Subject: Add an "unenrol" link for students on the course page X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8664309614e22dc71b07abed011139c4e0e16652;p=moodle.git Add an "unenrol" link for students on the course page --- 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)) {