[Fusionforge-commits] r7276 - trunk/gforge/www/stats

Julien HEYMAN jheyman at libremir.placard.fr.eu.org
Thu Apr 2 11:19:30 CEST 2009


Author: jheyman
Date: 2009-04-02 11:19:30 +0200 (Thu, 02 Apr 2009)
New Revision: 7276

Modified:
   trunk/gforge/www/stats/site_stats_utils.php
Log:
Change GUI, and fixed bug, replace sys_use_cvs to sys_use_scm

Modified: trunk/gforge/www/stats/site_stats_utils.php
===================================================================
--- trunk/gforge/www/stats/site_stats_utils.php	2009-04-02 09:09:20 UTC (rev 7275)
+++ trunk/gforge/www/stats/site_stats_utils.php	2009-04-02 09:19:30 UTC (rev 7276)
@@ -256,7 +256,7 @@
 	if ( db_numrows( $res ) > 1 ) {
 
 		?>
-		<table width="100%" cellpadding="0" cellspacing="0" border="0">
+		<table width="100%" cellpadding="0" cellspacing="0" border="1">
 
 		<tr valign="top" align="right" class="tableheading">
 			<td><strong><?php echo _('Group Name'); ?></strong></td>
@@ -273,7 +273,7 @@
 			<?php if ($GLOBALS['sys_use_pm']) { ?>
 			<td colspan="2"><strong><?php echo _('Tasks'); ?></strong></td>
 			<?php } ?>
-			<?php if ($GLOBALS['sys_use_cvs']) { ?>
+			<?php if ($GLOBALS['sys_use_scm']) { ?>
 			<td colspan="3"><strong><?php echo _('CVS'); ?></strong></td>
 			<?php } ?>
 		</tr>
@@ -323,7 +323,7 @@
 		$i = $offset;	
 		while ( $row = db_fetch_array($res) ) {
 			print	'<tr ' . $GLOBALS['HTML']->boxGetAltRowStyle($i) . ' align="right">'
-				. '<td>' . ($i + 1) . util_make_link ('/project/stats/?group_id='.$row["group_id"], $row["group_name"]) . '</td>'
+				. '<td>' . ($i + 1)." " . util_make_link ('/project/stats/?group_id='.$row["group_id"], $row["group_name"]) . '</td>'
 				. '<td>&nbsp;&nbsp;' . number_format( $row["site_views"],0 ) . '</td>'
 				. '<td>&nbsp;&nbsp;' . number_format( $row["subdomain_views"],0 ) . '</td>';
 			if ($GLOBALS['sys_use_frs']) {




More information about the Fusionforge-commits mailing list