From: skodak Date: Thu, 24 Jan 2008 19:02:27 +0000 (+0000) Subject: MDL-13050 Reverting, it's not working out as well as planned; merged from MOODLE_19_S... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0bf0e3219ea1d66dfe65be1553f11194f642f511;p=moodle.git MDL-13050 Reverting, it's not working out as well as planned; merged from MOODLE_19_STABLE --- diff --git a/mod/forum/view.php b/mod/forum/view.php index 8b84f834ae..8a96fc7aa2 100644 --- a/mod/forum/view.php +++ b/mod/forum/view.php @@ -64,21 +64,7 @@ /// Print header. - $navlinks = array(); - $navlinks[] = array( - 'name' => get_string('grades'), - 'link' => $CFG->wwwroot . '/grade/report/index.php?id=' . $cm->course, - 'type' => 'link'); - $navlinks[] = array( - 'name' => get_string('modulenameplural', $cm->modname), - 'link' => $CFG->wwwroot . '/mod/' . $cm->modname . '/index.php?id=' . $cm->course, - 'type' => 'activity'); - $navlinks[] = array( - 'name' => format_string($cm->name), - 'link' => $CFG->wwwroot . '/mod/' . $cm->modname . '/view.php?id=' . $cm->id, - 'type' => 'activityinstance'); - - $navigation = build_navigation($navlinks); + $navigation = build_navigation('', $cm); print_header_simple(format_string($forum->name), "", $navigation, "", "", true, $buttontext, navmenu($course, $cm));