user MDL-19825 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants
This commit is contained in:
+4
-4
@@ -47,11 +47,11 @@ if (!empty($users) && confirm_sesskey()) {
|
||||
|
||||
$straddnote = get_string('addnewnote', 'notes');
|
||||
|
||||
$navlinks = array();
|
||||
$navlinks[] = array('name' => $straddnote, 'link' => null, 'type' => 'misc');
|
||||
$navigation = build_navigation($navlinks);
|
||||
$PAGE->navbar->add($straddnote);
|
||||
$PAGE->set_title("$course->shortname: ".get_string('extendenrol'));
|
||||
$PAGE->set_heading($course->fullname);
|
||||
|
||||
print_header("$course->shortname: ".get_string('extendenrol'), $course->fullname, $navigation, "", "", true, " ", navmenu($course));
|
||||
echo $OUTPUT->header();
|
||||
|
||||
// this will contain all available the based On select options, but we'll disable some on them on a per user basis
|
||||
|
||||
|
||||
Reference in New Issue
Block a user