MDL-72413 feedback: Use the common module for setting the header
This commit is contained in:
@@ -58,9 +58,7 @@ $strfeedback = get_string("modulename", "feedback");
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_title($feedback->name);
|
||||
echo $OUTPUT->header();
|
||||
if (!$PAGE->has_secondary_navigation()) {
|
||||
echo $OUTPUT->heading(format_string($feedback->name));
|
||||
}
|
||||
|
||||
echo $OUTPUT->box(get_string('mapcourseinfo', 'feedback'));
|
||||
|
||||
$form->display();
|
||||
|
||||
Reference in New Issue
Block a user