From: moodler Date: Fri, 28 Nov 2003 16:16:59 +0000 (+0000) Subject: Use fullname display for actual name in list X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=eca1c454d74a888e96e6974449540e987d42e676;p=moodle.git Use fullname display for actual name in list --- diff --git a/user/index.php b/user/index.php index 0a231c1304..85d5f08430 100644 --- a/user/index.php +++ b/user/index.php @@ -20,6 +20,8 @@ require_login($course->id); + $isteacher = isteacher($course->id); + add_to_log($course->id, "user", "view all", "index.php?id=$course->id", ""); $string->email = get_string("email"); @@ -216,8 +218,10 @@ $picture = print_user_picture($student->id, $course->id, $student->picture, false, true); } + $fullname = fullname($student, $isteacher); + $table->data[] = array ($picture, - "wwwroot/user/view.php?id=$student->id&course=$course->id\">$student->firstname $student->lastname", + "wwwroot/user/view.php?id=$student->id&course=$course->id\">$fullname", "$student->city", "$student->country", "$lastaccess");