[evolvis-commits] r17677: replace remaining in-tree ECMAscript-in-XHTML embeds (except unused plugins)

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Oct 31 15:44:48 CET 2011


Author: mirabilos
Date: 2011-10-31 15:44:48 +0100 (Mon, 31 Oct 2011)
New Revision: 17677

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/debian/changelog
   trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php
   trunk/gforge_base/evolvisforge-5.1/src/www/pm/select_columns.php
Log:
replace remaining in-tree ECMAscript-in-XHTML embeds (except unused plugins)


Modified: trunk/gforge_base/evolvisforge-5.1/src/debian/changelog
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/debian/changelog	2011-10-31 14:44:43 UTC (rev 17676)
+++ trunk/gforge_base/evolvisforge-5.1/src/debian/changelog	2011-10-31 14:44:48 UTC (rev 17677)
@@ -21,7 +21,7 @@
     drop usermenu, quota_{label,link}_project_admin hooks, warn
     when they are listened on; $params['submenu'] is now a three-
     member (label, link, tooltip) indexed array, subMenu() errors
-  * Fix and sanitise ECMAscript handling
+  * Fix and sanitise ECMAscript handling for once and always, grr!
   * [#2030] [#2158] New Evolvis theme look
   * Supply libjs-jquery-ui in gforge-web-apache2
   * Use jQuery in noConflict mode in all themes (if used at all)
@@ -30,7 +30,7 @@
   * [#1850] Fix merge glitch
   * [#1859] [#1906] Port code from Evolvis 4.8 to 5.1
 
- -- Thorsten Glaser <t.glaser at tarent.de>  Mon, 31 Oct 2011 13:23:27 +0100
+ -- Thorsten Glaser <tg at mirbsd.de>  Mon, 31 Oct 2011 15:42:38 +0100
 
 fusionforge (5.1.1-1+) UNRELEASED; urgency=low
 

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-10-31 14:44:43 UTC (rev 17676)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php	2011-10-31 14:44:48 UTC (rev 17677)
@@ -284,7 +284,7 @@
 $subProjectName = pm_ispref("subprjname");
 
 echo '
-	<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 	function gup(name) {
 		name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
 		var regexS = "[\\?&]"+name+"=([^&#]*)";
@@ -312,7 +312,7 @@
 		selectColumnsWindow.focus();
 
 	}
-	/* ]]> */</script>';
+//]]></script>';
 
 /*
 	Show the new pop-up boxes to select assigned to and/or status
@@ -342,7 +342,7 @@
 	</form>
 	<p />
 
-	<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+	<script language="JavaScript" type="text/javascript">//<![CDATA[
 
 	function submitHeaderForm() {
 		document.headerForm.submit.click();
@@ -376,7 +376,7 @@
 	}
 }
 
-/* ]]> */</script>
+//]]></script>
 
  ';
 

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/pm/select_columns.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/pm/select_columns.php	2011-10-31 14:44:43 UTC (rev 17676)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/pm/select_columns.php	2011-10-31 14:44:48 UTC (rev 17677)
@@ -63,7 +63,7 @@
     $sysDTDs['transitional']['doctype']; ?>
 <html <?php echo $sysXMLNSs; ?> xml:lang="en">
  <head>
-  <script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+  <script language="JavaScript" type="text/javascript">//<![CDATA[
 	function selectDeselectAllCheckFields(selectDeselect) {
 <?php
 	foreach ($pm_columns_list as $v)
@@ -86,7 +86,7 @@
 			return false;
 		}
 	}
-  /* ]]> */</script>
+  //]]></script>
   <title>Select Columns: </title>
  </head>
  <body onload="document.forms[0].selectDeselect.checked = areAllCheckFieldsSelected()">



More information about the evolvis-commits mailing list