From f7e6b8624ae12e54418d0af543e26ed7c7efb119 Mon Sep 17 00:00:00 2001
From: nicolasconnault '.implode('
";
print_continue("view.php?id=$cm->id");
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
}
@@ -110,6 +110,6 @@
echo "";
print_simple_box_end();
- print_footer($course);
+ echo $OUTPUT->footer();
?>
diff --git a/mod/lesson/importppt.php b/mod/lesson/importppt.php
index 6a5d96c19d..cdfecb4ac3 100644
--- a/mod/lesson/importppt.php
+++ b/mod/lesson/importppt.php
@@ -76,7 +76,7 @@
echo "
";
print_continue("$CFG->wwwroot/mod/$modname/view.php?id=$cm->id");
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
}
@@ -103,7 +103,7 @@
echo "";
print_simple_box_end();
- print_footer($course);
+ echo $OUTPUT->footer();
// START OF FUNCTIONS
diff --git a/mod/lesson/index.php b/mod/lesson/index.php
index f0c02f37da..b4a347576e 100644
--- a/mod/lesson/index.php
+++ b/mod/lesson/index.php
@@ -106,6 +106,6 @@
/// Finish the page
- print_footer($course);
+ echo $OUTPUT->footer();
?>
diff --git a/mod/lesson/lesson.php b/mod/lesson/lesson.php
index 9f3f338f3a..f20d661d9c 100644
--- a/mod/lesson/lesson.php
+++ b/mod/lesson/lesson.php
@@ -58,6 +58,6 @@
print_error('unknowaction');
}
- print_footer($course);
+ echo $OUTPUT->footer();
?>
diff --git a/mod/lesson/mediafile.php b/mod/lesson/mediafile.php
index da74916b88..9483910640 100644
--- a/mod/lesson/mediafile.php
+++ b/mod/lesson/mediafile.php
@@ -49,7 +49,7 @@
';
- print_footer();
+ echo $OUTPUT->footer();
}
exit();
}
@@ -206,5 +206,5 @@
echo '';
}
- print_footer();
+ echo $OUTPUT->footer();
?>
diff --git a/mod/lesson/report.php b/mod/lesson/report.php
index 8ad3af5e1c..d60bfd749b 100644
--- a/mod/lesson/report.php
+++ b/mod/lesson/report.php
@@ -119,7 +119,7 @@
if ($nothingtodisplay) {
notify(get_string('nolessonattempts', 'lesson'));
- print_footer($course);
+ echo $OUTPUT->footer();
exit();
}
@@ -923,6 +923,6 @@
}
/// Finish the page
- print_footer($course);
+ echo $OUTPUT->footer();
?>
diff --git a/mod/lesson/view.php b/mod/lesson/view.php
index 841277b7bd..edf4aca81d 100644
--- a/mod/lesson/view.php
+++ b/mod/lesson/view.php
@@ -45,7 +45,7 @@
echo ' ';
echo '';
print_box_end();
- print_footer($course);
+ echo $OUTPUT->footer();
exit();
} else if ($lesson->usepassword and empty($USER->lessonloggedin[$lesson->id])) { // Password protected lesson code
@@ -81,7 +81,7 @@
echo '';
print_box_end();
echo "\n";
- print_footer($course);
+ echo $OUTPUT->footer();
exit();
}
@@ -152,7 +152,7 @@
echo '
'.get_string('and', 'lesson').'
', $errors).'