Skip to content

Commit

Permalink
lib MDL-19799 Upgraded print_header and build_navigation calls to OUT…
Browse files Browse the repository at this point in the history
…PUT/PAGE equivilants
  • Loading branch information
samhemelryk committed Sep 4, 2009
1 parent 83a7f05 commit 609adb6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/form/editorhelp.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}

}
print_header();
echo $OUTPUT->header();
echo $OUTPUT->box_start();
echo $OUTPUT->heading(get_string('editorhelptopics'));

Expand Down
9 changes: 7 additions & 2 deletions my/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 609adb6

Please sign in to comment.