Fixed the tag links on blog posts to go back to the main tags page
This commit is contained in:
+2
-1
@@ -233,7 +233,8 @@
|
||||
print_string('tags');
|
||||
echo ': ';
|
||||
foreach ($blogtags as $key => $blogtag) {
|
||||
$taglist[] = '<a href="index.php?filtertype='.$filtertype.'&filterselect='.$filterselect.'&tagid='.$blogtag->id.'">'.tag_display_name($blogtag).'</a>';
|
||||
//$taglist[] = '<a href="index.php?filtertype='.$filtertype.'&filterselect='.$filterselect.'&tagid='.$blogtag->id.'">'.tag_display_name($blogtag).'</a>'; // Blog tag only
|
||||
$taglist[] = '<a href="'.$CFG->wwwroot.'/tag/index.php?id='.$blogtag->id.'">'.tag_display_name($blogtag).'</a>'; // General tag link
|
||||
}
|
||||
echo implode(', ', $taglist);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user