MDL-11865 upgraded pagelib to using build_navigation()

This commit is contained in:
nicolasconnault 2007-11-01 08:59:48 +00:00
parent 98a85772f5
commit 8082d195a5

View File

@ -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);
}