]> projects.mako.cc - scuttle/blob - includes/utf8/tests/index.php
added jQuery UI autocomplete to the tags field when editing a bookmark
[scuttle] / includes / utf8 / tests / index.php
1 <?php
2 header('Content-Type: text/html; charset=utf-8');
3 ?>
4 <html>
5 <head>
6 <title>PHPUTF8 Tests</title>
7 </head>
8 <body>
9 <ul>
10 <li>
11     <a href="runtests.php">RUN ALL TESTS</a>
12     <a href="runtests.php?engine=mbstring">[mbstring]</a>
13     <a href="runtests.php?engine=native">[native]</a>
14 </li>
15 </ul>
16 <ul>
17 <?php
18     $path = dirname(__FILE__).'/cases';
19     if ( $d = opendir($path) ) {
20         while (($file = readdir($d)) !== false) {
21             if ( is_file($path.'/'.$file) ) {
22                 $farray = explode('.',$file);
23                 if ( $farray[1] == 'test' ) {
24 ?>
25 <li>
26     <a href="./cases/<?php echo htmlspecialchars($file); ?>"><?php echo htmlspecialchars($file); ?></a>
27     <a href="./cases/<?php echo htmlspecialchars($file); ?>?engine=mbstring">[mbstring]</a>
28     <a href="./cases/<?php echo htmlspecialchars($file); ?>?engine=native">[native]</a>
29     </li>
30 <?php
31                 }
32             }
33         }
34         closedir($d);
35     }
36 ?>
37 </ul>
38 </body>
39 </html>

Benjamin Mako Hill || Want to submit a patch?