notes MDL-19806 Updated print_header and build_navigation to OUTPUT and PAGE equivalents
This commit is contained in:
+5
-3
@@ -288,9 +288,11 @@
|
||||
}
|
||||
$buttons .= '</tr></table>';
|
||||
|
||||
$navigation = build_navigation(array(), $cm);
|
||||
print_header($title, $course->fullname, $navigation, '', '', true, $buttons, navmenu($course, $cm));
|
||||
|
||||
$PAGE->set_title($title);
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_button($buttons);
|
||||
echo $OUTPUT->header();
|
||||
|
||||
/// Check to see if groups are being used here
|
||||
$returnurl = 'view.php?d='.$data->id.'&search='.s($search).'&sort='.s($sort).'&order='.s($order).'&';
|
||||
groups_print_activity_menu($cm, $returnurl);
|
||||
|
||||
Reference in New Issue
Block a user