]> git.mjollnir.org Git - moodle.git/commitdiff
More little fixes to links and headers
authormoodler <moodler>
Mon, 1 May 2006 03:30:55 +0000 (03:30 +0000)
committermoodler <moodler>
Mon, 1 May 2006 03:30:55 +0000 (03:30 +0000)
blog/header.php
blog/lib.php

index 268cad622cc0c08f91bdcb648df9848bb79112c1..ba9e76ef393dfa2aaf83d6332c0eb751b7374286 100755 (executable)
@@ -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", "",
                             '<a href="index.php?filtertype=site">'. "$blogstring</a> -> $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", "",
                             '<a href="index.php?filtertype=course&amp;filterselect='.$filterselect.'">'. "$blogstring</a> -> $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;
index 0b75ffd3fc2671ee14c901c6953bca96053a1f93..4b76a192d106dfc3d7123a3f5b7b78640323537e 100755 (executable)
                 print_string('tags');
                 echo ': ';
                 foreach ($blogtags as $key => $blogtag) {
-                    $taglist[] = '<a href="index.php?courseid='.$course->id.'&amp;filtertype='.$filtertype.'&amp;filterselect='.$filterselect.'&amp;tagid='.$blogtag->id.'">'.$blogtag->text.'</a>';
+                    $taglist[] = '<a href="index.php?filtertype='.$filtertype.'&amp;filterselect='.$filterselect.'&amp;tagid='.$blogtag->id.'">'.$blogtag->text.'</a>';
                 }
                 echo implode(', ', $taglist);
             }