[evolvis-commits] r17676: small-fixes pending merges:↵ Thorsten Glaser 2011-10-31 change ALL (except some plugins) ECMAscript-in-HTML embeddings to one scheme

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


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

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/include/utils.php
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/addfile.php
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/addsubdocgroup.php
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/admin.php
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/editfile.php
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/listfile.php
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/listtrashfile.php
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/tree.php
   trunk/gforge_base/evolvisforge-5.1/src/common/forum/AttachManager.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/forum/ForumAdmin.class.php
   trunk/gforge_base/evolvisforge-5.1/src/common/include/extras-debug.php
   trunk/gforge_base/evolvisforge-5.1/src/common/widget/WidgetLayout.class.php
   trunk/gforge_base/evolvisforge-5.1/src/plugins/projects_hierarchy/www/softwaremap.php
   trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/include/note.php
   trunk/gforge_base/evolvisforge-5.1/src/www/notepad.php
   trunk/gforge_base/evolvisforge-5.1/src/www/pm/browse_task.php
   trunk/gforge_base/evolvisforge-5.1/src/www/pm/ganttpage.php
   trunk/gforge_base/evolvisforge-5.1/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/snippet/addversion.php
   trunk/gforge_base/evolvisforge-5.1/src/www/snippet/package.php
   trunk/gforge_base/evolvisforge-5.1/src/www/soap/nusoap.php
   trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example-ajax.html
   trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example-cookies.html
   trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example.html
   trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example2.html
   trunk/gforge_base/evolvisforge-5.1/src/www/themes/funky/Theme.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/tracker/browse.php
   trunk/gforge_base/evolvisforge-5.1/src/www/tracker/opener_tasks.js
Log:
small-fixes pending merges:
  Thorsten Glaser 2011-10-31 change ALL (except some plugins) ECMAscript-in-HTML embeddings to one scheme

  I’ve had invalid XHTML in one page, and the following diff literally fixed it:

  -<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
  +<script language="JavaScript" type="text/javascript">//<![CDATA[
   …
  -       //-->
  -       </script>
  +//]]></script>

  I’m now fed up with it, and we use this style *EVERYWHERE*!

  <script language="JavaScript" type="text/javascript">//<![CDATA[
  …
  //]]></script>

  Note that the first and last line are on Unix lines of their own!


Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/include/utils.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/include/utils.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/include/utils.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -139,7 +139,7 @@
 function docman_editdata_js() {
 	global $group_id;
 	
-	echo '<script language="JavaScript" type="text/javascript">/* <![CDATA[ */';
+	echo '<script language="JavaScript" type="text/javascript">//<![CDATA[';
 	echo 'var lockInterval = new Array();';
 	echo 'function EditData(iddiv) {';
 	echo '	if ( "none" == document.getElementById(\'editdata\'+iddiv).style.display ) {';
@@ -152,7 +152,7 @@
 	echo '		clearInterval(lockInterval[iddiv]);';
 	echo '	}';
 	echo '}';
-	echo '/* ]]> */</script>'."\n";
+	echo '//]]></script>'."\n";
 }
 
 /*

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/addfile.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/addfile.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/addfile.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -48,7 +48,7 @@
 	/* display the add new documentation form */
 	/* @todo - use jquery and javascript controler */
 ?>
-	<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+	<script language="JavaScript" type="text/javascript">//<![CDATA[
 	function displayRowFile() {
 		document.getElementById('filerow').style.display = '';
 		document.getElementById('urlrow').style.display = 'none';
@@ -77,7 +77,7 @@
 		document.getElementById('editrow').style.display = 'none';
 		document.getElementById('editnamerow').style.display = 'none';
 	}
-	/* ]]> */</script>
+	//]]></script>
 <?php
 	echo '<p><strong>'. _('Document Title:') .'</strong> '. _('Refers to the relatively brief title of the document (e.g. How to use the download server).'). '</p>';
 	echo '<p><strong>'. _('Description:') .'</strong> '. _('A brief description to be placed just under the title.') .'</p>';

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/addsubdocgroup.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/addsubdocgroup.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/addsubdocgroup.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -30,12 +30,12 @@
 global $dirid; //id of the doc_group
 
 ?>
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 function doItAddSubGroup() {
 	document.getElementById('addsubgroup').submit();
 	document.getElementById('submitaddsubgroup').disabled = true;
 }
