]> git.mjollnir.org Git - moodle.git/commitdiff
core MDL-19786 Updated OUTPUT->header calls that were still using arguments
authorsamhemelryk <samhemelryk>
Tue, 8 Sep 2009 02:23:00 +0000 (02:23 +0000)
committersamhemelryk <samhemelryk>
Tue, 8 Sep 2009 02:23:00 +0000 (02:23 +0000)
course/report/stats/index.php
index.php
mod/forum/view.php

index fc7931f051bc9af91cf70d5f79826313f0065168..642c72fb8cef16870d6f0a1ea074d4b29c5eed92 100644 (file)
@@ -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');
index 113e3d911d7119eadb2098ddfcfbc1561756d7e3..6a3c0f5fb50c3beab937dd296fcd635f4f1a1856 100644 (file)
--- 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) {
index b1e0f452691107fe210f8465f3ff34c67c3bdcac..68053523c0a6e28ae55011ce2122896f90213daf 100644 (file)
@@ -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)) {