Merge branch 'm27_MDL-49904' of git://github.com/totara/moodle into MOODLE_27_STABLE

This commit is contained in:
David Monllao
2015-04-20 10:42:02 +08:00
+4 -2
View File
@@ -304,9 +304,11 @@ if ($user->id == -1 or ($user->id != $USER->id)) {
if ($user->id == -1) {
echo $OUTPUT->header();
} else {
$PAGE->set_heading($SITE->fullname);
echo $OUTPUT->header();
$userfullname = fullname($user, true);
$streditmyprofile = get_string('editmyprofile');
$PAGE->set_heading($SITE->fullname);
$PAGE->set_title("$course->shortname: $streditmyprofile - $userfullname");
echo $OUTPUT->header();
echo $OUTPUT->heading($userfullname);
}
} else if (!empty($USER->newadminuser)) {