From: nicolasconnault Date: Thu, 6 Aug 2009 08:21:24 +0000 (+0000) Subject: MDL-19815 Migrated calls to print_heading X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=465f165d10640200e38a8d47ad698e6b0c238a1d;p=moodle.git MDL-19815 Migrated calls to print_heading --- diff --git a/mod/scorm/report.php b/mod/scorm/report.php index a4d2f8ffb6..9e51896682 100755 --- a/mod/scorm/report.php +++ b/mod/scorm/report.php @@ -92,7 +92,7 @@ print_header("$course->shortname: ".format_string($scorm->name), $course->fullname, $navigation, '', '', true); } - print_heading(format_string($scorm->name)); + echo $OUTPUT->heading(format_string($scorm->name)); } if ($action == 'delete' && has_capability('mod/scorm:deleteresponses',$contextmodule)) { @@ -284,7 +284,7 @@ if (!empty($userdata)) { print_simple_box_start('center'); //print_heading(format_string($sco->title)); - print_heading(''.format_string($sco->title).''); + echo $OUTPUT->heading(''.format_string($sco->title).''); echo '
'."\n"; print_user_picture($user, $course->id, $userdata->picture, false, false); echo "wwwroot/user/view.php?id=$user&course=$course->id\">". diff --git a/mod/scorm/view.php b/mod/scorm/view.php index 134f0967a2..e2af8b238c 100755 --- a/mod/scorm/view.php +++ b/mod/scorm/view.php @@ -70,7 +70,7 @@ } // Print the main part of the page - print_heading(format_string($scorm->name)); + echo $OUTPUT->heading(format_string($scorm->name)); $attemptstatus = ''; if ($scorm->displayattemptstatus == 1) { $attemptstatus = scorm_get_attempt_status($USER,$scorm); @@ -92,4 +92,4 @@ scorm_view_display($USER, $scorm, 'view.php?id='.$cm->id, $cm); } print_footer($course); -?> \ No newline at end of file +?>