From 008350b5856428a0b8ffa3cf25038c64e03874ef Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 01:38:17 +0000 Subject: [PATCH] MDL-19799 Upgraded calls to print_headline --- course/lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/course/lib.php b/course/lib.php index 7257c27549..f6d674e814 100644 --- a/course/lib.php +++ b/course/lib.php @@ -846,7 +846,7 @@ function print_overview($courses) { */ function print_recent_activity($course) { // $course is an object - global $CFG, $USER, $SESSION, $DB; + global $CFG, $USER, $SESSION, $DB, $OUTPUT; $context = get_context_instance(CONTEXT_COURSE, $course->id); @@ -880,7 +880,7 @@ function print_recent_activity($course) { //Accessibility: new users now appear in an
    list. if ($users) { echo '
    '; - print_headline(get_string("newusers").':', 3); + echo $OUTPUT->heading(get_string("newusers").':', 3); $content = true; echo "
      \n"; foreach ($users as $user) { @@ -954,7 +954,7 @@ function print_recent_activity($course) { } if (!empty($changelist)) { - print_headline(get_string('courseupdates').':', 3); + echo $OUTPUT->heading(get_string("courseupdates").':', 3); $content = true; foreach ($changelist as $changeinfo => $change) { echo '

      '.$change['text'].'

      '; -- 2.39.5