plugin_hook("blocks", "forum index");
- $tablearr=array(_('Forum'),_('Description'),_('Threads'),_('Posts'), _('Last Post'),_('Moderation Level'));
+ $tablearr=array(_('Forum'),_('Description'),_('Threads'),_('Posts'), _('Last Post'));
echo $HTML->listTableTop($tablearr);
/*
} elseif ($farr[$j]->isError()) {
echo $farr[$j]->getErrorMessage();
} else {
- switch ($farr[$j]->getModerationLevel()) {
- case 0 : $modlvl = _('No Moderation');break;
- case 1 : $modlvl = _('Anonymous & Non Project Users');break;
- case 2 : $modlvl = _('All Except Admins');break;
- }
echo '<tr '. $HTML->boxGetAltRowStyle($j) . '><td>'.
'<a href="'.util_make_uri('/forum/forum.php?forum_id='.$farr[$j]->getID().'&group_id='.$group_id).'">'.
html_image('ic/forum20w.png') .
<td>'.$farr[$j]->getDescription().'</td>
<td style="text-align:center">'.$farr[$j]->getThreadCount().'</td>
<td style="text-align:center">'. $farr[$j]->getMessageCount() .'</td>
- <td>'. date(_('Y-m-d H:i'),$farr[$j]->getMostRecentDate()) .'</td>
- <td style="text-align:center">'. $modlvl .'</td></tr>';
+ <td>'. date(_('Y-m-d H:i'),$farr[$j]->getMostRecentDate()) .'</td></tr>';
}
}
echo $HTML->listTableBottom();