mod-page MDL-19799 Added set_url calls, replaced deprecated functions

This commit is contained in:
samhemelryk 2009-09-24 08:09:08 +00:00
parent 3c0977fec2
commit b3cfc7c3fc

View file

@ -70,7 +70,7 @@ if ($inpopup and $page->display == RESOURCELIB_DISPLAY_POPUP) {
$PAGE->set_title($course->shortname.': '.$page->name);
$PAGE->set_heading($course->fullname);
$PAGE->set_activity_record($page);
$PAGE->set_button(update_module_button($cm->id, '', get_string('modulename', 'page')));
$PAGE->set_button($OUTPUT->update_module_button($cm->id, 'page'));
echo $OUTPUT->header();
if (!empty($options['printheading'])) {