admin MDL-19787 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants

This commit is contained in:
samhemelryk
2009-09-03 05:11:33 +00:00
parent a560785fae
commit 69d77c232a
17 changed files with 148 additions and 143 deletions
+5 -2
View File
@@ -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()) {