Passed
Branch master (c66316)
by Saepul
06:04
created
js/datatables/unit_testing/controller.php 3 patches
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+    header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
+    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
+    header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
+    header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
+    header( 'Pragma: no-cache' ); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
8 8
 	"http://www.w3.org/TR/html4/strict.dtd">
9 9
 <html>
@@ -44,47 +44,47 @@  discard block
 block discarded – undo
44 44
 		<script type="text/javascript" charset="utf-8">
45 45
 			var gaoTest = [
46 46
 			<?php
47
-				function fnReadDir( &$aReturn, $path )
48
-				{
49
-					$rDir = opendir( $path );
50
-        	while ( ($file = readdir($rDir)) !== false )
51
-					{
52
-						if ( $file == "." || $file == ".." || $file == ".DS_Store" )
53
-						{
54
-							continue;
55
-						}
56
-						else if ( is_dir( $path.'/'.$file ) )
57
-						{
58
-							fnReadDir( $aReturn, $path.'/'.$file );
59
-						}
60
-						else
61
-						{
62
-							array_push( $aReturn, $path.'/'.$file );
63
-						}
64
-					}
65
-					closedir($rDir);
66
-				}
47
+                function fnReadDir( &$aReturn, $path )
48
+                {
49
+                    $rDir = opendir( $path );
50
+            while ( ($file = readdir($rDir)) !== false )
51
+                    {
52
+                        if ( $file == "." || $file == ".." || $file == ".DS_Store" )
53
+                        {
54
+                            continue;
55
+                        }
56
+                        else if ( is_dir( $path.'/'.$file ) )
57
+                        {
58
+                            fnReadDir( $aReturn, $path.'/'.$file );
59
+                        }
60
+                        else
61
+                        {
62
+                            array_push( $aReturn, $path.'/'.$file );
63
+                        }
64
+                    }
65
+                    closedir($rDir);
66
+                }
67 67
 				
68
-				/* Get the tests dynamically from the 'tests' directory, and their templates */
69
-				$aFiles = array();
70
-				fnReadDir( $aFiles, "tests" );
68
+                /* Get the tests dynamically from the 'tests' directory, and their templates */
69
+                $aFiles = array();
70
+                fnReadDir( $aFiles, "tests" );
71 71
 				
72
-				for ( $i=0 ; $i<count($aFiles) ; $i++ )
73
-				{
74
-					$sTemplate;
75
-					$fp = fopen( $aFiles[$i], "r" );
76
-					fscanf( $fp, "// DATA_TEMPLATE: %s", $sTemplate );
77
-					fclose( $fp );
72
+                for ( $i=0 ; $i<count($aFiles) ; $i++ )
73
+                {
74
+                    $sTemplate;
75
+                    $fp = fopen( $aFiles[$i], "r" );
76
+                    fscanf( $fp, "// DATA_TEMPLATE: %s", $sTemplate );
77
+                    fclose( $fp );
78 78
 					
79
-					$aPath = explode('/', $aFiles[$i]);
79
+                    $aPath = explode('/', $aFiles[$i]);
80 80
 					
81
-					echo '{ '.
82
-						'"sTemplate": "'.$sTemplate.'", '.
83
-						'"sTest": "'.$aFiles[$i].'", '.
84
-						'"sGroup": "'.$aPath[1].'"},'."\n";
85
-				}
81
+                    echo '{ '.
82
+                        '"sTemplate": "'.$sTemplate.'", '.
83
+                        '"sTest": "'.$aFiles[$i].'", '.
84
+                        '"sGroup": "'.$aPath[1].'"},'."\n";
85
+                }
86 86
 				
87
-			?>
87
+            ?>
88 88
 			null ];
89 89
 			gaoTest.pop(); /* No interest in the null */
90 90
 		</script>
