[evolvis-commits] r16025: xhtml fixes

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Mar 1 00:44:21 CET 2011


Author: mirabilos
Date: 2011-03-01 00:44:21 +0100 (Tue, 01 Mar 2011)
New Revision: 16025

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/survey/include/SurveyHTML.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/tracker/browse.php
Log:
xhtml fixes

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/survey/include/SurveyHTML.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/survey/include/SurveyHTML.class.php	2011-02-28 23:44:18 UTC (rev 16024)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/survey/include/SurveyHTML.class.php	2011-02-28 23:44:21 UTC (rev 16025)
@@ -228,7 +228,7 @@
 				$ret.= "<tr ". $GLOBALS['HTML']->boxGetAltRowStyle($i) .">\n";
 			}
 			
-			$ret.= '<td><input type="checkbox" name="to_add[]" value="'.$arr_to_add[$i]->getID().'">'.
+			$ret.= '<td><input type="checkbox" name="to_add[]" value="'.$arr_to_add[$i]->getID().'" />'.
 				$arr_to_add[$i]->getQuestion().' ('.
 				$arr_to_add[$i]->getQuestionStringType().')</td>';
 			
@@ -270,7 +270,7 @@
 			$ret.= '<td><center>['.util_make_link ('/survey/admin/survey.php?group_id='.$group_id.'&survey_id='. $survey_id.'&is_up=1&updown=Y'.'&question_id='.$arr_to_del[$i]->getID(),_('Up')).'] ';
 			$ret.= '['.util_make_link ('/survey/admin/survey.php?group_id='.$group_id.'&survey_id='. $survey_id.'&is_up=0&updown=Y'.'&question_id='.$arr_to_del[$i]->getID(),_('Down')).']</center></td>';
 			
-			$ret.= '<td><center><input type="checkbox" name="to_del[]" value="'.$arr_to_del[$i]->getID().'"></center></td>';
+			$ret.= '<td><center><input type="checkbox" name="to_del[]" value="'.$arr_to_del[$i]->getID().'" /></center></td>';
 			$ret.= '</tr>';
 			
 		}

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tracker/browse.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tracker/browse.php	2011-02-28 23:44:18 UTC (rev 16024)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tracker/browse.php	2011-02-28 23:44:21 UTC (rev 16025)
@@ -336,13 +336,13 @@
 
 if (db_numrows($res)>0) {
 	echo '<form action="'. getStringFromServer('PHP_SELF') .'" method="get">';
+	echo '<input type="hidden" name="group_id" value="'.$group_id.'" />';
+	echo '<input type="hidden" name="atid" value="'.$ath->getID().'" />';
+	echo '<input type="hidden" name="power_query" value="1" />';
 	echo '	<table width="100%" cellspacing="0">
 	<tr>
 	<td>
 	';
-	echo '<input type="hidden" name="group_id" value="'.$group_id.'" />';
-	echo '<input type="hidden" name="atid" value="'.$ath->getID().'" />';
-	echo '<input type="hidden" name="power_query" value="1" />';
 	$optgroup['key'] = 'type';
 	$optgroup['values'][0] = 'Private queries';
 	$optgroup['values'][1] = 'Project queries';
@@ -381,11 +381,11 @@
 	</div>
 	<div class="tabbertab'.($af->query_type == 'custom' ? ' tabbertabdefault' : '').'" title="'._('Simple Filtering and Sorting').'">
 	<form action="'. getStringFromServer('PHP_SELF') .'?group_id='.$group_id.'&atid='.$ath->getID().'" method="post">
+	<input type="hidden" name="query_id" value="-1" />
+	<input type="hidden" name="set" value="custom" />
 	<table width="100%" cellspacing="0">
 	<tr>
 	<td>
-	<input type="hidden" name="query_id" value="-1" />
-	<input type="hidden" name="set" value="custom" />
 	'._('Assignee').': '. $tech_box .'
 	</td>
 	<td align="center">
@@ -663,7 +663,6 @@
 <span class="important">'._('<strong>Admin:</strong> If you wish to apply changes to all items selected above, use these controls to change their properties and click once on "Mass Update".').'</span></p>
 			</td></tr>';
 
-
 		//
 		//	build custom fields
 		//



More information about the evolvis-commits mailing list