mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
mod-page MDL-19799 Added set_url calls, replaced deprecated functions
This commit is contained in:
parent
3c0977fec2
commit
b3cfc7c3fc
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ if ($inpopup and $page->display == RESOURCELIB_DISPLAY_POPUP) {
|
||||||
$PAGE->set_title($course->shortname.': '.$page->name);
|
$PAGE->set_title($course->shortname.': '.$page->name);
|
||||||
$PAGE->set_heading($course->fullname);
|
$PAGE->set_heading($course->fullname);
|
||||||
$PAGE->set_activity_record($page);
|
$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();
|
echo $OUTPUT->header();
|
||||||
|
|
||||||
if (!empty($options['printheading'])) {
|
if (!empty($options['printheading'])) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue