mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-11865 upgraded pagelib to using build_navigation()
This commit is contained in:
parent
98a85772f5
commit
8082d195a5
@ -42,9 +42,11 @@ class page_my_moodle extends page_base {
|
||||
$button = update_mymoodle_icon($USER->id);
|
||||
$nav = get_string('mymoodle','my');
|
||||
$header = $site->shortname.': '.$nav;
|
||||
$navlinks = array(array('name' => $nav, 'link' => '', 'type' => 'misc'));
|
||||
$navigation = build_navigation($navlinks);
|
||||
|
||||
$loggedinas = user_login_string($site);
|
||||
print_header($title, $header,$nav,'','',true, $button, $loggedinas);
|
||||
print_header($title, $header,$navigation,'','',true, $button, $loggedinas);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user