From 44ce23208a504b94233bf3eba1b6460f456cd4d9 Mon Sep 17 00:00:00 2001 From: Daku Date: Sat, 17 Mar 2012 12:23:44 +0000 Subject: [PATCH] tags in tag history now have links to search --- contrib/tag_history/theme.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/contrib/tag_history/theme.php b/contrib/tag_history/theme.php index e88a2b81..eaa8761e 100644 --- a/contrib/tag_history/theme.php +++ b/contrib/tag_history/theme.php @@ -27,6 +27,14 @@ class Tag_HistoryTheme extends Themelet { $setter = "".html_escape($name)."$h_ip"; $selected = ($n == 2) ? " checked" : ""; + + $current_tags = explode(" ", $current_tags); + $taglinks = array(); + foreach($current_tags as $tag){ + $taglinks[] = "".$tag.""; + } + $current_tags = implode(" ", $taglinks); + $history_list .= "