-/* ]]> */</script>
+//]]></script>
 <?php
 echo '<div class="docmanDivIncluded" >';
 echo '<form id="addsubgroup" name="addsubgroup" method="post" action="?group_id='.$group_id.'&action=addsubdocgroup&dirid='.$dirid.'">';

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/admin.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/admin.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/admin.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -37,7 +37,7 @@
 ?>
 
 <div id="principalAdminDiv" class="docmanDivIncluded">
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 function displayAdminDiv(id) {
 	var mainDiv = document.getElementById('principalAdminDiv');
 	for (var i = 0; i < mainDiv.childNodes.length; i++) {
@@ -55,7 +55,7 @@
 	document.getElementById(formid).submit();
 	document.getElementById('submit'+formid).disabled = true;
 }
-/* ]]> */</script>
+//]]></script>
 <?php
 	if (forge_check_perm('docman', $group_id, 'approve')) {
 		docman_editdata_js();

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/editfile.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/editfile.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/editfile.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -36,12 +36,12 @@
 foreach ($nested_docs[$dirid] as $d) {
 
 ?>
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 	function doItEditData<?php echo $d->getID(); ?>() {
 		document.getElementById('editdata<?php echo $d->getID(); ?>').submit();
 		document.getElementById('submiteditdata<?php echo $d->getID(); ?>').disabled = true;
 	}
-/* ]]> */</script>
+//]]></script>
 <div id="editfile<?php echo $d->getID(); ?>" style="display:none" class="docman_div_include">
 <p>
 <strong><?php echo _('Document Title:') ?></strong>

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/listfile.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/listfile.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/listfile.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -54,7 +54,7 @@
 }
 ?>
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 var controller;
 
 jQuery(document).ready(function() {
@@ -85,7 +85,7 @@
 	});
 });
 
