]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-19810 Upgraded calls to print_headline
authornicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 01:37:01 +0000 (01:37 +0000)
committernicolasconnault <nicolasconnault>
Thu, 6 Aug 2009 01:37:01 +0000 (01:37 +0000)
mod/hotpot/lib.php

index 78b195f8f6f2af12a95e7b2b1fd9d1c1863fb0d4..94044871edd676936a83373d04f4979aced8770a 100644 (file)
@@ -1110,7 +1110,7 @@ function hotpot_format_status($record, $undefined='&nbsp;') {
  * @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 '<div class="head"><div class="name">'.implode('<br />', $names).'</div></div>';