MDL-74602 mod_book: disable activity header on book print page
This commit is contained in:
@@ -54,6 +54,7 @@ if ($chapterid) {
|
||||
|
||||
$PAGE->set_url('/mod/book/print.php', array('id' => $id, 'chapterid' => $chapterid));
|
||||
|
||||
$PAGE->activityheader->disable();
|
||||
$PAGE->set_pagelayout("embedded");
|
||||
|
||||
unset($id);
|
||||
@@ -93,4 +94,4 @@ if ($chapter) {
|
||||
echo $renderer->render($page);
|
||||
|
||||
// Finish page output.
|
||||
echo $OUTPUT->footer();
|
||||
echo $OUTPUT->footer();
|
||||
|
||||
Reference in New Issue
Block a user