-/* ]]> */</script>
+//]]></script>
 
 <?php
 echo '<h3 class="docman_h3" >Directory : <i>'.$DocGroupName.'</i> ';

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/listtrashfile.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/listtrashfile.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/listtrashfile.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -36,7 +36,7 @@
 	echo '<p class="information">'._('Trash is empty').'</p>';
 } else {
 ?>
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 function displayTrashDiv() {
 	if ( 'none' == document.getElementById('listtrash').style.display ) {
 		document.getElementById('listtrash').style.display = 'block';
@@ -44,7 +44,7 @@
 		document.getElementById('listtrash').style.display = 'none';
 	}
 }
-/* ]]> */</script>
+//]]></script>
 <?php
 	echo '<form id="emptytrash" name="emptytrash" method="post" action="?group_id='.$group_id.'&action=emptytrash" >';
 	echo '<ul>';

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/tree.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/tree.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/views/tree.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -45,15 +45,15 @@
 echo '<div id="documenttree" style="height:100%">';
 ?>
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 	var myThemeXPBase = "<?php echo util_make_uri ('/jscook/ThemeXP/'); ?>";
-/* ]]> */</script>
+//]]></script>
 <script type="text/javascript" src="<?php echo util_make_uri ('/jscook/JSCookTree.js'); ?>"></script>
 <script src="<?php echo util_make_uri ('/jscook/ThemeXP/theme.js'); ?>" type="text/javascript"></script>
 
 <div id="myMenuID" style="overflow:auto;"></div>
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 	var myMenu =
 		[
 			['<span class="JSCookTreeFolderClosed"><i><img alt="" src="' + myThemeXPBase + 'folder1.gif" /></i></span><span class="JSCookTreeFolderOpen"><i><img alt="" src="' + myThemeXPBase + 'folderopen1.gif" /></i></span>', '/', '#', '', '', <?php docman_recursive_display(0); ?>
@@ -64,7 +64,7 @@
 	ctExposeTreeIndex (treeIndex, <?php echo $idExposeTreeIndex ?>);
 	var openItem = ctGetSelectedItem (treeIndex);
 	ctOpenFolder (openItem);
-/* ]]> */</script>
+//]]></script>
 
 <?php
 $linkmenu = 'listfile';

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/forum/AttachManager.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/forum/AttachManager.class.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/forum/AttachManager.class.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -86,7 +86,7 @@
 	*/
 	
 	function PrintHelperFunctions() {
-		return '<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+		return '<script language="JavaScript" type="text/javascript">//<![CDATA[
 		
 		function confirmDel() {
 			var agree=confirm("Proceed with deletion? ");
@@ -103,7 +103,7 @@
 			newwindow = window.open(url, \'Attach\', \'statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=600,height=480\');
 			if (window.focus) {newwindow.focus()}
 		}
-		/* ]]> */</script>';
+		//]]></script>';
 	}
 	
 	 /**

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/forum/ForumAdmin.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/forum/ForumAdmin.class.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/forum/ForumAdmin.class.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -291,7 +291,7 @@
 			}
 			
 			echo '
-			<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+			<script language="JavaScript" type="text/javascript">//<![CDATA[
 		
 			function confirmDel() {
 				var agree=confirm("' . _('Proceed? Actions are permanent!') . '");
@@ -301,7 +301,7 @@
 					return false;
 				}
 			}
-			/* ]]> */</script>
+			//]]></script>
 			<form name="pending" action="pending.php" method="post">
 			<input type="hidden" name="action" value="update_pending" />
 			<input type="hidden" name="form_key" value="' . form_generate_key() . '" />

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/include/extras-debug.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/include/extras-debug.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/include/extras-debug.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -92,7 +92,7 @@
 	// this is, sadly, necessary (especially in ff-plugin-mediawiki)
 	$pre_tag = "<pre style=\"margin:0; padding:0; border:0; line-height:125%;\">";
 
-	$divstring = "\n\n" . '<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+	$divstring = "\n\n" . '<script language="JavaScript" type="text/javascript">//<![CDATA[
 		function toggle_ffErrors() {
 			var errorsblock = document.getElementById("ffErrorsBlock");
 			var errorsgroup = document.getElementById("ffErrors");
@@ -103,7 +103,7 @@
 				errorsblock.style.display = "none";
 				errorsgroup.style.right = "300px";
 			}
-		}' . "\n/* ]]> */</script>\n<div id=\"ffErrors\">\n" .
+		}' . "\n//]]></script>\n<div id=\"ffErrors\">\n" .
 	    '<a href="javascript:toggle_ffErrors();">Click to toggle</a>' .
 	    "\n<div id=\"ffErrorsBlock\">";
 

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/widget/WidgetLayout.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/widget/WidgetLayout.class.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/widget/WidgetLayout.class.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -47,7 +47,7 @@
         if (!$readonly) {
             $cells = "['". implode("', '", $this->getColumnIds()) ."']";
            echo <<<EOS
-	<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+	<script language="JavaScript" type="text/javascript">//<![CDATA[
             var cells = $cells;
             Event.observe(window, 'load', function() {
                   cells.each(function (cell_id) {
@@ -69,7 +69,7 @@
                     Sortable.destroy(cell_id);
                 });
             });
-	/* ]]> */</script>
+	//]]></script>
 EOS;
         }
     }

Modified: trunk/gforge_base/evolvisforge-5.1/src/plugins/projects_hierarchy/www/softwaremap.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/plugins/projects_hierarchy/www/softwaremap.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/plugins/projects_hierarchy/www/softwaremap.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -394,7 +394,7 @@
 			echo '<table ><tr><td>';
 			
 			?>
-			<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+			<script language="JavaScript" type="text/javascript">//<![CDATA[
 			//add files dtress.css, dtree.js et du dossier img
 				d = new dTree('d');	
 				d.add(0,-1,'<?php echo _('Project Tree');?>');
@@ -409,7 +409,7 @@
 				document.write(d);
 		
 				
-			/* ]]> */</script>
+			//]]></script>
 			<?php
 			echo '</td></tr></table>';
 		}

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/include/note.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/include/note.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/include/note.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -51,7 +51,7 @@
 
 function notepad_func() {
       $js = "\n" .
-'<script language="JavaScript" type="text/javascript">/* <![CDATA[ */'.
+'<script language="JavaScript" type="text/javascript">//<![CDATA['.
 "\n".
 'function notepad_window_param(form, wrap, rows, cols) {'.
 '   notepad_php = "'.util_make_url("/notepad.php").'";'.
@@ -65,7 +65,7 @@
 '    NotepadWin = window.open(notepad_url, notepad_title,'.
 '                         notepad_winopt);'.
 '}'.
-"\n/* ]]> */</script>\n";
+"\n//]]></script>\n";
       return $js;
 }
 

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/notepad.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/notepad.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/notepad.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -58,7 +58,7 @@
 <html>
   <head>
     <title>FusionForge Notepad</title>
