mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Change proposal of forum description
Changed proposal to parse embeded shortcodes on the forum description, if any present....
This commit is contained in:
@@ -411,7 +411,7 @@ function parse_forum($f, $restricted_string = '')
|
|||||||
//$url= $e107->url->create('forum/forum/view', $f);
|
//$url= $e107->url->create('forum/forum/view', $f);
|
||||||
$url = e107::url('forum', 'forum', $f);
|
$url = e107::url('forum', 'forum', $f);
|
||||||
$fVars->FORUMNAME = "<a href='".$url."'>{$f['forum_name']}</a>";
|
$fVars->FORUMNAME = "<a href='".$url."'>{$f['forum_name']}</a>";
|
||||||
$fVars->FORUMDESCRIPTION = $f['forum_description'].($restricted_string ? "<br /><span class='smalltext'><i>$restricted_string</i></span>" : "");
|
$fVars->FORUMDESCRIPTION = e107::getParser()->toHTML($f['forum_description'].($restricted_string ? "<br /><span class='smalltext'><i>$restricted_string</i></span>" : ""), TRUE, "TITLE");
|
||||||
$fVars->THREADS = $f['forum_threads'];
|
$fVars->THREADS = $f['forum_threads'];
|
||||||
$fVars->REPLIES = $f['forum_replies'];
|
$fVars->REPLIES = $f['forum_replies'];
|
||||||
$fVars->FORUMSUBFORUMS = '';
|
$fVars->FORUMSUBFORUMS = '';
|
||||||
@@ -775,4 +775,4 @@ function forum_track()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user