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:
parent
06d4b31fbe
commit
6df07c3f78
@ -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>";
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user