Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Print the user's stated city/country as well

  • Loading branch information...
commit cffbaff2dc4f3d6900c50d95645353c6ca7363b8 1 parent d8e69c5
martin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/ipatlas/plot.php
View
4 lib/ipatlas/plot.php
@@ -5,7 +5,7 @@
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 @@
';
if(isset($address)) {
-print "$username, $values[desc]";
+print "$username $values[desc]";
}
$PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];
Please sign in to comment.
Something went wrong with that request. Please try again.