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; merged from MOODLE_19_STABLE
This commit is contained in:
parent
7956944f7c
commit
0bf0e3219e
1 changed files with 1 additions and 15 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue