From bca9ba8c6e419e01542f4d27bdb81f98c88f93fb Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 08:26:34 +0000 Subject: [PATCH] MDL-19793 Migrated calls to print_heading --- calendar/preferences.php | 2 +- calendar/view.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/preferences.php b/calendar/preferences.php index 6dfe06445f..3eafa1b204 100644 --- a/calendar/preferences.php +++ b/calendar/preferences.php @@ -71,7 +71,7 @@ '', '', true, '', user_login_string($site)); - print_heading($strpreferences); + echo $OUTPUT->heading($strpreferences); print_simple_box_start("center"); diff --git a/calendar/view.php b/calendar/view.php index 7dfe7e72ba..c122b7bef3 100644 --- a/calendar/view.php +++ b/calendar/view.php @@ -563,7 +563,7 @@ function calendar_show_month_detailed($m, $y, $courses, $groups, $users, $course } function calendar_show_upcoming_events($courses, $groups, $users, $futuredays, $maxevents, $courseid) { - global $USER; + global $USER, $OUTPUT; $events = calendar_get_upcoming($courses, $groups, $users, $futuredays, $maxevents); @@ -596,7 +596,7 @@ function calendar_show_upcoming_events($courses, $groups, $users, $futuredays, $ } echo ''; } else { - print_heading(get_string('noupcomingevents', 'calendar')); + echo $OUTPUT->heading(get_string('noupcomingevents', 'calendar')); } } -- 2.39.5