mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Print the user's stated city/country as well
This commit is contained in:
parent
d8e69c5c6d
commit
cffbaff2dc
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user