mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 04:10:38 +02:00
Removed $forum global .
This commit is contained in:
@@ -1027,22 +1027,19 @@
|
||||
|
||||
function sc_moderators()
|
||||
{
|
||||
global $forum;
|
||||
|
||||
$modUser = array();
|
||||
foreach($forum->modArray as $user)
|
||||
foreach($this->forum->modArray as $user)
|
||||
{
|
||||
$modUser[] = "<a href='" . e107::getUrl()->create('user/profile/view', $user) . "'>" . $user['user_name'] . "</a>";
|
||||
}
|
||||
|
||||
//$tVars->MODERATORS = LAN_FORUM_2003.": ". implode(', ', $modUser);
|
||||
|
||||
return LAN_FORUM_2003 . ": " . implode(', ', $modUser);
|
||||
//unset($modUser);
|
||||
|
||||
}
|
||||
|
||||
function sc_threadstatus()
|
||||
{
|
||||
//$tVars->THREADSTATUS = (!$thread->threadInfo['thread_active'] ? LAN_FORUM_2004 : '');
|
||||
return (!$this->var['thread_active'] ? LAN_FORUM_2004 : '');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user