MDL-33121 Book Module: performed minor changes and cleanup for the module

This commit is contained in:
Tõnis Tartes
2012-06-13 15:28:07 +08:00
committed by Rossiani Wijaya
parent b15ef0b058
commit 5b7e511ea8
17 changed files with 160 additions and 99 deletions
+2 -3
View File
@@ -108,9 +108,8 @@ if ($mform->is_cancelled()) {
}
// Otherwise fill and print the form.
$PAGE->set_title(format_string($book->name));
$PAGE->add_body_class('mod_book');
$PAGE->set_heading(format_string($course->fullname));
$PAGE->set_title($book->name);
$PAGE->set_heading($course->fullname);
echo $OUTPUT->header();
echo $OUTPUT->heading(get_string('editingchapter', 'mod_book'));