diff --git a/mod/wiki/admin.php b/mod/wiki/admin.php
index e6e23b1b364..7b9a2aa5339 100644
--- a/mod/wiki/admin.php
+++ b/mod/wiki/admin.php
@@ -153,7 +153,7 @@
if(!$confirm && $form->pagestodelete) {
notice_yesno(get_string("removepagecheck", "wiki")."
".join(", ", $form->pagestodelete),
$link."&confirm=".urlencode(join(" ",$form->pagestodelete)), $link);
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
}
@@ -174,7 +174,7 @@
}
notice_yesno(get_string("strippagecheck", "wiki")."
".join(", ", $pagestostrip),
$link.$confirm, $link);
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
}
@@ -186,7 +186,7 @@
$confirm="&confirm=".$form->pagetocheck;
notice_yesno(get_string("checklinkscheck", "wiki").$form->pagetocheck,
$link.$confirm, $link);
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
}
}
@@ -206,7 +206,7 @@
if($revertedpages) {
notice_yesno(get_string("revertpagescheck", "wiki")."
".$revertedpages,
$link.$confirm, $link);
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
} else {
$err->remark=get_string("nochangestorevert","wiki");
@@ -346,7 +346,7 @@
print_simple_box_end();
/// Finish the page
- print_footer($course);
+ echo $OUTPUT->footer();
exit;
?>
diff --git a/mod/wiki/index.php b/mod/wiki/index.php
index bbd5890e57e..35ee4b5f4e8 100644
--- a/mod/wiki/index.php
+++ b/mod/wiki/index.php
@@ -103,6 +103,6 @@
/// Finish the page
- print_footer($course);
+ echo $OUTPUT->footer();
?>
diff --git a/mod/wiki/view.php b/mod/wiki/view.php
index e37149cf32f..f164951979c 100644
--- a/mod/wiki/view.php
+++ b/mod/wiki/view.php
@@ -484,5 +484,5 @@ $strnojslockwarning
';
- print_footer($course);
+ echo $OUTPUT->footer();
?>