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 98a8577 commit 8082d19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion my/pagelib.php
Original file line number Diff line number Diff line change
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 8082d19

Please sign in to comment.