Merge branch 'MDL-78152-400' of https://github.com/paulholden/moodle into MOODLE_400_STABLE
This commit is contained in:
@@ -96,6 +96,8 @@ $pagetitle = $book->name;
|
||||
if ($chapter = $DB->get_record('book_chapters', ['id' => $chapterid, 'bookid' => $book->id])) {
|
||||
$pagetitle .= ": {$chapter->title}";
|
||||
}
|
||||
|
||||
$PAGE->set_other_editing_capability('mod/book:edit');
|
||||
$PAGE->set_title($pagetitle);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->add_body_class('limitedwidth');
|
||||
|
||||
Reference in New Issue
Block a user