mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-8582 - reverted changes in print_navigation(), needs some minor rewrite to use print_title()
This commit is contained in:
parent
177df3c6c5
commit
cc6566c8e1
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user