mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
"MDL-15138, fix breadcrumb nav, merged from MOODLE_19_STABLE"
This commit is contained in:
parent
b7cf551827
commit
cb224386f7
@ -72,7 +72,11 @@ if (empty($course)) {
|
||||
$link = '';
|
||||
}
|
||||
$navlinks = array();
|
||||
// $navlinks = array(array('name' => $course->shortname, 'link' => $link, 'type' => 'misc'));
|
||||
$navlinks = array(array('name' => get_string('administration'), 'link' => "$CFG->wwwroot/$CFG->admin/index.php", 'type' => 'misc'));
|
||||
$navlinks[] = array('name' => get_string('managemodules'), 'link' => null, 'type' => 'misc');
|
||||
$navlinks[] = array('name' => get_string('blocks'), 'link' => null, 'type' => 'misc');
|
||||
$navlinks[] = array('name' => get_string('feedstitle', 'block_rss_client'), 'link' => "$CFG->wwwroot/$CFG->admin/settings.php?section=blocksettingrss_client", 'type' => 'misc');
|
||||
$navlinks[] = array('name' => get_string('addnew', 'block_rss_client'), 'link' => null, 'type' => 'misc');
|
||||
$navigation = build_navigation($navlinks);
|
||||
print_header($straddedit, $straddedit, $navigation);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user