core MDL-19786 Updated OUTPUT->header calls that were still using arguments
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user