1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 05:02:02 +02:00

Update forum.php

This commit is contained in:
rica-carv 2016-05-05 10:41:20 +01:00
parent 3b68240174
commit 2adc6b9668

View File

@ -411,7 +411,7 @@ function parse_forum($f, $restricted_string = '')
//$url= $e107->url->create('forum/forum/view', $f);
$url = e107::url('forum', 'forum', $f);
$fVars->FORUMNAME = "<a href='".$url."'>{$f['forum_name']}</a>";
$fVars->FORUMDESCRIPTION = e107::getParser()->toHTML($f['forum_description'].($restricted_string ? "<br /><span class='smalltext'><i>$restricted_string</i></span>" : ""), TRUE, "TITLE");
$fVars->FORUMDESCRIPTION = $f['forum_description'].($restricted_string ? e107::getParser()->toHTML("<br /><span class='smalltext'><i>$restricted_string</i></span>", TRUE, "TITLE") : "");
$fVars->THREADS = $f['forum_threads'];
$fVars->REPLIES = $f['forum_replies'];
$fVars->FORUMSUBFORUMS = '';