mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 10:20:45 +02:00
Added {FORUMDESCRIPTION} to forum_viewforum.php
This commit is contained in:
@@ -331,6 +331,7 @@ $fVars->MODERATORS = LAN_FORUM_1009.': '.implode(', ', $modUser);
|
||||
$fVars->BROWSERS = '';
|
||||
--*/
|
||||
$forumSCvars['forum_name']= $forumInfo['forum_name'];
|
||||
$forumSCvars['forum_description']= $forumInfo['forum_description'];
|
||||
$forumSCvars['forum_image']= $forumInfo['forum_image'];
|
||||
$forumSCvars['modUser']= $modUser;
|
||||
$forumSCvars['track_online']= varset($pref['track_online']);
|
||||
|
@@ -155,6 +155,15 @@
|
||||
return $this->var['forum_name'];
|
||||
}
|
||||
|
||||
function sc_forumdescription()
|
||||
{
|
||||
// global $f, $restricted_string;
|
||||
global $restricted_string;
|
||||
// $tp = e107::getParser();
|
||||
$this->var['forum_description'] = e107::getParser()->toHTML($this->var['forum_description'], true, 'no_hook');
|
||||
return $this->var['forum_description'].($restricted_string ? "<br /><span class='smalltext'><i>$restricted_string</i></span>" : "");
|
||||
}
|
||||
|
||||
function sc_moderators()
|
||||
{
|
||||
return is_array($this->var['modUser']) ? implode(", ",$this->var['modUser']) : $this->var['modUser'];
|
||||
|
Reference in New Issue
Block a user