Add datatables-1.9.4 and jquery-1.10.2 libraries
[proteocache.git] / webapp / resources / datatables-1.9.4 / media / unit_testing / templates / js_data.php
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' ); 
7 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
8 <html>
9         <head>
10                 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
11                 <link rel="shortcut icon" type="image/ico" href="http://www.sprymedia.co.uk/media/images/favicon.ico" />
12                 
13                 <title>DataTables unit testing</title>
14                 <style type="text/css" title="currentStyle">
15                         @import "../../css/demo_page.css";
16                         @import "../../css/demo_table.css";
17                 </style>
18                 <script type="text/javascript" language="javascript" src="../../js/jquery.js"></script>
19                 <script type="text/javascript" language="javascript" src="../../js/jquery.dataTables.js"></script>
20                 <script type="text/javascript" language="javascript" src="../unit_test.js"></script>
21                 <script type="text/javascript" charset="utf-8">
22                         /* Make the data source available for testing */
23                         var gaaData = [
24                                 ['Trident','Internet Explorer 4.0','Win 95+','4','X'],
25                                 ['Trident','Internet Explorer 5.0','Win 95+','5','C'],
26                                 ['Trident','Internet Explorer 5.5','Win 95+','5.5','A'],
27                                 ['Trident','Internet Explorer 6','Win 98+','6','A'],
28                                 ['Trident','Internet Explorer 7','Win XP SP2+','7','A'],
29                                 ['Trident','AOL browser (AOL desktop)','Win XP','6','A'],
30                                 ['Gecko','Firefox 1.0','Win 98+ / OSX.2+','1.7','A'],
31                                 ['Gecko','Firefox 1.5','Win 98+ / OSX.2+','1.8','A'],
32                                 ['Gecko','Firefox 2.0','Win 98+ / OSX.2+','1.8','A'],
33                                 ['Gecko','Firefox 3.0','Win 2k+ / OSX.3+','1.9','A'],
34                                 ['Gecko','Camino 1.0','OSX.2+','1.8','A'],
35                                 ['Gecko','Camino 1.5','OSX.3+','1.8','A'],
36                                 ['Gecko','Netscape 7.2','Win 95+ / Mac OS 8.6-9.2','1.7','A'],
37                                 ['Gecko','Netscape Browser 8','Win 98SE+','1.7','A'],
38                                 ['Gecko','Netscape Navigator 9','Win 98+ / OSX.2+','1.8','A'],
39                                 ['Gecko','Mozilla 1.0','Win 95+ / OSX.1+',1,'A'],
40                                 ['Gecko','Mozilla 1.1','Win 95+ / OSX.1+',1.1,'A'],
41                                 ['Gecko','Mozilla 1.2','Win 95+ / OSX.1+',1.2,'A'],
42                                 ['Gecko','Mozilla 1.3','Win 95+ / OSX.1+',1.3,'A'],
43                                 ['Gecko','Mozilla 1.4','Win 95+ / OSX.1+',1.4,'A'],
44                                 ['Gecko','Mozilla 1.5','Win 95+ / OSX.1+',1.5,'A'],
45                                 ['Gecko','Mozilla 1.6','Win 95+ / OSX.1+',1.6,'A'],
46                                 ['Gecko','Mozilla 1.7','Win 98+ / OSX.1+',1.7,'A'],
47                                 ['Gecko','Mozilla 1.8','Win 98+ / OSX.1+',1.8,'A'],
48                                 ['Gecko','Seamonkey 1.1','Win 98+ / OSX.2+','1.8','A'],
49                                 ['Gecko','Epiphany 2.20','Gnome','1.8','A'],
50                                 ['Webkit','Safari 1.2','OSX.3','125.5','A'],
51                                 ['Webkit','Safari 1.3','OSX.3','312.8','A'],
52                                 ['Webkit','Safari 2.0','OSX.4+','419.3','A'],
53                                 ['Webkit','Safari 3.0','OSX.4+','522.1','A'],
54                                 ['Webkit','OmniWeb 5.5','OSX.4+','420','A'],
55                                 ['Webkit','iPod Touch / iPhone','iPod','420.1','A'],
56                                 ['Webkit','S60','S60','413','A'],
57                                 ['Presto','Opera 7.0','Win 95+ / OSX.1+','-','A'],
58                                 ['Presto','Opera 7.5','Win 95+ / OSX.2+','-','A'],
59                                 ['Presto','Opera 8.0','Win 95+ / OSX.2+','-','A'],
60                                 ['Presto','Opera 8.5','Win 95+ / OSX.2+','-','A'],
61                                 ['Presto','Opera 9.0','Win 95+ / OSX.3+','-','A'],
62                                 ['Presto','Opera 9.2','Win 88+ / OSX.3+','-','A'],
63                                 ['Presto','Opera 9.5','Win 88+ / OSX.3+','-','A'],
64                                 ['Presto','Opera for Wii','Wii','-','A'],
65                                 ['Presto','Nokia N800','N800','-','A'],
66                                 ['Presto','Nintendo DS browser','Nintendo DS','8.5','C/A<sup>1</sup>'],
67                                 ['KHTML','Konqureror 3.1','KDE 3.1','3.1','C'],
68                                 ['KHTML','Konqureror 3.3','KDE 3.3','3.3','A'],
69                                 ['KHTML','Konqureror 3.5','KDE 3.5','3.5','A'],
70                                 ['Tasman','Internet Explorer 4.5','Mac OS 8-9','-','X'],
71                                 ['Tasman','Internet Explorer 5.1','Mac OS 7.6-9','1','C'],
72                                 ['Tasman','Internet Explorer 5.2','Mac OS 8-X','1','C'],
73                                 ['Misc','NetFront 3.1','Embedded devices','-','C'],
74                                 ['Misc','NetFront 3.4','Embedded devices','-','A'],
75                                 ['Misc','Dillo 0.8','Embedded devices','-','X'],
76                                 ['Misc','Links','Text only','-','X'],
77                                 ['Misc','Lynx','Text only','-','X'],
78                                 ['Misc','IE Mobile','Windows Mobile 6','-','C'],
79                                 ['Misc','PSP browser','PSP','-','C'],
80                                 ['Other browsers','All others','-','-','U']
81                         ];
82                 </script>
83                 <?php
84                         $aScripts = explode( ":", $_GET['scripts'] );
85                         for ( $i=0 ; $i<count($aScripts) ; $i++ )
86                         {
87                                 echo '<script type="text/javascript" language="javascript" src="../'.$aScripts[$i].'?rand='.rand().'"></script>'."\n";
88                         }
89                 ?>
90         </head>
91         <body id="dt_example">
92                 <div id="container">
93                         <div class="full_width big">
94                                 <i>DataTables</i> unit test template for reading DOM data
95                         </div>
96                         
97                         <div id="demo">
98 <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
99         <thead>
100                 <tr>
101                         <th>Rendering engine</th>
102                         <th>Browser</th>
103                         <th>Platform(s)</th>
104                         <th>Engine version</th>
105                         <th>CSS grade</th>
106                 </tr>
107         </thead>
108         <tbody>
109         </tbody>
110         <tfoot>
111                 <tr>
112                         <th>Rendering engine</th>
113                         <th>Browser</th>
114                         <th>Platform(s)</th>
115                         <th>Engine version</th>
116                         <th>CSS grade</th>
117                 </tr>
118         </tfoot>
119 </table>
120                         </div>
121                         <div class="spacer"></div>
122                 </div>
123         </body>
124 </html>