Skip to content

Commit

Permalink
MDL-11865 upgraded pagelib to using build_navigation()
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasconnault committed Nov 1, 2007
1 parent 2199273 commit 7e33b18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion my/pagelib.php
Expand Up @@ -42,9 +42,11 @@ function print_header($title) {
$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);

}

Expand Down

0 comments on commit 7e33b18

Please sign in to comment.