Skip to content
Browse files

MDL-35223 book: use chapter names in page titles

  • Loading branch information...
1 parent 71e12dc commit 6d89ac64ab1f3722cca5065e828c7506adc0ecb2 @ankitagarwal ankitagarwal committed Sep 6, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/book/view.php
View
3 mod/book/view.php
@@ -114,7 +114,8 @@
$strtoc = get_string('toc', 'mod_book');
// prepare header
-$PAGE->set_title($book->name);
+$pagetitle = $book->name . ": " . $chapter->title;
+$PAGE->set_title($pagetitle);
$PAGE->set_heading($course->fullname);
book_add_fake_block($chapters, $chapter, $book, $cm, $edit);

0 comments on commit 6d89ac6

Please sign in to comment.
Something went wrong with that request. Please try again.