MDL-13050 Reverting, it's not working out as well as planned

This commit is contained in:
nicolasconnault 2008-01-21 13:40:47 +00:00
parent e5eabf22fe
commit 6dac764d18
6 changed files with 7 additions and 127 deletions

View file

@ -50,25 +50,7 @@
$strsubmissions = get_string("submissions", "exercise");
// ... print the header and...
$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');
$navlinks[] = array(
'name' => $strsubmissions,
'link' => '',
'type' => 'title');
$navigation = build_navigation($navlinks);
$navigation = build_navigation($strsubmissions, $cm);
print_header_simple(format_string($exercise->name), "", $navigation,
"", "", true);