if (empty($string)) { // Cache all the strings for the rest of the page
$string->email = get_string('email');
- $string->location = get_string('location');
+ $string->city = get_string('city');
$string->lastaccess = get_string('lastaccess');
$string->activity = get_string('activity');
$string->unenrol = get_string('unenrol');
$output .= $string->email .': <a href="mailto:'. $user->email .'">'. $user->email .'</a><br />';
}
if (($user->city or $user->country) and (!isset($hiddenfields['city']) or !isset($hiddenfields['country']))) {
- $output .= $string->location .': ';
+ $output .= $string->city .': ';
if ($user->city && !isset($hiddenfields['city'])) {
$output .= $user->city;
}