Please login to merge, or discard this patch.
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+	header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); 
3
+	header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 
4
+	header('Cache-Control: no-store, no-cache, must-revalidate'); 
5
+	header('Cache-Control: post-check=0, pre-check=0', false); 
6
+	header('Pragma: no-cache'); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
8 8
 	"http://www.w3.org/TR/html4/strict.dtd">
9 9
 <html>
@@ -44,22 +44,22 @@  discard block
 block discarded – undo
44 44
 		<script type="text/javascript" charset="utf-8">
45 45
 			var gaoTest = [
46 46
 			<?php
47
-				function fnReadDir( &$aReturn, $path )
47
+				function fnReadDir(&$aReturn, $path)
48 48
 				{
49
-					$rDir = opendir( $path );
50
-        	while ( ($file = readdir($rDir)) !== false )
49
+					$rDir = opendir($path);
50
+        	while (($file = readdir($rDir))!==false)
51 51
 					{
52
-						if ( $file == "." || $file == ".." || $file == ".DS_Store" )
52
+						if ($file=="." || $file==".." || $file==".DS_Store")
53 53
 						{
54 54
 							continue;
55 55
 						}
56
-						else if ( is_dir( $path.'/'.$file ) )
56
+						else if (is_dir($path.'/'.$file))
57 57
 						{
58
-							fnReadDir( $aReturn, $path.'/'.$file );
58
+							fnReadDir($aReturn, $path.'/'.$file);
59 59
 						}
60 60
 						else
61 61
 						{
62
-							array_push( $aReturn, $path.'/'.$file );
62
+							array_push($aReturn, $path.'/'.$file);
63 63
 						}
64 64
 					}
65 65
 					closedir($rDir);
@@ -67,14 +67,14 @@  discard block
 block discarded – undo
67 67
 				
68 68
 				/* Get the tests dynamically from the 'tests' directory, and their templates */
69 69
 				$aFiles = array();
70
-				fnReadDir( $aFiles, "tests" );
70
+				fnReadDir($aFiles, "tests");
71 71
 				
72
-				for ( $i=0 ; $i<count($aFiles) ; $i++ )
72
+				for ($i = 0; $i<count($aFiles); $i++)
73 73
 				{
74 74
 					$sTemplate;
75
-					$fp = fopen( $aFiles[$i], "r" );
76
-					fscanf( $fp, "// DATA_TEMPLATE: %s", $sTemplate );
77
-					fclose( $fp );
75
+					$fp = fopen($aFiles[$i], "r");
76
+					fscanf($fp, "// DATA_TEMPLATE: %s", $sTemplate);
77
+					fclose($fp);
78 78
 					
79 79
 					$aPath = explode('/', $aFiles[$i]);
80 80
 					
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,12 +52,10 @@
 block discarded – undo
52 52
 						if ( $file == "." || $file == ".." || $file == ".DS_Store" )
53 53
 						{
54 54
 							continue;
55
-						}
56
-						else if ( is_dir( $path.'/'.$file ) )
55
+						} else if ( is_dir( $path.'/'.$file ) )
57 56
 						{
58 57
 							fnReadDir( $aReturn, $path.'/'.$file );
59
-						}
60
-						else
58
+						} else
61 59
 						{
62 60
 							array_push( $aReturn, $path.'/'.$file );
63 61
 						}
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/-complex_header.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+    header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
+    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
+    header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
+    header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
+    header( 'Pragma: no-cache' ); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
-			{
25
-				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
-			}
27
-		?>
22
+            $aScripts = explode( ":", $_GET['scripts'] );
23
+            for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
+            {
25
+                echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
+            }
27
+        ?>
28 28
 	</head>
29 29
 	<body id="dt_example">
30 30
 		<div id="container">
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+	header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); 
3
+	header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 
4
+	header('Cache-Control: no-store, no-cache, must-revalidate'); 
5
+	header('Cache-Control: post-check=0, pre-check=0', false); 
6
+	header('Pragma: no-cache'); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
22
+			$aScripts = explode(":", $_GET['scripts']);
23
+			for ($i = 0; $i<count($aScripts); $i++)
24 24
 			{
25 25
 				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26 26
 			}
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/dom_data_th.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+    header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
+    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
+    header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
+    header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
+    header( 'Pragma: no-cache' ); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
-			{
25
-				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
-			}
27
-		?>
22
+            $aScripts = explode( ":", $_GET['scripts'] );
23
+            for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
+            {
25
+                echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
+            }
27
+        ?>
28 28
 	</head>
