[Fusionforge-commits] r10774 - in trunk/src/www: survey/include tracker

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Wed Sep 29 20:08:20 CEST 2010


Author: aljeux
Date: 2010-09-29 20:08:19 +0200 (Wed, 29 Sep 2010)
New Revision: 10774

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

Modified: trunk/src/www/survey/include/SurveyHTML.class.php
===================================================================
--- trunk/src/www/survey/include/SurveyHTML.class.php	2010-09-29 18:08:14 UTC (rev 10773)
+++ trunk/src/www/survey/include/SurveyHTML.class.php	2010-09-29 18:08:19 UTC (rev 10774)
@@ -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.'&amp;survey_id='. $survey_id.'&amp;is_up=1&amp;updown=Y'.'&amp;question_id='.$arr_to_del[$i]->getID(),_('Up')).'] ';
 			$ret.= '['.util_make_link ('/survey/admin/survey.php?group_id='.$group_id.'&amp;survey_id='. $survey_id.'&amp;is_up=0&amp;updown=Y'.'&amp;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/src/www/tracker/browse.php
===================================================================
--- trunk/src/www/tracker/browse.php	2010-09-29 18:08:14 UTC (rev 10773)
+++ trunk/src/www/tracker/browse.php	2010-09-29 18:08:19 UTC (rev 10774)
@@ -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.'&amp;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').':&nbsp;'. $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 Fusionforge-commits mailing list