-	<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+	<script language="JavaScript" type="text/javascript">//<![CDATA[
     function load_initial_value() {
         try {
             aform = <?php echo $pform ?>;
@@ -81,7 +81,7 @@
          window.close();
     }
 
-	/* ]]> */</script>
+	//]]></script>
   </head>
   <body onLoad="load_initial_value();" >
     <form name="form1" action="">

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/pm/ganttpage.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/pm/ganttpage.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/pm/ganttpage.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -131,7 +131,7 @@
 		}
 		//echo "XX $_size $gantt_width $gantt_height XX";
 		?>
-		<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+		<script language="JavaScript" type="text/javascript">//<![CDATA[
 		function setSize(width,height) {
 			if (window.outerWidth) {
 				window.outerWidth = width;
@@ -146,7 +146,7 @@
 			}
 		}
 		window.setSize(<?php echo $gantt_width; ?>,<?php echo $gantt_height; ?>);
-		/* ]]> */</script>
+		//]]></script>
 		<?php
 
 echo '	<form action="'. getStringFromServer('PHP_SELF') .'?group_id='.$group_id.'&group_project_id='.$group_project_id.'&func=ganttpage" method="post">

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/search/include/renderers/AdvancedSearchHtmlSearchRenderer.class.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -346,7 +346,7 @@
 		//create javascript methods for select none/all
 		$res .= '
             <!-- method for disable/enable checkboxes -->
-	<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+	<script language="JavaScript" type="text/javascript">//<![CDATA[
             function setCheckBoxes(parent, checked) {
 
 
@@ -355,7 +355,7 @@
                             if (document.advancedsearch.elements[i].name.substr(0, parent.length) == parent)
                                 document.advancedsearch.elements[i].checked = checked;
                 }
