]> git.mjollnir.org Git - moodle.git/commitdiff
Added location on the user overview
authormartin <martin>
Thu, 7 Mar 2002 06:18:52 +0000 (06:18 +0000)
committermartin <martin>
Thu, 7 Mar 2002 06:18:52 +0000 (06:18 +0000)
user/index.php

index 23df5e52e036e4cb68243395727016fbfa3eee7c..20201aac1bf189bc49bcc1263a53b0da39a363ed 100644 (file)
@@ -69,6 +69,7 @@ function print_user($user, $course, $teacherlinks) {
     echo "<FONT SIZE=-1>";
     echo "<FONT SIZE=3><B>$user->firstname $user->lastname</B></FONT>";
     echo "<P>Email: <A HREF=\"mailto:$user->email\">$user->email</A><BR>";
+    echo "Location: $user->city, $user->country<BR>";
     echo "Last access: ".userdate($user->lastaccess);
     echo "&nbsp (".format_time(time() - $user->lastaccess).")";
     echo "</TD><TD VALIGN=bottom BGCOLOR=#FFFFFF NOWRAP>";