MDL-25746 fixed db tempate page layout to prevent hidden content layers

This commit is contained in:
Aparup Banerjee
2011-04-11 15:16:54 +08:00
parent 408612d111
commit f68815ffcf
+1
View File
@@ -90,6 +90,7 @@ if ($mode == 'singletemplate') {
$PAGE->requires->js('/mod/data/data.js');
$PAGE->set_title($data->name);
$PAGE->set_heading($course->fullname);
$PAGE->set_pagelayout('report');
echo $OUTPUT->header();
echo $OUTPUT->heading(format_string($data->name));