Replace -> with >> in the navigation ... this will be replaced in

the new template scheme for a more dynamic template that you pass
an array to, so this is really just a reminder for later.
This commit is contained in:
moodler 2004-05-31 05:21:58 +00:00
parent c9b05b32fa
commit 50e4a15e6e

View File

@ -1096,7 +1096,8 @@ function print_navigation ($navigation) {
if (! $site = get_site()) {
$site->shortname = get_string("home");;
}
echo "<a target=\"{$CFG->framename}\" href=\"$CFG->wwwroot/\">$site->shortname</a> -> $navigation";
$navigation = str_replace('->', '&raquo;', $navigation);
echo "<a target=\"{$CFG->framename}\" href=\"$CFG->wwwroot/\">$site->shortname</a> &raquo; $navigation";
}
}