[Fusionforge-commits] r9020 - in trunk/gforge/www: forum reporting stats survey

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Mar 10 21:51:14 CET 2010


Author: aljeux
Date: 2010-03-10 21:51:14 +0100 (Wed, 10 Mar 2010)
New Revision: 9020

Modified:
   trunk/gforge/www/forum/index.php
   trunk/gforge/www/reporting/useract.php
   trunk/gforge/www/stats/site_stats_utils.php
   trunk/gforge/www/survey/index.php
Log:
Misc changes (h1 or classes)

Modified: trunk/gforge/www/forum/index.php
===================================================================
--- trunk/gforge/www/forum/index.php	2010-03-10 20:51:08 UTC (rev 9019)
+++ trunk/gforge/www/forum/index.php	2010-03-10 20:51:14 UTC (rev 9020)
@@ -43,9 +43,10 @@
 	}
 
 	forum_header(array('title'=>sprintf(_('Forums for %1$s'), $g->getPublicName()) ));
+	echo '<h1>'.sprintf(_('Forums for %1$s'), $g->getPublicName()) .'</h1>';
 
 	if ($ff->isError() || count($farr) < 1) {
-		echo '<h1>'.sprintf(_('No Forums Found For %1$s'), $g->getPublicName()) .'</h1>';
+		echo '<div class="warning_msg">'.sprintf(_('No Forums Found for %1$s'), $g->getPublicName()) .'</div>';
 		if($ff->isError()) {
 			echo $ff->getErrorMessage();
 		}
@@ -98,4 +99,3 @@
 }
 
 ?>
-	echo '<h1>'.sprintf(_('Forums for %1$s'), $g->getPublicName()) .'</h1>';

Modified: trunk/gforge/www/reporting/useract.php
===================================================================
--- trunk/gforge/www/reporting/useract.php	2010-03-10 20:51:08 UTC (rev 9019)
+++ trunk/gforge/www/reporting/useract.php	2010-03-10 20:51:14 UTC (rev 9020)
@@ -51,7 +51,9 @@
 echo report_header(_('User Activity'));
 
 $abc_array = array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z');
-echo _('Choose the <strong>First Letter</strong> of the name of the person you wish to report on.<p>');
+echo '<p>';
+echo _('Choose the <strong>First Letter</strong> of the name of the person you wish to report on.');
+echo '</p>';
 for ($i=0; $i<count($abc_array); $i++) {
 	if ($sw == $abc_array[$i]) {
 		echo '<strong>'.$abc_array[$i].'</strong>&nbsp;';

Modified: trunk/gforge/www/stats/site_stats_utils.php
===================================================================
--- trunk/gforge/www/stats/site_stats_utils.php	2010-03-10 20:51:08 UTC (rev 9019)
+++ trunk/gforge/www/stats/site_stats_utils.php	2010-03-10 20:51:14 UTC (rev 9020)
@@ -222,7 +222,7 @@
 	if ( db_numrows( $res ) > 1 ) {
 
 		?>
-		<table width="100%" cellpadding="0" cellspacing="0" border="1">
+		<table width="100%" cellpadding="0" cellspacing="0" border="0">
 
 		<tr valign="top" align="right" class="tableheading">
 			<td><strong><?php echo _('Group Name'); ?></strong></td>

Modified: trunk/gforge/www/survey/index.php
===================================================================
--- trunk/gforge/www/survey/index.php	2010-03-10 20:51:08 UTC (rev 9019)
+++ trunk/gforge/www/survey/index.php	2010-03-10 20:51:14 UTC (rev 9020)
@@ -43,8 +43,9 @@
 $user_id = user_getid();
 
 /* Show header */
-$sh = new  SurveyHtml();
+$sh = new SurveyHtml();
 $sh->header(array('title'=>_('Survey')));
+echo '<h1>'.sprintf(_('Surveys for %1$s'), $g->getPublicName()) .'</h1>';
 
 /* Show list of Servey */
 $sf = new SurveyFactory($g);




More information about the Fusionforge-commits mailing list