-	/* ]]> */</script>
+	//]]></script>
         ';
 		return $res;
 	}

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/snippet/addversion.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/snippet/addversion.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/snippet/addversion.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -169,13 +169,13 @@
 */
 					?>
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 function show_add_snippet_box() {
 	newWindow = open("","occursDialog","height=500,width=300,scrollbars=yes,resizable=yes");
 	newWindow.location=('/snippet/add_snippet_to_package.php?snippet_package_version_id=<?php
 			echo $snippet_package_version_id; ?>');
 }
-/* ]]> */</script>
+//]]></script>
 <body onLoad="show_add_snippet_box()">
 
 <p><span class="important"><?php echo _('IMPORTANT!'); ?></span></p>

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/snippet/package.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/snippet/package.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/snippet/package.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -93,13 +93,13 @@
 
 					?>
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 function show_add_snippet_box() {
 	newWindow = open("","occursDialog","height=500,width=300,scrollbars=yes,resizable=yes");
 	newWindow.location=('/snippet/add_snippet_to_package.php?suppress_nav=1&snippet_package_version_id=<?php 
 			echo $snippet_package_version_id; ?>');
 }
-/* ]]> */</script>
+//]]></script>
 <body onload="show_add_snippet_box()">
 
 <p>

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/soap/nusoap.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/soap/nusoap.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/soap/nusoap.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -5374,8 +5374,7 @@
 		    a:visited   { color: #666666; font-weight: bold; }
 		    a:hover     { color: cc3300; font-weight: bold; }
 		</style>
-		<script language="JavaScript" type="text/javascript">
-		<!--
+		<script language="JavaScript" type="text/javascript">//<![CDATA[
 		// POP-UP CAPTIONS...
 		function lib_bwcheck(){ //Browsercheck (needed)
 		    this.ver=navigator.appVersion
@@ -5418,8 +5417,7 @@
 		function popout(){ // Hides message
 		    if(oDesc) oDesc.css.visibility = "hidden"
 		}
-		//-->
-		</script>
+		//]]></script>
 		</head>
 		<body>
 		<div class=content>

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example-ajax.html
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example-ajax.html	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example-ajax.html	2011-10-31 14:44:43 UTC (rev 17676)
@@ -14,7 +14,7 @@
 -->
 <script src="http://www.barelyfitz.com/projects/tabber/effects/prototype.js" type="text/javascript"></script>
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 
 /* Optional: Temporarily hide the "tabber" class so it does not "flash"
    on the page as plain HTML. After tabber runs, the class is changed
@@ -47,7 +47,7 @@
 
 
 }
-/* ]]> */</script>
+//]]></script>
 
 <script type="text/javascript" src="tabber.js"></script>
 

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example-cookies.html
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example-cookies.html	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example-cookies.html	2011-10-31 14:44:43 UTC (rev 17676)
@@ -10,7 +10,7 @@
 <!-- Include the common code -->
 <script type="text/javascript" src="/js/common.js"></script>
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 
 /* Optional: Temporarily hide the "tabber" class so it does not "flash"
    on the page as plain HTML. After tabber runs, the class is changed
@@ -56,7 +56,7 @@
   }
 };
 
-/* ]]> */</script>
+//]]></script>
 
 <!-- Include the tabber code -->
 <script type="text/javascript" src="tabber.js"></script>

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example.html
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example.html	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example.html	2011-10-31 14:44:43 UTC (rev 17676)
@@ -8,14 +8,14 @@
 <link rel="stylesheet" href="example.css" TYPE="text/css" MEDIA="screen">
 <link rel="stylesheet" href="example-print.css" TYPE="text/css" MEDIA="print">
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 
 /* Optional: Temporarily hide the "tabber" class so it does not "flash"
    on the page as plain HTML. After tabber runs, the class is changed
    to "tabberlive" and it will appear. */
 
 document.write('<style type="text/css">.tabber{display:none;}<\/style>');
-/* ]]> */</script>
+//]]></script>
 
 </head>
 <body>

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example2.html
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example2.html	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tabber/example2.html	2011-10-31 14:44:43 UTC (rev 17676)
@@ -7,7 +7,7 @@
 <link rel="stylesheet" href="example.css" TYPE="text/css" MEDIA="screen">
 <link rel="stylesheet" href="example-print.css" TYPE="text/css" MEDIA="print">
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 
 /* Optional: Temporarily hide the "tabber" class so it does not "flash"
    on the page as plain HTML. After tabber runs, the class is changed
@@ -57,7 +57,7 @@
 
 };
 
-/* ]]> */</script>
+//]]></script>
 
 <!-- Load the tabber code -->
 <script type="text/javascript" src="tabber.js"></script>
@@ -137,7 +137,7 @@
     </div>
 </div>
 
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 
 /* Since we specified manualStartup=true, tabber will not run after
    the onload event. Instead let's run it now, to prevent any delay
@@ -146,7 +146,7 @@
 
 tabberAutomatic(tabberOptions);
 
-/* ]]> */</script>
+//]]></script>
 
 </body>
 </html>

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/themes/funky/Theme.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/themes/funky/Theme.class.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/themes/funky/Theme.class.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -407,20 +407,20 @@
         echo '<script type="text/javascript" src="/scripts/codendi/validate.js"></script>';
         echo '<script type="text/javascript" src="/scripts/codendi/Tooltip.js"></script>';
 
-        echo '<script language="JavaScript" type="text/javascript">/* <![CDATA[ */';
+        echo '<script language="JavaScript" type="text/javascript">//<![CDATA[';
         plugin_hook ("javascript",false);
-        echo '/* ]]> */</script>'."\n";
+        echo '//]]></script>'."\n";
 
         plugin_hook ("javascript_file",false);
 		echo $this->getJavascripts();
         ?>
-	<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+	<script language="JavaScript" type="text/javascript">//<![CDATA[
             jQuery.noConflict();
             jQuery(window).load(function(){
                     jQuery(".quicknews").hide();
 					setTimeout("jQuery('.feedback').hide('slow')",5000);
             });
-	/* ]]> */</script>
+	//]]></script>
         <?php
     
     }

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tracker/browse.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tracker/browse.php	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tracker/browse.php	2011-10-31 14:44:43 UTC (rev 17676)
@@ -672,7 +672,7 @@
 		Mass Update Code
 	*/
 	if ($IS_ADMIN) {
-		echo '<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+		echo '<script language="JavaScript" type="text/javascript">//<![CDATA[
 	function checkAll(val) {
 		al=document.artifactList;
 		len = al.elements.length;
@@ -683,7 +683,7 @@
 			}
 		}
 	}
-	/* ]]> */</script>
+	//]]></script>
 
 			<table width="100%" border="0" id="admin_mass_update">
 			<tr><td colspan="2">

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tracker/opener_tasks.js
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tracker/opener_tasks.js	2011-10-31 14:44:38 UTC (rev 17675)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tracker/opener_tasks.js	2011-10-31 14:44:43 UTC (rev 17676)
@@ -1,5 +1,3 @@
-
-<script language="JavaScript" type="text/javascript">/* <![CDATA[ */
+<script language="JavaScript" type="text/javascript">//<![CDATA[
 opener.location.reload(false);
-/* ]]> */</script>
-
+//]]></script>



More information about the evolvis-commits mailing list