diff --git a/mod/resource/type/file/resource.class.php b/mod/resource/type/file/resource.class.php index 9a6035b2892..5e2e5828281 100644 --- a/mod/resource/type/file/resource.class.php +++ b/mod/resource/type/file/resource.class.php @@ -1,6 +1,5 @@ fullname, "$this->navigation ".format_string($resource->name), "", "", true, update_module_button($cm->id, $course->id, $this->strresource), navmenu($course, $cm, "parent")); + $navigation = build_navigation($this->navlinks, $cm); + print_header($pagetitle, $course->fullname, $navigation, "", "", true, update_module_button($cm->id, $course->id, $this->strresource), navmenu($course, $cm, "parent")); $options = new object(); $options->para = false; if (!empty($localpath)) { // Show some help @@ -393,6 +393,7 @@ class resource_file extends resource_base { ///add some javascript in order to fit this object tag into the browser window echo ' ';