From cc6566c8e1876b25781520ba10cdaa700c1c31a4 Mon Sep 17 00:00:00 2001 From: skodak Date: Sat, 24 Feb 2007 10:19:15 +0000 Subject: [PATCH] MDL-8582 - reverted changes in print_navigation(), needs some minor rewrite to use print_title() --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 0a9a8ab744..3f0f7c79aa 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2820,9 +2820,9 @@ function print_navigation ($navigation, $separator=0, $return=false) { $site->shortname = get_string('home'); } - $navigation = "
  • $separator ". str_replace('->', "
  • \n
  • $separator", s($navigation, false, false)) ."
  • \n"; + $navigation = "
  • $separator ". str_replace('->', "
  • \n
  • $separator", $navigation) ."
  • \n"; $output .= '
  • 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) ."
  • \n". $navigation; + ? '/my' : '') .'/">'. $site->shortname ."\n". $navigation; $output .= "\n"; } -- 2.39.5