[Fusionforge-commits] r8683 - in trunk/gforge/www: project/admin stats

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sun Jan 24 22:02:08 CET 2010


Author: aljeux
Date: 2010-01-24 22:02:08 +0100 (Sun, 24 Jan 2010)
New Revision: 8683

Modified:
   trunk/gforge/www/project/admin/history.php
   trunk/gforge/www/stats/i18n.php
   trunk/gforge/www/stats/index.php
   trunk/gforge/www/stats/lastlogins.php
Log:
Mostly accessibility/xhtml fixes

Modified: trunk/gforge/www/project/admin/history.php
===================================================================
--- trunk/gforge/www/project/admin/history.php	2010-01-24 20:39:23 UTC (rev 8682)
+++ trunk/gforge/www/project/admin/history.php	2010-01-24 21:02:08 UTC (rev 8683)
@@ -23,7 +23,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-
 require_once('../../env.inc.php');
 require_once $gfwww.'include/pre.php';
 require_once $gfwww.'project/admin/project_admin_utils.php';
@@ -31,7 +30,7 @@
 $group_id = getIntFromRequest('group_id');
 session_require(array('group'=>$group_id,'admin_flags'=>'A'));
 
-project_admin_header(array('title'=>_('History'),'group'=>$group_id));
+project_admin_header(array('title'=>_('Project History'),'group'=>$group_id));
 
 ?>
 

Modified: trunk/gforge/www/stats/i18n.php
===================================================================
--- trunk/gforge/www/stats/i18n.php	2010-01-24 20:39:23 UTC (rev 8682)
+++ trunk/gforge/www/stats/i18n.php	2010-01-24 21:02:08 UTC (rev 8683)
@@ -16,8 +16,8 @@
 session_require( array('group'=>$sys_stats_group) );
 
 $HTML->header(array('title' => sprintf(_('%1$s I18n Statistics'), $GLOBALS['sys_name'])));
+echo "<h1>".sprintf(_('Languages Distributions'), $GLOBALS['sys_name'])." </h1>";
 echo $GLOBALS['HTML']->listTableTop(array(_('Language')."",_('Users')."","%"));
-echo "<h1>".sprintf(_('Languages Distributions'), $GLOBALS['sys_name'])." </h1>";
 
 $total=db_result(db_query_params('SELECT count(user_name) AS total FROM users', array()),0,'total');
 
@@ -42,7 +42,7 @@
 '<td align="right"><strong>'.sprintf("%.2f",$non_english*100/$total).' </strong></td></tr>';
 
 echo $GLOBALS['HTML']->listTableBottom();
-echo "<p>"._('This is a list of the preferences that users have chosen in their user preferences; it does not include languages which are selected via cookies or browser preferences');
+echo "<p>"._('This is a list of the preferences that users have chosen in their user preferences; it does not include languages which are selected via cookies or browser preferences')."</p>";
 
 $HTML->footer( array() );
 

Modified: trunk/gforge/www/stats/index.php
===================================================================
--- trunk/gforge/www/stats/index.php	2010-01-24 20:39:23 UTC (rev 8682)
+++ trunk/gforge/www/stats/index.php	2010-01-24 21:02:08 UTC (rev 8683)
@@ -25,8 +25,7 @@
 
 echo "\n\n";
 
-print '<div align="center">' . "\n";
-print '<h3>'._('Sitewide aggregate statistics').'</h3><br />' . "\n";
+print '<h1>'._('Sitewide aggregate statistics').'</h1>' . "\n";
 ?>
 
 <hr />
@@ -49,7 +48,6 @@
 print '<br /><br />';
 stats_site_projects_monthly( );
 print '<br /><br />' . "\n";
-print '</div>' . "\n";
 echo '<p/>'._('Other statistics:<ul><li><a href="i18n.php">I18n Statistics</a></li></ul>');
 
 //

Modified: trunk/gforge/www/stats/lastlogins.php
===================================================================
--- trunk/gforge/www/stats/lastlogins.php	2010-01-24 20:39:23 UTC (rev 8682)
+++ trunk/gforge/www/stats/lastlogins.php	2010-01-24 21:02:08 UTC (rev 8683)
@@ -31,7 +31,7 @@
 
 $HTML->header(array('title'=>_('Last Logins')));
 
-print '<h3>'._('Most Recent Opened Sessions').'</h3>';
+print '<h1>'._('Most Recent Opened Sessions').'</h1>';
 
 ?>
 




More information about the Fusionforge-commits mailing list