diff --git a/notes/edit.php b/notes/edit.php index 5ea85b29e21..dfcf2ec07d4 100644 --- a/notes/edit.php +++ b/notes/edit.php @@ -83,7 +83,7 @@ print_header($course->shortname . ': ' . $strnotes, $course->fullname, build_navigation($nav)); - print_heading(fullname($user)); + echo $OUTPUT->heading(fullname($user)); $noteform->display(); print_footer(); diff --git a/notes/index.php b/notes/index.php index 914da334751..6aca465463a 100644 --- a/notes/index.php +++ b/notes/index.php @@ -40,7 +40,7 @@ if ($user->deleted) { print_header(); - print_heading(get_string('userdeleted')); + echo $OUTPUT->heading(get_string('userdeleted')); print_footer(); die; }