]> git.mjollnir.org Git - moodle.git/commitdiff
Print the user's stated city/country as well
authormartin <martin>
Mon, 2 Sep 2002 07:18:13 +0000 (07:18 +0000)
committermartin <martin>
Mon, 2 Sep 2002 07:18:13 +0000 (07:18 +0000)
lib/ipatlas/plot.php

index 9cbbb7eec46122150f429e91cde99de465e633dc..de4d0ffe0b21b9a0095fb44c1605f2d2c5512119 100644 (file)
@@ -5,7 +5,7 @@ include("plot.inc");
 
 if (isset($user)) {
     $user = get_record("user", "id", $user);
-    $username = "<B>$user->firstname $user->lastname</B>";
+    $username = "<B>$user->firstname $user->lastname</B> [$user->city, $user->country] : ";
 } else {
     $username = "";
 }
@@ -112,7 +112,7 @@ print '
 ';
 
 if(isset($address)) {
-print "$username, $values[desc]";
+print "$username $values[desc]";
 }
 
 $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];