MDL-73848 administration: Fix the Site home settings breadcrumbs
This commit is contained in:
committed by
Jun Pataleta
parent
1bb972ae0a
commit
49dabbbf32
@@ -119,6 +119,8 @@ if (empty($SITE->fullname)) {
|
||||
$PAGE->set_title("$SITE->shortname: " . implode(": ",$visiblepathtosection));
|
||||
$PAGE->set_heading($SITE->fullname);
|
||||
if ($section === 'frontpagesettings') {
|
||||
$frontpagenode = $PAGE->settingsnav->find('frontpage', navigation_node::TYPE_SETTING);
|
||||
$frontpagenode->make_active();
|
||||
$PAGE->navbar->add(get_string('frontpage', 'admin'),
|
||||
new moodle_url('/admin/category.php', ['category' => 'frontpage']));
|
||||
$PAGE->navbar->add(get_string('frontpagesettings', 'admin'), $PAGE->url);
|
||||
|
||||
Reference in New Issue
Block a user