[Fusionforge-commits] r8782 - trunk/gforge/www/include

Roland Mas lolando at libremir.placard.fr.eu.org
Wed Feb 10 15:08:54 CET 2010


Author: lolando
Date: 2010-02-10 15:08:54 +0100 (Wed, 10 Feb 2010)
New Revision: 8782

Modified:
   trunk/gforge/www/include/features_boxes.php
Log:
Fixed aspect of most active projects on homepage

Modified: trunk/gforge/www/include/features_boxes.php
===================================================================
--- trunk/gforge/www/include/features_boxes.php	2010-02-10 13:30:14 UTC (rev 8781)
+++ trunk/gforge/www/include/features_boxes.php	2010-02-10 14:08:54 UTC (rev 8782)
@@ -208,11 +208,11 @@
 	} else {
 		$return = '<table summary="">';
 		while ($row=db_fetch_array($result)) {
-			$t_prj_activity = number_format(substr($row['ranking'],0,5),1);
+			$t_prj_activity = number_format(substr($row['ranking'],0,5),0);
 			$t_prj_link = util_make_link_g ($row['unix_group_name'],$row['group_id'],$row['group_name']);
 			
 			$return .= "<tr>";
-			$return .= '<td class="width-stat-col1">' . $t_prj_activity . "%</td>";
+			$return .= '<td class="width-stat-col1">'. $t_prj_activity . "</td>";
 			$return .= '<td>' . $t_prj_link . '</td>';
 			$return .= "</tr>\n";			
 		}




More information about the Fusionforge-commits mailing list