Skip to content

Commit

Permalink
Added related CSS style to related tags in tag clouds
Browse files Browse the repository at this point in the history
  • Loading branch information
hschottm committed May 18, 2015
1 parent 3fe17f0 commit d1b21de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/ModuleTagCloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ protected function showTags()
{
$this->arrTags[$idx]['tag_class'] .= ' active';
}
if (in_array($tag['tag_name'], (strlen(\Input::get('related'))) ? preg_split("/,/", \Input::get('related')) : array()))
{
$this->arrTags[$idx]['tag_class'] .= ' related';
}
if ($this->checkForArticleOnPage)
{
global $objPage;
Expand Down

0 comments on commit d1b21de

Please sign in to comment.