]> git.mjollnir.org Git - moodle.git/commitdiff
Replace -> with >> in the navigation ... this will be replaced in
authormoodler <moodler>
Mon, 31 May 2004 05:21:58 +0000 (05:21 +0000)
committermoodler <moodler>
Mon, 31 May 2004 05:21:58 +0000 (05:21 +0000)
the new template scheme for a more dynamic template that you pass
an array to, so this is really just a reminder for later.

lib/weblib.php

index 9ba848eb77a92c5e37a13aeebc693e53f75f6c45..f2ae1ec1463f04833f149c59cec6b8ab2f86535b 100644 (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";
    }
 }