Permalink
Browse files

Show more admin links to isteacheredit() users

  • Loading branch information...
1 parent 35a14ba commit f3c6d21942071ce2ec56c78cbdb2cbb959ac768e stronk7 committed Aug 16, 2003
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
@@ -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[]="<img src=\"$pixpath/i/edit.gif\" height=16 width=16 alt=\"\">";
if (isediting($course->id)) {
$admindata[]="<a href=\"view.php?id=$course->id&edit=off\">".get_string("turneditingoff")."</a>";

0 comments on commit f3c6d21

Please sign in to comment.