lib MDL-19799 Upgraded print_header and build_navigation calls to OUTPUT/PAGE equivilants

This commit is contained in:
samhemelryk
2009-09-04 07:24:58 +00:00
parent 83a7f058f8
commit 609adb68d4
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ for ($i=1; ; $i++){
}
}
print_header();
echo $OUTPUT->header();
echo $OUTPUT->box_start();
echo $OUTPUT->heading(get_string('editorhelptopics'));
+7 -2
View File
@@ -10,7 +10,8 @@
$strmymoodle = get_string('mymoodle','my');
if (isguest()) {
print_header($strmymoodle);
$PAGE->set_title($strmymoodle);
echo $OUTPUT->header();
echo $OUTPUT->confirm(get_string('noguest', 'my') . '<br /><br />' . get_string('liketologin'), get_login_url(), $CFG->wwwroot);
echo $OUTPUT->footer();
die;
@@ -55,7 +56,11 @@
$langmenu = $OUTPUT->select($select);
}
print_header($strmymoodle, $header, $navigation, '', '', true, $button, $loggedinas . $langmenu);
$PAGE->set_title($strmymoodle);
$PAGE->set_heading($header);
$PAGE->set_button($button);
$PAGE->set_headingmenu($loggedinas . $langmenu);
echo $OUTPUT->header();
/// The main overview in the middle of the page