Accessibility: fix, weblib.php: print_navigation, class="resize" (Martin D post 10/3, OU-Bugz: 726)

This commit is contained in:
nfreear 2006-03-13 14:46:05 +00:00
parent 531a574aff
commit 40d34f9e3c

View File

@ -2403,8 +2403,8 @@ function print_navigation ($navigation) {
if (! $site = get_site()) {
$site->shortname = get_string('home');
}
$navigation = '<li title="'.$nav_text.'"><img src="'.$CFG->pixpath.'/a/r_breadcrumb.gif" alt="" /> '
.str_replace('->', '</li><li title="'.$nav_text.'"><img src="'.$CFG->pixpath.'/a/r_breadcrumb.gif" alt="" /> ', $navigation)."</li>\n";
$navigation = '<li title="'.$nav_text.'"><img src="'.$CFG->pixpath.'/a/r_breadcrumb.gif" class="resize" alt="" /> '
.str_replace('->', '</li><li title="'.$nav_text.'"><img src="'.$CFG->pixpath.'/a/r_breadcrumb.gif" class="resize" alt="" /> ', $navigation)."</li>\n";
echo '<li class="first"><a target="'. $CFG->framename .'" href="'. $CFG->wwwroot.((!isadmin() && !empty($USER->id) && !empty($CFG->mymoodleredirect) && !isguest())
? '/my' : '') .'/">'. $site->shortname ."</a></li>\n". $navigation;
echo "</ul>\n";