From c16a1b58033aaee2b4cc7c26c0d5e3c6c7fe2cb0 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 01:37:01 +0000 Subject: [PATCH] MDL-19810 Upgraded calls to print_headline --- mod/hotpot/lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/hotpot/lib.php b/mod/hotpot/lib.php index 78b195f8f6f2a..94044871edd67 100644 --- a/mod/hotpot/lib.php +++ b/mod/hotpot/lib.php @@ -1110,7 +1110,7 @@ function hotpot_format_status($record, $undefined=' ') { * @return bool */ function hotpot_print_recent_activity($course, $isteacher, $timestart) { - global $CFG, $DB; + global $CFG, $DB, $OUTPUT; $result = false; @@ -1149,7 +1149,7 @@ function hotpot_print_recent_activity($course, $isteacher, $timestart) { } } if (count($names) > 0) { - print_headline(get_string('modulenameplural', 'hotpot').':'); + echo $OUTPUT->heading(get_string('modulenameplural', 'hotpot').':'); if ($CFG->version >= 2005050500) { // Moodle 1.5+ echo '
'.implode('
', $names).'
';