mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-73173 core_my: Confusing 'Content' region.
This commit is contained in:
parent
51149a78cc
commit
00f59c226e
@ -54,6 +54,7 @@ $PAGE->set_pagelayout('mycourses');
|
||||
$PAGE->has_secondary_navigation_setter(false);
|
||||
|
||||
$PAGE->set_pagetype('my-index');
|
||||
$PAGE->blocks->add_region('content');
|
||||
$PAGE->set_subpage($currentpage->id);
|
||||
$PAGE->set_title(get_string('mycourses'));
|
||||
$PAGE->set_heading(get_string('mycourses'));
|
||||
|
@ -81,8 +81,7 @@ $THEME->layouts = [
|
||||
// My courses page.
|
||||
'mycourses' => array(
|
||||
'file' => 'columns2.php',
|
||||
'regions' => array('content'),
|
||||
'defaultregion' => 'content',
|
||||
'regions' => array()
|
||||
),
|
||||
// My dashboard page.
|
||||
'mydashboard' => array(
|
||||
|
@ -49,7 +49,6 @@ $string['rawscss_desc'] = 'Use this field to provide SCSS or CSS code which will
|
||||
$string['rawscsspre'] = 'Raw initial SCSS';
|
||||
$string['rawscsspre_desc'] = 'In this field you can provide initialising SCSS code, it will be injected before everything else. Most of the time you will use this setting to define variables.';
|
||||
$string['region-side-pre'] = 'Right';
|
||||
$string['region-content'] = 'Content';
|
||||
$string['showfooter'] = 'Show footer';
|
||||
$string['privacy:metadata:preference:draweropennav'] = 'The user\'s preference for hiding or showing the drawer menu navigation.';
|
||||
$string['privacy:drawernavclosed'] = 'The current preference for the navigation drawer is closed.';
|
||||
|
@ -75,8 +75,7 @@ $THEME->layouts = [
|
||||
// My courses page.
|
||||
'mycourses' => array(
|
||||
'file' => 'columns.php',
|
||||
'regions' => array('content'),
|
||||
'defaultregion' => 'content',
|
||||
'regions' => array()
|
||||
),
|
||||
// My dashboard page.
|
||||
'mydashboard' => array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user