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
337b43a7
Commit
337b43a7
authored
Jun 27, 2011
by
Petr Skoda
Browse files
CONTRIB-2970 header printed too early
Credit goes to Sam Chaffee.
parent
311d8d72
Changes
1
Hide whitespace changes
Inline
Side-by-side
view.php
View file @
337b43a7
...
...
@@ -125,8 +125,6 @@ $PAGE->set_heading(format_string($course->fullname));
book_add_fake_block
(
$chapters
,
$chapter
,
$book
,
$cm
,
$edit
);
echo
$OUTPUT
->
header
();
/// prepare chapter navigation icons
$previd
=
null
;
$nextid
=
null
;
...
...
@@ -169,6 +167,8 @@ if ($nextid) {
// Book display HTML code
// =====================================================
echo
$OUTPUT
->
header
();
// upper nav
echo
'<div class="navtop">'
.
$chnavigation
.
'</div>'
;
...
...
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