admin MDL-19787 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants
This commit is contained in:
+5
-2
@@ -18,8 +18,11 @@
|
||||
$strusers = get_string("users");
|
||||
$strall = get_string("all");
|
||||
|
||||
print_header($strtimezone, $strtimezone, build_navigation(array(array('name' => $strtimezone, 'link' => null, 'type' => 'misc'))));
|
||||
|
||||
$PAGE->set_title($strtimezone);
|
||||
$PAGE->set_heading($strtimezone);
|
||||
$PAGE->navbar->add($strtimezone);
|
||||
echo $OUTPUT->header();
|
||||
|
||||
echo $OUTPUT->heading("");
|
||||
|
||||
if (data_submitted() and !empty($zone) and confirm_sesskey()) {
|
||||
|
||||
Reference in New Issue
Block a user