From: moodler Date: Mon, 1 May 2006 03:30:55 +0000 (+0000) Subject: More little fixes to links and headers X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b0bc8e300813c575c2d01d0a21692d51008665c9;p=moodle.git More little fixes to links and headers --- diff --git a/blog/header.php b/blog/header.php index 268cad622c..ba9e76ef39 100755 --- a/blog/header.php +++ b/blog/header.php @@ -103,20 +103,20 @@ if ($ME == $CFG->wwwroot.'/blog/edit.php') { /// We are in edit mode, print the switch ($filtertype) { case 'site': if ($tagid || !empty($tag)) { - print_header("$site->shortname: $blogstring", "$site->fullname", + print_header("$site->shortname: $blogstring", "", ''. "$blogstring -> $tagstring: $taginstance->text",'','',true,$PAGE->get_extra_header_string()); } else { - print_header("$site->shortname: $blogstring", "$site->fullname", + print_header("$site->shortname: $blogstring", "", $blogstring,'','',true,$PAGE->get_extra_header_string()); } break; case 'course': if ($tagid || !empty($tag)) { - print_header_simple("$course->shortname: $blogstring", "$course->fullname", + print_header_simple("$course->shortname: $blogstring", "", ''. "$blogstring -> $tagstring: $taginstance->text",'','',true,$PAGE->get_extra_header_string()); } else { - print_header_simple("$site->shortname: $blogstring", "$site->fullname", + print_header_simple("$course->shortname: $blogstring", "", $blogstring,'','',true,$PAGE->get_extra_header_string()); } break; diff --git a/blog/lib.php b/blog/lib.php index 0b75ffd3fc..4b76a192d1 100755 --- a/blog/lib.php +++ b/blog/lib.php @@ -228,7 +228,7 @@ print_string('tags'); echo ': '; foreach ($blogtags as $key => $blogtag) { - $taglist[] = ''.$blogtag->text.''; + $taglist[] = ''.$blogtag->text.''; } echo implode(', ', $taglist); }