MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently

This commit is contained in:
Sam Hemelryk
2011-09-08 09:38:46 +12:00
parent 5d2db8acc8
commit 91d284c145
31 changed files with 104 additions and 58 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ if ($usernew = $userform->get_data()) {
$a = new stdClass();
$a->url = $CFG->wwwroot . '/user/emailupdate.php?key=' . $usernew->preference_newemailkey . '&id=' . $user->id;
$a->site = $SITE->fullname;
$a->site = format_string($SITE->fullname, true, array('context' => get_context_instance(CONTEXT_COURSE, SITEID)));
$a->fullname = fullname($user, true);
$emailupdatemessage = get_string('emailupdatemessage', 'auth', $a);