From: gustav_delius Date: Sat, 4 Sep 2004 13:51:19 +0000 (+0000) Subject: added little edit icons on participants list, see bug 1896 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=03f191ad65c3d61fc0862c078e06931eb3420bb7;p=moodle.git added little edit icons on participants list, see bug 1896 --- diff --git a/user/index.php b/user/index.php index dec2266489..270d98e23b 100644 --- a/user/index.php +++ b/user/index.php @@ -72,7 +72,12 @@ // do not have to be shown as users as well. Only relevant on site course. if ($showteachers) { if ($teachers = get_course_teachers($course->id)) { - echo "

$course->teachers

"; + echo "

$course->teachers"; + if (isadmin() or ($course->category and (iscreator() or ($isteacheredit and !empty($CFG->teacherassignteachers))))) { + echo ' '; + echo ''; + } + echo '

'; if($compactmode) { $exceptions .= implode(',', array_keys($teachers)); print_user_table($teachers, $isteacher); @@ -119,7 +124,12 @@ } } - echo "

$totalcount $course->students

"; + echo "

$totalcount $course->students"; + if (isteacheredit($course->id)) { + echo ' '; + echo ''; + } + echo '

'; if (($CFG->longtimenosee < 500) and (!$page) and ($sort == "lastaccess")) { echo "

(";