MDL-19805 Converted all print_footer() calls
This commit is contained in:
@@ -94,6 +94,6 @@
|
||||
echo "<br />";
|
||||
print_table($table);
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
?>
|
||||
|
||||
@@ -223,6 +223,6 @@
|
||||
|
||||
echo "</td></tr></table>";
|
||||
}
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
+3
-3
@@ -96,7 +96,7 @@
|
||||
if ($choice->timeclose !=0) {
|
||||
if ($choice->timeopen > $timenow ) {
|
||||
print_simple_box(get_string("notopenyet", "choice", userdate($choice->timeopen)), "center");
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
} else if ($timenow > $choice->timeclose) {
|
||||
print_simple_box(get_string("expired", "choice", userdate($choice->timeclose)), "center");
|
||||
@@ -156,9 +156,9 @@
|
||||
print_simple_box(get_string('noresultsviewable', 'choice'), 'center');
|
||||
}
|
||||
|
||||
print_footer($course);
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
/// Mark as viewed
|
||||
$completion=new completion_info($course);
|
||||
$completion->set_module_viewed($cm);
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user