MDL-54664 blocks_lp: Set the layout of to review pages to standard

This commit is contained in:
Jun Pataleta
2016-05-23 09:51:29 +08:00
committed by David Monllao
parent 1f010acdd0
commit dabfdc2c6c
2 changed files with 2 additions and 0 deletions
+1
View 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');
+1
View 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');