1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-19 05:28:10 +01:00

Tweak forum shortcode styling (see previous commit)

This commit is contained in:
Tijn Kuyper 2019-03-21 10:17:07 +01:00
parent 06d4b31fbe
commit 6df07c3f78
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2

View File

@ -395,11 +395,11 @@ class forum_shortcodes extends e_shortcode
if(!empty($parm['class']))
{
$class = $parm['class'];
$class = "class='".$parm['class']."'";
}
$url = e107::url('forum', 'forum', $this->var);
return "<a href='".$url."' class='".$class."'>{$this->var['forum_name']}</a>";
return "<a href='".$url."' ".$class.">{$this->var['forum_name']}</a>";
}