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

mirabilos at evolvis.org mirabilos at evolvis.org
Mon May 16 15:09:42 CEST 2011


Author: mirabilos
Date: 2011-05-16 15:09:42 +0200 (Mon, 16 May 2011)
New Revision: 17262

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 13:09:39 UTC (rev 17261)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php	2011-05-16 13:09:42 UTC (rev 17262)
@@ -607,7 +607,6 @@
 	echo $GLOBALS['HTML']->listTableBottom();
 
 	if ($IS_ADMIN) {
-		echo '<div class="hidePartForPrinting">';
 		/*
 			creating a custom technician box which includes "No Change" and "Nobody"
 		*/
@@ -628,7 +627,9 @@
 		$tech_box=html_build_select_box_from_arrays ($tech_id_arr,$tech_name_arr,'assigned_to',
 		'100',true,_('No Change'));
 
-		echo '<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+		echo '
+		<div class="hidePartForPrinting">
+			<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
 	function checkAll(val) {
 		al=document.taskList;
 		len = al.elements.length;
@@ -639,13 +640,13 @@
 			}
 		}
 	}
-	/* ]]> */</script>
+			/* ]]> */</script>
 			<table width="100%" border="0">
 			<tr><td colspan="2">
 
-<a href="javascript:checkAll(1)">'._('Check  all').'</a>
+<a href="javascript:checkAll(1)">'._('Check all').'</a>
 -
-   <a href="javascript:checkAll(0)">'._('Clear  all').'</a>
+   <a href="javascript:checkAll(0)">'._('Clear all').'</a>
 
 <div class="warning">'._('<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".').'</div>
 			</td></tr>
@@ -673,9 +674,9 @@
 			_('Mass update').'" /></td></tr>
 
 			</table>
-		</form>
-	<script type="text/javascript">
+		</div></form>
 
+		<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
 		if (gup("showAll") == "showAllSubProjects" || document.taskList.showAll.value == "showAllSubProjects") {
 			document.taskList.new_group_project_id.selectedIndex= 0;
 		}
@@ -713,8 +714,7 @@
 			}
 			return returnValue;
 		}
-	</script>';
-			echo '</div>';
+		/* ]]> */</script>';
 	}
 
 	echo '<div class="hidePartForPrinting">';
@@ -724,9 +724,7 @@
 
 }
 
-echo '<div class="hidePartForPrinting">';
 pm_footer(array());
-echo '</div>';
 
 // Local Variables:
 // mode: php



More information about the evolvis-commits mailing list