Browse files

fix for MDL-7140, duplicate course name in header

  • Loading branch information...
1 parent 6351bf9 commit b620f6843b5243df49aa9fc9c3b2f7093a1f7431 moodler committed Nov 2, 2006
Showing with 4 additions and 4 deletions.
  1. +4 −4 blog/header.php
View
8 blog/header.php
@@ -110,10 +110,10 @@
case 'course':
if ($tagid || !empty($tag)) {
- print_header_simple("$course->shortname: $blogstring", $course->fullname,
+ print_header("$course->shortname: $blogstring", $course->fullname,
'<a href="index.php?filtertype=course&amp;filterselect='.$filterselect.'">'. "$blogstring</a> -> $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;
@@ -123,11 +123,11 @@
$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,
'<a href="'.$CFG->wwwroot.'/user/index.php?id='.$course->id.'&amp;group='.$filterselect.'">'.$thisgroup->name.'</a> ->
<a href="index.php?filtertype=group&amp;filterselect='.$filterselect.'">'. "$blogstring</a> -> $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,
'<a href="'.$CFG->wwwroot.'/user/index.php?id='.$course->id.'&amp;group='.$filterselect.'">'.$thisgroup->name."</a> ->
$blogstring",'','',true,$PAGE->get_extra_header_string());

0 comments on commit b620f68

Please sign in to comment.