[Fusionforge-commits] r14734 - in trunk: . src/www/forum

Roland Mas lolando at fusionforge.org
Wed Oct 26 16:04:00 CEST 2011


Author: lolando
Date: 2011-10-26 16:04:00 +0200 (Wed, 26 Oct 2011)
New Revision: 14734

Modified:
   trunk/
   trunk/src/www/forum/index.php
Log:
Remove moderation level from forum list

Modified: trunk/src/www/forum/index.php
===================================================================
--- trunk/src/www/forum/index.php	2011-10-26 14:03:50 UTC (rev 14733)
+++ trunk/src/www/forum/index.php	2011-10-26 14:04:00 UTC (rev 14734)
@@ -65,7 +65,7 @@
 
 	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);
 
 	/*
@@ -78,11 +78,6 @@
 		} 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') .
@@ -91,8 +86,7 @@
 				<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();




More information about the Fusionforge-commits mailing list