[Fusionforge-commits] r8363 - in trunk/gforge/www: frs/admin include news/admin

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Fri Nov 6 19:04:45 CET 2009


Author: aljeux
Date: 2009-11-06 19:04:45 +0100 (Fri, 06 Nov 2009)
New Revision: 8363

Modified:
   trunk/gforge/www/frs/admin/editrelease.php
   trunk/gforge/www/frs/admin/qrs.php
   trunk/gforge/www/include/project_home.php
   trunk/gforge/www/news/admin/index.php
Log:
XHTML and Accessibility changes (<h4> is not a good way to get bold fonts)

Modified: trunk/gforge/www/frs/admin/editrelease.php
===================================================================
--- trunk/gforge/www/frs/admin/editrelease.php	2009-11-06 18:04:35 UTC (rev 8362)
+++ trunk/gforge/www/frs/admin/editrelease.php	2009-11-06 18:04:45 UTC (rev 8363)
@@ -325,13 +325,13 @@
 <table width="60%">
 <tr>
 <td>
-<h4><?php echo _('File Type') ?>:</h4>
+<strong><?php echo _('File Type') ?>:</strong>
 <?php
 	print frs_show_filetype_popup ('type_id');
 ?>
 </td>
 <td>
-<h4><?php echo _('Processor Type') ?>:</h4>
+<strong><?php echo _('Processor Type') ?>:</strong>
 <?php
 	print frs_show_processor_popup ('processor_id');
 ?>
@@ -407,7 +407,7 @@
 		echo $GLOBALS['HTML']->listTableBottom();
 	}
 
-echo '<br />'.sprintf(ngettext('There is %1$s user monitoring this package.', 'There are %1$s users monitoring this package.', $frsp->getMonitorCount()), $frsp->getMonitorCount());
+echo '<p>' . sprintf(ngettext('There is %1$s user monitoring this package.', 'There are %1$s users monitoring this package.', $frsp->getMonitorCount()), $frsp->getMonitorCount()) . '</p>';
 echo '<hr />';
 
 frs_admin_footer();

Modified: trunk/gforge/www/frs/admin/qrs.php
===================================================================
--- trunk/gforge/www/frs/admin/qrs.php	2009-11-06 18:04:35 UTC (rev 8362)
+++ trunk/gforge/www/frs/admin/qrs.php	2009-11-06 18:04:45 UTC (rev 8363)
@@ -178,7 +178,7 @@
 	<table border="0" cellpadding="2" cellspacing="2">
 	<tr>
 		<td>
-			<h4><?php echo _('Package ID') ?>:</h4>
+			<strong><?php echo _('Package ID') ?>:</strong>
 		</td>
 		<td>
 <?php
@@ -204,7 +204,7 @@
 	</tr>
 	<tr>
 		<td>
-			<h4><?php echo _('Release name') ?>:<?php echo utils_requiredField();?></h4>
+			<strong><?php echo _('Release name') ?>:<?php echo utils_requiredField();?></strong>
 		</td>
 		<td>
 			<input type="text" name="release_name" value="<?php echo htmlspecialchars(stripslashes($release_name)) ?>" />
@@ -212,7 +212,7 @@
 	</tr>
 	<tr>
 		<td>
-			<h4><?php echo _('Release date') ?>:</h4>
+			<strong><?php echo _('Release date') ?>:</strong>
 		</td>
 		<td>
 			<input type="text" name="release_date" value="<?php echo date('Y-m-d H:i'); ?>" size="16" maxlength="16" />
@@ -241,17 +241,17 @@
 	</tr>
 	<tr>
 		<td>
-			<h4><?php echo _('File Type') ?>:<?php echo utils_requiredField();?></h4>
+			<strong><?php echo _('File Type') ?>:<?php echo utils_requiredField();?></strong>
 		</td>
 		<td>
 <?php
-	print frs_show_filetype_popup ('type_id',$type_id) . "<br />";
+	print frs_show_filetype_popup ('type_id',$type_id);
 ?>
 		</td>
 	</tr>
 	<tr>
 		<td>
-			<h4><?php echo _('Processor Type') ?>:<?php echo utils_requiredField();?></h4>
+			<strong><?php echo _('Processor Type') ?>:<?php echo utils_requiredField();?></strong>
 		</td>
 		<td>
 <?php
@@ -261,7 +261,7 @@
 	</tr>
 	<tr>
 		<td valign="top">
-			<h4><?php echo _('Release Notes') ?>:</h4>
+			<strong><?php echo _('Release Notes') ?>:</strong>
 		</td>
 		<td>
 			<textarea name="release_notes" rows="7" cols="50"><?php echo htmlspecialchars(stripslashes($release_notes)); ?></textarea>
@@ -269,7 +269,7 @@
 	</tr>
 	<tr>
 		<td valign="top">
-			<h4><?php echo _('Change Log') ?>:</h4>
+			<strong><?php echo _('Change Log') ?>:</strong>
 		</td>
 		<td>
 			<textarea name="release_changes" rows="7" cols="50"><?php echo htmlspecialchars(stripslashes($release_changes)); ?></textarea>

Modified: trunk/gforge/www/include/project_home.php
===================================================================
--- trunk/gforge/www/include/project_home.php	2009-11-06 18:04:35 UTC (rev 8362)
+++ trunk/gforge/www/include/project_home.php	2009-11-06 18:04:45 UTC (rev 8363)
@@ -124,7 +124,7 @@
 
 ?>
 		</td>
-		<td nowrap="nowrap" valign="top" width="20%">
+		<td valign="top" width="20%">
 
 <?php
 

Modified: trunk/gforge/www/news/admin/index.php
===================================================================
--- trunk/gforge/www/news/admin/index.php	2009-11-06 18:04:35 UTC (rev 8362)
+++ trunk/gforge/www/news/admin/index.php	2009-11-06 18:04:45 UTC (rev 8363)
@@ -173,7 +173,7 @@
 				<ul>';
 			for ($i=0; $i<$rows; $i++) {
 				echo '
-				<li>'.util_make_link ('/news/admin/?approve=1&id='.db_result($result,$i,'id').'&amp;group_id='.db_result($result,$i,'group_id'),db_result($result,$i,'summary')).'</li>';
+				<li>'.util_make_link ('/news/admin/?approve=1&amp;id='.db_result($result,$i,'id').'&amp;group_id='.db_result($result,$i,'group_id'),db_result($result,$i,'summary')).'</li>';
 			}
 			echo '</ul>';
 		}




More information about the Fusionforge-commits mailing list