From 649ee916d1b244fb05b07967ee5406debf134e7e Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Thu, 2 Nov 2006 03:17:44 +0000 Subject: [PATCH] merged fix for MDL-7140 duplicate course name in header --- blog/header.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blog/header.php b/blog/header.php index 4f4c92fa9a..b127250957 100755 --- a/blog/header.php +++ b/blog/header.php @@ -117,10 +117,10 @@ if (!$course = get_record('course', 'id', $courseid)) { case 'course': if ($tagid || !empty($tag)) { - print_header_simple("$course->shortname: $blogstring", $course->fullname, + print_header("$course->shortname: $blogstring", $course->fullname, ''. "$blogstring -> $tagstring: $taginstance->text",'','',true,$PAGE->get_extra_header_string()); } else { - print_header_simple("$course->shortname: $blogstring", $course->fullname, + print_header("$course->shortname: $blogstring", $course->fullname, $blogstring,'','',true,$PAGE->get_extra_header_string()); } break; @@ -130,11 +130,11 @@ if (!$course = get_record('course', 'id', $courseid)) { $thisgroup = get_record('groups', 'id', $filterselect); if ($tagid || !empty($tag)) { - print_header_simple("$course->shortname: $blogstring", $course->fullname, + print_header("$course->shortname: $blogstring", $course->fullname, ''.$thisgroup->name.' -> '. "$blogstring -> $tagstring: $taginstance->text",'','',true,$PAGE->get_extra_header_string()); } else { - print_header_simple("$course->shortname: $blogstring", $course->fullname, + print_header("$course->shortname: $blogstring", $course->fullname, ''.$thisgroup->name." -> $blogstring",'','',true,$PAGE->get_extra_header_string()); -- 2.39.5