MDL-54664 blocks_lp: Set the layout of to review pages to standard
authorJun Pataleta <jun@moodle.com>
Fri, 20 May 2016 08:58:54 +0000 (16:58 +0800)
committerJun Pataleta <jun@moodle.com>
Fri, 20 May 2016 08:58:54 +0000 (16:58 +0800)
blocks/lp/competencies_to_review.php
blocks/lp/plans_to_review.php

index ec91f28..817620c 100644 (file)
@@ -35,6 +35,7 @@ $url = new moodle_url('/blocks/lp/competencies_to_review.php');
 $PAGE->set_context(context_user::instance($USER->id));
 $PAGE->set_url($url);
 $PAGE->set_title($toreviewstr);
+$PAGE->set_pagelayout('standard');
 $PAGE->navbar->add($toreviewstr, $url);
 
 $output = $PAGE->get_renderer('block_lp');
index 973c1ae..8643bcf 100644 (file)
@@ -35,6 +35,7 @@ $url = new moodle_url('/blocks/lp/plans_to_review.php');
 $PAGE->set_context(context_user::instance($USER->id));
 $PAGE->set_url($url);
 $PAGE->set_title($toreviewstr);
+$PAGE->set_pagelayout('standard');
 $PAGE->navbar->add($toreviewstr, $url);
 
 $output = $PAGE->get_renderer('block_lp');