29 29
 	<body id="dt_example">
30 30
 		<div id="container">
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+	header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); 
3
+	header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 
4
+	header('Cache-Control: no-store, no-cache, must-revalidate'); 
5
+	header('Cache-Control: post-check=0, pre-check=0', false); 
6
+	header('Pragma: no-cache'); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
22
+			$aScripts = explode(":", $_GET['scripts']);
23
+			for ($i = 0; $i<count($aScripts); $i++)
24 24
 			{
25 25
 				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26 26
 			}
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/two_tables.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+    header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
+    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
+    header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
+    header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
+    header( 'Pragma: no-cache' ); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
-			{
25
-				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
-			}
27
-		?>
22
+            $aScripts = explode( ":", $_GET['scripts'] );
23
+            for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
+            {
25
+                echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
+            }
27
+        ?>
28 28
 	</head>
29 29
 	<body id="dt_example">
30 30
 		<div id="container">
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+	header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); 
3
+	header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 
4
+	header('Cache-Control: no-store, no-cache, must-revalidate'); 
5
+	header('Cache-Control: post-check=0, pre-check=0', false); 
6
+	header('Pragma: no-cache'); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
22
+			$aScripts = explode(":", $_GET['scripts']);
23
+			for ($i = 0; $i<count($aScripts); $i++)
24 24
 			{
25 25
 				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26 26
 			}
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/2512.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+    header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
+    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
+    header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
+    header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
+    header( 'Pragma: no-cache' ); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
-			{
25
-				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
-			}
27
-		?>
22
+            $aScripts = explode( ":", $_GET['scripts'] );
23
+            for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
+            {
25
+                echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
+            }
27
+        ?>
28 28
 	</head>
29 29
 	<body id="dt_example">
30 30
 		<div id="container">
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+	header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); 
3
+	header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 
4
+	header('Cache-Control: no-store, no-cache, must-revalidate'); 
5
+	header('Cache-Control: post-check=0, pre-check=0', false); 
6
+	header('Pragma: no-cache'); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
22
+			$aScripts = explode(":", $_GET['scripts']);
23
+			for ($i = 0; $i<count($aScripts); $i++)
24 24
 			{
25 25
 				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26 26
 			}
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/dom_data.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+    header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
+    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
+    header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
+    header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
+    header( 'Pragma: no-cache' ); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
-			{
25
-				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
-			}
27
-		?>
22
+            $aScripts = explode( ":", $_GET['scripts'] );
23
+            for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
+            {
25
+                echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
+            }
27
+        ?>
28 28
 	</head>
29 29
 	<body id="dt_example">
30 30
 		<div id="container">
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+	header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); 
3
+	header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 
4
+	header('Cache-Control: no-store, no-cache, must-revalidate'); 
5
+	header('Cache-Control: post-check=0, pre-check=0', false); 
6
+	header('Pragma: no-cache'); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
22
+			$aScripts = explode(":", $_GET['scripts']);
23
+			for ($i = 0; $i<count($aScripts); $i++)
24 24
 			{
25 25
 				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26 26
 			}
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/js_data.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+    header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
+    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
+    header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
+    header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
+    header( 'Pragma: no-cache' ); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -81,12 +81,12 @@  discard block
 block discarded – undo
81 81
 			];
82 82
 		</script>
83 83
 		<?php
84
-			$aScripts = explode( ":", $_GET['scripts'] );
85
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
86
-			{
87
-				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
88
-			}
89
-		?>
84
+            $aScripts = explode( ":", $_GET['scripts'] );
85
+            for ( $i=0 ; $i<count($aScripts) ; $i++ )
86
+            {
87
+                echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
88
+            }
89
+        ?>
90 90
 	</head>
