Permalink
Browse files

MDL-8582 - reverted changes in print_navigation(), needs some minor r…

…ewrite to use print_title(); backported from HEAD
  • Loading branch information...
1 parent 45864cc commit 8e0b21b0b230024840bfbc72f35b44c394c1a8d2 skodak committed Feb 24, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/weblib.php
View
@@ -2820,9 +2820,9 @@ function print_navigation ($navigation, $separator=0, $return=false) {
$site->shortname = get_string('home');
}
- $navigation = "<li>$separator ". str_replace('->', "</li>\n<li>$separator", s($navigation, false, false)) ."</li>\n";
+ $navigation = "<li>$separator ". str_replace('->', "</li>\n<li>$separator", $navigation) ."</li>\n";
$output .= '<li class="first"><a '.$CFG->frametarget.' onclick="this.target=\''.$CFG->framename.'\'" href="'. $CFG->wwwroot.((!has_capability('moodle/site:config', get_context_instance(CONTEXT_SYSTEM, SITEID)) && !empty($USER->id) && !empty($CFG->mymoodleredirect) && !isguest())
- ? '/my' : '') .'/">'. s($site->shortname) ."</a></li>\n". $navigation;
+ ? '/my' : '') .'/">'. $site->shortname ."</a></li>\n". $navigation;
$output .= "</ul>\n";
}

0 comments on commit 8e0b21b

Please sign in to comment.