mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
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:
parent
8ed0851a5e
commit
ab1ca45eb0
4 changed files with 3 additions and 4 deletions
|
@ -89,7 +89,7 @@ $PAGE->set_context($context);
|
|||
$title = get_string('badges', 'badges');
|
||||
$PAGE->set_title($title);
|
||||
$PAGE->set_heading(fullname($USER));
|
||||
$PAGE->set_pagelayout('mydashboard');
|
||||
$PAGE->set_pagelayout('standard');
|
||||
|
||||
// Include JS files for backpack support.
|
||||
badges_setup_backpack_js();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue