mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
MDL-19815 Converted all print_footer() calls
This commit is contained in:
parent
f8302e2d69
commit
670bc3e7ef
@ -96,6 +96,6 @@
|
||||
|
||||
print_table($table);
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
?>
|
||||
|
@ -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(); ?>
|
||||
|
@ -462,6 +462,6 @@
|
||||
|
||||
|
||||
if (empty($noheader)) {
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
}
|
||||
?>
|
||||
|
@ -91,5 +91,5 @@
|
||||
if ($scormopen) {
|
||||
scorm_view_display($USER, $scorm, 'view.php?id='.$cm->id, $cm);
|
||||
}
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user