diff -ruN mod/book/config.html /var/www/moodle/mod/book/config.html --- mod/book/config.html 2008-03-25 11:16:24.000000000 +0000 +++ /var/www/moodle/mod/book/config.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,30 +0,0 @@ - - -
diff -ruN mod/book/delete.php /var/www/moodle/mod/book/delete.php --- mod/book/delete.php 2008-03-25 11:16:24.000000000 +0000 +++ /var/www/moodle/mod/book/delete.php 2008-03-25 19:36:43.000000000 +0000 @@ -8,21 +8,9 @@ $strbooks = get_string('modulenameplural', 'book'); $strbook = get_string('modulename', 'book'); -if ($course->category) { - $navigation = ''.$course->shortname.' ->'; -} else { - $navigation = ''; -} +$navigation = build_navigation('', $cm); -print_header( "$course->shortname: $book->name", - $course->fullname, - "$navigation id>$strbooks -> $book->name", - '', - '', - true, - '', - '' - ); +print_header("$course->shortname: $book->name", $course->fullname, $navigation); ///form processing if ($confirm) { // the operation was confirmed. diff -ruN mod/book/edit.php /var/www/moodle/mod/book/edit.php --- mod/book/edit.php 2008-03-25 11:16:24.000000000 +0000 +++ /var/www/moodle/mod/book/edit.php 2008-03-25 19:37:34.000000000 +0000 @@ -123,22 +123,9 @@ } ///prepare the page header -if ($course->category) { - $navigation = ''.$course->shortname.' ->'; -} else { - $navigation = ''; -} - -print_header( "$course->shortname: $book->name", - $course->fullname, - "$navigation id\">$strbooks -> id\">$book->name -> $stredit", - '', - '', - true, - '', - '' - ); +$navigation = build_navigation('', $cm); +print_header("$course->shortname: $book->name", $course->fullname, $navigation); $icon = '| '.update_module_button($cm->id, $course->id, $strbook).' | '. ''.book_edit_button($cm->id, $course->id, $chapter->id).' |