Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
93ec5539
Commit
93ec5539
authored
Sep 06, 2012
by
Ankit Agarwal
Browse files
MDL-35223 book: use chapter names in page titles
parent
935c3d5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/book/view.php
View file @
93ec5539
...
...
@@ -114,7 +114,8 @@ $strbook = get_string('modulename', 'mod_book');
$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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment