MDL-57385 core: Set page layouts of non-mydashboard pages to standard

The following pages are using the "mydashboard" page layout:
* User preferences > Badges > Manage badges
* User preferences > Badges > Backpack settings
* User preferences > Repositories > Manage instances
* Private files
However, the "mydashboard" page layout should only be used for the user's
dashboard page. Changing these to use the "standard" page layout.
This commit is contained in:
Jun Pataleta 2016-12-06 16:44:40 +08:00
parent 8ed0851a5e
commit ab1ca45eb0
4 changed files with 3 additions and 4 deletions

View file

@ -48,7 +48,7 @@ $PAGE->set_url('/user/files.php');
$PAGE->set_context($context);
$PAGE->set_title($title);
$PAGE->set_heading(fullname($USER));
$PAGE->set_pagelayout('mydashboard');
$PAGE->set_pagelayout('standard');
$PAGE->set_pagetype('user-files');
$maxbytes = $CFG->userquota;