mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +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_table($table);
|
||||||
|
|
||||||
print_footer($course);
|
echo $OUTPUT->footer();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
print_header($pagetitle, $course->fullname, $navigation,
|
print_header($pagetitle, $course->fullname, $navigation,
|
||||||
'', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false);
|
'', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false);
|
||||||
notice(get_string("activityiscurrentlyhidden"));
|
notice(get_string("activityiscurrentlyhidden"));
|
||||||
print_footer($course);
|
echo $OUTPUT->footer();
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -78,7 +78,7 @@
|
|||||||
print_header($pagetitle, $course->fullname, $navigation,
|
print_header($pagetitle, $course->fullname, $navigation,
|
||||||
'', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false);
|
'', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false);
|
||||||
print_simple_box(get_string("notopenyet", "scorm", userdate($scorm->timeopen)), "center");
|
print_simple_box(get_string("notopenyet", "scorm", userdate($scorm->timeopen)), "center");
|
||||||
print_footer($course);
|
echo $OUTPUT->footer();
|
||||||
die;
|
die;
|
||||||
} elseif ($timenow > $scorm->timeclose) {
|
} elseif ($timenow > $scorm->timeclose) {
|
||||||
$navlinks[] = array('name' => format_string($scorm->name,true), 'link' => "view.php?id=$cm->id", 'type' => 'activityinstance');
|
$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,
|
print_header($pagetitle, $course->fullname, $navigation,
|
||||||
'', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false);
|
'', '', true, update_module_button($cm->id, $course->id, $strscorm), '', false);
|
||||||
print_simple_box(get_string("expired", "scorm", userdate($scorm->timeclose)), "center");
|
print_simple_box(get_string("expired", "scorm", userdate($scorm->timeclose)), "center");
|
||||||
print_footer($course);
|
echo $OUTPUT->footer();
|
||||||
die;
|
die;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -325,4 +325,4 @@
|
|||||||
</div> <!-- SCORM object -->
|
</div> <!-- SCORM object -->
|
||||||
</div> <!-- SCORM box -->
|
</div> <!-- SCORM box -->
|
||||||
</div> <!-- SCORM page -->
|
</div> <!-- SCORM page -->
|
||||||
<?php print_footer('none'); ?>
|
<?php echo $OUTPUT->footer(); ?>
|
||||||
|
@ -462,6 +462,6 @@
|
|||||||
|
|
||||||
|
|
||||||
if (empty($noheader)) {
|
if (empty($noheader)) {
|
||||||
print_footer($course);
|
echo $OUTPUT->footer();
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -91,5 +91,5 @@
|
|||||||
if ($scormopen) {
|
if ($scormopen) {
|
||||||
scorm_view_display($USER, $scorm, 'view.php?id='.$cm->id, $cm);
|
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