From: skodak Date: Sun, 15 Apr 2007 15:51:16 +0000 (+0000) Subject: MDL-9315 fixed incorrect use of localtion (should be city) in user profile; merged... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5e104d5f3a80f55a2ef833c2c580369b3dc7b987;p=moodle.git MDL-9315 fixed incorrect use of localtion (should be city) in user profile; merged from MOODLE_18_STABLE together with other changes by Nic --- diff --git a/user/view.php b/user/view.php index 71eb5204b7..3dec104c42 100644 --- a/user/view.php +++ b/user/view.php @@ -209,7 +209,7 @@ $countries = get_list_of_countries(); $location .= $countries[$user->country]; } - print_row(get_string("location").":", $location); + print_row(get_string("city").":", $location); } if (has_capability('moodle/user:viewhiddendetails', $coursecontext)) { @@ -327,7 +327,7 @@ /// printing roles if ($rolestring = get_user_roles_in_context($id, $coursecontext->id)) { - print_row(get_string('roles').':', $rolestring); + print_row(get_string('roles').':', format_string($rolestring, false)); } /// Printing groups