Permalink
Browse files

MDL-29904-M21 FIX to add pagelayout=>report

  • Loading branch information...
1 parent f28832d commit 689a6891bfc0f90194f91b1cbb88c87484dd51ac @lazydaisy lazydaisy committed Nov 20, 2011
@@ -7,7 +7,7 @@
$courseid = optional_param('courseid', 0, PARAM_INT);
- admin_externalpage_setup('reportbackups');
+ admin_externalpage_setup('reportbackups', '', null, '', array('pagelayout'=>'report'));
echo $OUTPUT->header();
/// Automated backups aren't active by the site admin
@@ -9,7 +9,7 @@
$sort = optional_param('sort', 'timemodified', PARAM_ALPHA);
$dir = optional_param('dir', 'DESC', PARAM_ALPHA);
-admin_externalpage_setup('reportconfiglog');
+admin_externalpage_setup('reportconfiglog', '', null, '', array('pagelayout'=>'report'));
echo $OUTPUT->header();
echo $OUTPUT->heading(get_string('configlog', 'report_configlog'));
@@ -16,7 +16,7 @@
}
}
- admin_externalpage_setup('reportcourseoverview');
+ admin_externalpage_setup('reportcourseoverview', '', null, '', array('pagelayout'=>'report'));
echo $OUTPUT->header();
$course = get_site();
@@ -15,7 +15,7 @@
$requestedqtype = optional_param('qtype', '', PARAM_SAFEDIR);
// Print the header & check permissions.
-admin_externalpage_setup('reportquestioninstances');
+admin_externalpage_setup('reportquestioninstances', '', null, '', array('pagelayout'=>'report'));
echo $OUTPUT->header();
// Log.
@@ -45,7 +45,7 @@
@set_time_limit(0);
// Print the header.
-admin_externalpage_setup('reportsecurity');
+admin_externalpage_setup('reportsecurity', '', null, '', array('pagelayout'=>'report'));
echo $OUTPUT->header();
echo $OUTPUT->heading(get_string('pluginname', 'report_security'));
@@ -40,7 +40,7 @@
$id = optional_param('id', '', PARAM_INT);
require_login();
-admin_externalpage_setup('reportspamcleaner');
+admin_externalpage_setup('reportspamcleaner', '', null, '', array('pagelayout'=>'report'));
// Delete one user
if (!empty($del) && confirm_sesskey() && ($id != $USER->id)) {

0 comments on commit 689a689

Please sign in to comment.