MDL-13050 Reverting, it's not working out as well as planned; merged from MOODLE_19_STABLE

This commit is contained in:
skodak 2008-01-24 19:02:27 +00:00
parent 7956944f7c
commit 0bf0e3219e

View file

@ -64,21 +64,7 @@
/// Print header. /// Print header.
$navlinks = array(); $navigation = build_navigation('', $cm);
$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);
print_header_simple(format_string($forum->name), "", print_header_simple(format_string($forum->name), "",
$navigation, "", "", true, $buttontext, navmenu($course, $cm)); $navigation, "", "", true, $buttontext, navmenu($course, $cm));