91 91
 	<body id="dt_example">
92 92
 		<div id="container">
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+	header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); 
3
+	header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 
4
+	header('Cache-Control: no-store, no-cache, must-revalidate'); 
5
+	header('Cache-Control: post-check=0, pre-check=0', false); 
6
+	header('Pragma: no-cache'); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -81,8 +81,8 @@  discard block
 block discarded – undo
81 81
 			];
82 82
 		</script>
83 83
 		<?php
84
-			$aScripts = explode( ":", $_GET['scripts'] );
85
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
84
+			$aScripts = explode(":", $_GET['scripts']);
85
+			for ($i = 0; $i<count($aScripts); $i++)
86 86
 			{
87 87
 				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
88 88
 			}
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/empty_table.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+    header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
+    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
+    header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
+    header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
+    header( 'Pragma: no-cache' ); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
-			{
25
-				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
-			}
27
-		?>
22
+            $aScripts = explode( ":", $_GET['scripts'] );
23
+            for ( $i=0 ; $i<count($aScripts) ; $i++ )
24
+            {
25
+                echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26
+            }
27
+        ?>
28 28
 	</head>
29 29
 	<body id="dt_example">
30 30
 		<div id="container">
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+	header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); 
3
+	header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 
4
+	header('Cache-Control: no-store, no-cache, must-revalidate'); 
5
+	header('Cache-Control: post-check=0, pre-check=0', false); 
6
+	header('Pragma: no-cache'); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
 		<script type="text/javascript" src="../../js/jquery.dataTables.js"></script>
20 20
 		<script type="text/javascript" src="../unit_test.js"></script>
21 21
 		<?php
22
-			$aScripts = explode( ":", $_GET['scripts'] );
23
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
22
+			$aScripts = explode(":", $_GET['scripts']);
23
+			for ($i = 0; $i<count($aScripts); $i++)
24 24
 			{
25 25
 				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
26 26
 			}
Please login to merge, or discard this patch.
js/datatables/unit_testing/templates/dymanic_table.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+    header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
+    header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
+    header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
+    header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
+    header( 'Pragma: no-cache' ); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -24,12 +24,12 @@  discard block
 block discarded – undo
24 24
 			} );
25 25
 		</script>
26 26
 		<?php
27
-			$aScripts = explode( ":", $_GET['scripts'] );
28
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
29
-			{
30
-				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
31
-			}
32
-		?>
27
+            $aScripts = explode( ":", $_GET['scripts'] );
28
+            for ( $i=0 ; $i<count($aScripts) ; $i++ )
29
+            {
30
+                echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
31
+            }
32
+        ?>
33 33
 	</head>
34 34
 	<body id="dt_example">
35 35
 		<div id="container">
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-	header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); 
3
-	header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); 
4
-	header( 'Cache-Control: no-store, no-cache, must-revalidate' ); 
5
-	header( 'Cache-Control: post-check=0, pre-check=0', false ); 
6
-	header( 'Pragma: no-cache' ); 
2
+	header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); 
3
+	header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT'); 
4
+	header('Cache-Control: no-store, no-cache, must-revalidate'); 
5
+	header('Cache-Control: post-check=0, pre-check=0', false); 
6
+	header('Pragma: no-cache'); 
7 7
 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 8
 <html>
9 9
 	<head>
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
 			} );
25 25
 		</script>
26 26
 		<?php
27
-			$aScripts = explode( ":", $_GET['scripts'] );
28
-			for ( $i=0 ; $i<count($aScripts) ; $i++ )
27
+			$aScripts = explode(":", $_GET['scripts']);
28
+			for ($i = 0; $i<count($aScripts); $i++)
29 29
 			{
30 30
 				echo '<script type="text/javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
31 31
 			}
Please login to merge, or discard this patch.