mod-page MDL-19799 Added set_url calls, replaced deprecated functions
This commit is contained in:
+1
-1
@@ -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'])) {
|
||||
|
||||
Reference in New Issue
Block a user