]> git.mjollnir.org Git - moodle.git/commitdiff
merged fix for MDL-11709, print_header() warning for blogs
authortoyomoyo <toyomoyo>
Thu, 11 Oct 2007 08:14:13 +0000 (08:14 +0000)
committertoyomoyo <toyomoyo>
Thu, 11 Oct 2007 08:14:13 +0000 (08:14 +0000)
blog/header.php

index 3e770e66d2bb8cac654b556a9f3bcaf3ed787332..cec97b25b06a3a43d56d308686b3ba7b0e878933 100755 (executable)
@@ -206,11 +206,7 @@ $navlinks = array();
                                         'type' => 'misc');
                     $navlinks[] = array('name' => $blogstring, 'link' => null, 'type' => 'misc');
                     $navigation = build_navigation($navlinks);
-                    print_header("$course->shortname: $blogstring", $course->fullname,
-                            '<a href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">'.$course->shortname.'</a> ->
-                            <a href="'.$CFG->wwwroot.'/user/index.php?id='.$course->id.'">'.$participants.'</a> ->
-                            <a href="'.$CFG->wwwroot.'/user/view.php?id='.$filterselect.'&amp;course='.$course->id.'">'.fullname($user).'</a> ->
-                            '.$blogstring,'','',true,$PAGE->get_extra_header_string());
+                    print_header("$course->shortname: $blogstring", $course->fullname, $navigation,'','',true,$PAGE->get_extra_header_string());
                 }
 
             } else {