]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed navigation on embedded media
authormoodler <moodler>
Thu, 19 Jul 2007 03:45:30 +0000 (03:45 +0000)
committermoodler <moodler>
Thu, 19 Jul 2007 03:45:30 +0000 (03:45 +0000)
mod/resource/type/file/resource.class.php

index 8a27739b1900540a906a0ad43ffd2aed7227bdff..5617afff201a4c0cbfeeb09c453d90b85acd4d14 100644 (file)
@@ -409,7 +409,7 @@ function display() {
         if ($inpopup) {
             print_header($pagetitle);
         } else {
-            print_header($pagetitle, $course->fullname, "$this->navigation <a $CFG->frametarget title=\"$strdirectlink\" href=\"$fullurl\"> ".format_string($resource->name,true)."</a>", "", "", true, update_module_button($cm->id, $course->id, $this->strresource), navmenu($course, $cm, "self"));
+            print_header_simple($pagetitle, '', "$this->navigation <a $CFG->frametarget title=\"$strdirectlink\" href=\"$fullurl\"> ".format_string($resource->name,true)."</a>", "", "", true, update_module_button($cm->id, $course->id, $this->strresource), navmenu($course, $cm, "self"));
 
         }