mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-13050 Reverting, it's not working out as well as planned
This commit is contained in:
parent
e5eabf22fe
commit
6dac764d18
6 changed files with 7 additions and 127 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue