1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Include News tags on front-end.

This commit is contained in:
Cameron
2013-04-20 00:29:04 -07:00
parent 0086eab843
commit 281c5b8ba3
2 changed files with 13 additions and 11 deletions

View File

@@ -457,8 +457,7 @@ class news_shortcodes extends e_shortcode
$words = array();
foreach($tmp as $val)
{
$words[] = "<a href='".e_BASE."news.php?tag=".$val."'>".$val."</a>";
$words[] = "<a href='".e_BASE."news.php?tag=".$val."'><span class='label'>".$val."</span></a>";
}
return implode(", ",$words);
}