MDL-19815 Converted all print_footer() calls

This commit is contained in:
nicolasconnault 2009-08-06 14:20:31 +00:00
parent f8302e2d69
commit 670bc3e7ef
4 changed files with 7 additions and 7 deletions

View File

@ -96,6 +96,6 @@
print_table($table);
print_footer($course);
echo $OUTPUT->footer();
?>

View File

@ -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 @@
</div> <!-- SCORM object -->
</div> <!-- SCORM box -->
</div> <!-- SCORM page -->
<?php print_footer('none'); ?>
<?php echo $OUTPUT->footer(); ?>

View File

@ -462,6 +462,6 @@
if (empty($noheader)) {
print_footer($course);
echo $OUTPUT->footer();
}
?>

View File

@ -91,5 +91,5 @@
if ($scormopen) {
scorm_view_display($USER, $scorm, 'view.php?id='.$cm->id, $cm);
}
print_footer($course);
echo $OUTPUT->footer();
?>