[evolvis-commits] r17591: // W3C validity fix. Less errors. Needs to refactored to fix all validity errors

papel at evolvis.org papel at evolvis.org
Wed Oct 12 08:45:47 CEST 2011


Author: papel
Date: 2011-10-12 08:45:47 +0200 (Wed, 12 Oct 2011)
New Revision: 17591

Modified:
   trunk/gforge_base/evolvisforge/gforge/www/frs/admin/index.php
Log:
// W3C validity fix. Less errors. Needs to refactored to fix all validity errors

Modified: trunk/gforge_base/evolvisforge/gforge/www/frs/admin/index.php
===================================================================
--- trunk/gforge_base/evolvisforge/gforge/www/frs/admin/index.php	2011-10-10 13:19:37 UTC (rev 17590)
+++ trunk/gforge_base/evolvisforge/gforge/www/frs/admin/index.php	2011-10-12 06:45:47 UTC (rev 17591)
@@ -143,17 +143,20 @@
 	$title_arr[]=_('Releases');
 	$title_arr[]=_('Package name');
 	$title_arr[]=_('Status');
+	$title_arr[]= ''; //Only to get the right count of table cells (W3C validity)
+	
 
 	echo $GLOBALS['HTML']->listTableTop ($title_arr);
 
 	for ($i=0; $i<$rows; $i++) {
 		echo '
-		<form action="'. getStringFromServer('PHP_SELF') .'" method="post">
-		<input type="hidden" name="group_id" value="'.$group_id.'" />
-		<input type="hidden" name="func" value="update_package" />
-		<input type="hidden" name="package_id" value="'. db_result($res,$i,'package_id') .'" />
 		<tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) .'>
 			<td nowrap="nowrap" style="text-align:center">
+			
+			<form action="'. getStringFromServer('PHP_SELF') .'" method="post">
+			<input type="hidden" name="group_id" value="'.$group_id.'" />
+			<input type="hidden" name="func" value="update_package" />
+			<input type="hidden" name="package_id" value="'. db_result($res,$i,'package_id') .'" />
 					<a href="qrs.php?package_id='. 
 						db_result($res,$i,'package_id') .'&group_id='. $group_id .'"><strong>['._('Add Release').']</strong>
 					</a>
@@ -165,14 +168,16 @@
 			</td>
 			<td><input type="text" name="package_name" value="'.db_result($res,$i,'package_name') .'" size="20" maxlength="60" /></td>
 			<td>'.frs_show_status_popup ('status_id', db_result($res,$i,'status_id')).'</td>
-			<td><input type="submit" name="submit" value="'._('Update').'" />
+			<td>
+			
+			<input type="submit" name="submit" value="'._('Update').'" />
 				
 					<a href="deletepackage.php?package_id='. 
 						db_result($res,$i,'package_id') .'&group_id='. $group_id .'"><strong>['._('Delete').']</strong>
 					</a>
-				
+			</form>	
 			</td>
-			</tr></form>';
+			</tr>';
 	}
 
 	echo $GLOBALS['HTML']->listTableBottom();



More information about the evolvis-commits mailing list