From: stronk7 Date: Sat, 16 Aug 2003 11:44:47 +0000 (+0000) Subject: Show more admin links to isteacheredit() users X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f3c6d21942071ce2ec56c78cbdb2cbb959ac768e;p=moodle.git Show more admin links to isteacheredit() users --- diff --git a/course/lib.php b/course/lib.php index caa2327dec..f25bad8a0d 100644 --- a/course/lib.php +++ b/course/lib.php @@ -742,7 +742,7 @@ function print_course_admin_links($course, $width=180) { $modpixpath = "$CFG->wwwroot/theme/$CFG->theme/pix/mod"; } if (isteacher($course->id)) { - if (iscreator()) { + if (isteacheredit($course->id)) { $adminicon[]="\"\""; if (isediting($course->id)) { $admindata[]="id&edit=off\">".get_string("turneditingoff")."";