tags in tag history now have links to search
This commit is contained in:
parent
45365f7eb5
commit
44ce23208a
1 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,14 @@ class Tag_HistoryTheme extends Themelet {
|
|||
$setter = "<a href='".make_link("user/".url_escape($name))."'>".html_escape($name)."</a>$h_ip";
|
||||
|
||||
$selected = ($n == 2) ? " checked" : "";
|
||||
|
||||
$current_tags = explode(" ", $current_tags);
|
||||
$taglinks = array();
|
||||
foreach($current_tags as $tag){
|
||||
$taglinks[] = "<a href='".make_link("post/list/".$tag."/1")."'>".$tag."</a>";
|
||||
}
|
||||
$current_tags = implode(" ", $taglinks);
|
||||
|
||||
$history_list .= "
|
||||
<li>
|
||||
<input type='radio' name='revert' id='$current_id' value='$current_id'$selected>
|
||||
|
|
Reference in a new issue