[evolvis-commits] r17248: merge bm:taramir51/patches/customize-pm-display

mirabilos at evolvis.org mirabilos at evolvis.org
Mon May 16 13:35:31 CEST 2011


Author: mirabilos
Date: 2011-05-16 13:35:31 +0200 (Mon, 16 May 2011)
New Revision: 17248

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php
Log:
merge bm:taramir51/patches/customize-pm-display

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php	2011-05-16 11:35:27 UTC (rev 17247)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php	2011-05-16 11:35:31 UTC (rev 17248)
@@ -182,7 +182,7 @@
 	exit_error('Error',$pgf->getErrorMessage());
 }
 
-$subprojects_box = '<select name="select_subprojects" onchange="moveToSubproject(this.value)">';
+$subprojects_box = '<select name="select_subprojects" onchange="moveToSubproject(this.value)" />';
 for ($j = 0; $j < count($pg_arr); $j++) {
 
 	if (!is_object($pg_arr[$j])) {
@@ -192,7 +192,7 @@
 	} else {
 		$subprojects_box .= '<option ';
 		if($group_project_id == $pg_arr[$j]->getID())
-			$subprojects_box .= ' selected ';
+			$subprojects_box .= ' selected="selected" ';
 		$subprojects_box .= 'value="'. util_make_url ('/pm/task.php?group_project_id='. $pg_arr[$j]->getID().'&group_id='.$group_id.'&func=browse')  .'"  >'. $pg_arr[$j]->getName();
 
 		$subprojects_box .= '</option>';
@@ -520,8 +520,8 @@
 			    16, 16, array('border' => '0'))
 			) . "</div></td>\n" .
 			'<td>'.
-			($IS_ADMIN?'<input type="CHECKBOX" '. (($pt_arr[$i]->getStatusId() == 7)? 'DISABLED onclick="return false;"':' ') .'   name="project_group_id_list[]" style="display:none;"  value="'. $task_group_project_id .'"> ':'').
-			($IS_ADMIN?'<input type="CHECKBOX" '. (($pt_arr[$i]->getStatusId() == 7)? ' DISABLED onclick="return false;"':' ') .'   name="project_task_id_list[]"   value="'. $pt_arr[$i]->getID() .'"> ':'').
+			($IS_ADMIN?'<input type="checkbox"'. (($pt_arr[$i]->getStatusId() == 7)? ' disabled="disabled" onclick="return false;"':'') .' name="project_group_id_list[]" style="display:none;"  value="'. $task_group_project_id .'"> ':'').
+			($IS_ADMIN?'<input type="checkbox"'. (($pt_arr[$i]->getStatusId() == 7)? ' disabled="disabled" onclick="return false;"':'') .' name="project_task_id_list[]"   value="'. $pt_arr[$i]->getID() .'"> ':'').
 			$pt_arr[$i]->getID() .'</td>';
 		if ($display_col['summary'])
 			echo '<td class="separateRowsForPrinting"><a href="'.$url.'">'.$pt_arr[$i]->getSummary() .'</a></td>';



More information about the evolvis-commits mailing list