From 393f161545dd2e6c2b5faada8a3062fd6b56b63d Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Tue, 8 Sep 2009 02:23:00 +0000 Subject: [PATCH] core MDL-19786 Updated OUTPUT->header calls that were still using arguments --- course/report/stats/index.php | 3 ++- index.php | 3 ++- mod/forum/view.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/course/report/stats/index.php b/course/report/stats/index.php index fc7931f051..642c72fb8c 100644 --- a/course/report/stats/index.php +++ b/course/report/stats/index.php @@ -55,7 +55,8 @@ $PAGE->set_headingmenu(); $PAGE->navbar->add($strreports, new moodle_url($CFG->wwwroot.'/course/report.php', array('id'=>$course->id))); $PAGE->navbar->add($strstats); - echo $OUTPUT->header(report_stats_mode_menu($course, $mode, $time, "$CFG->wwwroot/course/report/stats/index.php")); + $PAGE->headingmenu(report_stats_mode_menu($course, $mode, $time, "$CFG->wwwroot/course/report/stats/index.php")); + echo $OUTPUT->header(); } require($CFG->dirroot.'/course/report/stats/report.php'); diff --git a/index.php b/index.php index 113e3d911d..6a3c0f5fb5 100644 --- a/index.php +++ b/index.php @@ -87,7 +87,8 @@ $editing = $PAGE->user_is_editing(); $PAGE->set_title($SITE->fullname); $PAGE->set_heading($SITE->fullname); - echo $OUTPUT->header(user_login_string($SITE) . $langmenu); + $PAGE->set_headingmenu(user_login_string($SITE) . $langmenu); + echo $OUTPUT->header(); /// Print Section if ($SITE->numsections > 0) { diff --git a/mod/forum/view.php b/mod/forum/view.php index b1e0f45269..68053523c0 100644 --- a/mod/forum/view.php +++ b/mod/forum/view.php @@ -74,7 +74,7 @@ /// Print header. $PAGE->set_title(format_string($forum->name)); $PAGE->set_heading(format_string($course->fullname)); - echo $OUTPUT->header(navmenu($course, $cm)); + echo $OUTPUT->header(); /// Some capability checks. if (empty($cm->visible) and !has_capability('moodle/course:viewhiddenactivities', $context)) { -- 2.39.5