From 670bc3e7efb56c87c7b9f6c0c60428048988b66c Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Thu, 6 Aug 2009 14:20:31 +0000 Subject: [PATCH] MDL-19815 Converted all print_footer() calls --- mod/scorm/index.php | 2 +- mod/scorm/player.php | 8 ++++---- mod/scorm/report.php | 2 +- mod/scorm/view.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mod/scorm/index.php b/mod/scorm/index.php index 3661af88e8..e14f23ef82 100755 --- a/mod/scorm/index.php +++ b/mod/scorm/index.php @@ -96,6 +96,6 @@ print_table($table); - print_footer($course); + echo $OUTPUT->footer(); ?> diff --git a/mod/scorm/player.php b/mod/scorm/player.php index e51788a3ba..643d0e6054 100755 --- a/mod/scorm/player.php +++ b/mod/scorm/player.php @@ -65,7 +65,7 @@ print_header($pagetitle, $course->fullname, $navigation, '', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false); notice(get_string("activityiscurrentlyhidden")); - print_footer($course); + echo $OUTPUT->footer(); die; } @@ -78,7 +78,7 @@ print_header($pagetitle, $course->fullname, $navigation, '', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false); print_simple_box(get_string("notopenyet", "scorm", userdate($scorm->timeopen)), "center"); - print_footer($course); + echo $OUTPUT->footer(); die; } elseif ($timenow > $scorm->timeclose) { $navlinks[] = array('name' => format_string($scorm->name,true), 'link' => "view.php?id=$cm->id", 'type' => 'activityinstance'); @@ -86,7 +86,7 @@ print_header($pagetitle, $course->fullname, $navigation, '', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false); print_simple_box(get_string("expired", "scorm", userdate($scorm->timeclose)), "center"); - print_footer($course); + echo $OUTPUT->footer(); die; } } @@ -325,4 +325,4 @@ - +footer(); ?> diff --git a/mod/scorm/report.php b/mod/scorm/report.php index 9e51896682..c1ca80dc24 100755 --- a/mod/scorm/report.php +++ b/mod/scorm/report.php @@ -462,6 +462,6 @@ if (empty($noheader)) { - print_footer($course); + echo $OUTPUT->footer(); } ?> diff --git a/mod/scorm/view.php b/mod/scorm/view.php index e2af8b238c..5b4779bdc2 100755 --- a/mod/scorm/view.php +++ b/mod/scorm/view.php @@ -91,5 +91,5 @@ if ($scormopen) { scorm_view_display($USER, $scorm, 'view.php?id='.$cm->id, $cm); } - print_footer($course); + echo $OUTPUT->footer(); ?> -- 2.39.5