Add 4.0.0 release information.
[htmlpurifier/darkodev.git] / smoketests / all.php
blob507034b93480ae4a15f3ede068fb4528195dcfa4
1 <?php
3 require_once 'common.php';
5 header('Content-type: text/html; charset=UTF-8');
6 echo '<?xml version="1.0" encoding="UTF-8" ?>';
8 ?><!DOCTYPE html
9 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
10 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd">
11 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
12 <head>
13 <title>HTML Purifier: All Smoketests</title>
14 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
15 <style type="text/css">
16 #content {margin:5em;}
17 iframe {width:100%;height:30em;}
18 </style>
19 </head>
20 <body>
21 <h1>HTML Purifier: All Smoketests</h1>
22 <div id="content">
23 <?php
25 $dir = './';
26 $dh = opendir($dir);
27 while (false !== ($filename = readdir($dh))) {
28 if ($filename[0] == '.') continue;
29 if (strpos($filename, '.php') === false) continue;
30 if ($filename == 'common.php') continue;
31 if ($filename == 'all.php') continue;
32 if ($filename == 'testSchema.php') continue;
34 <iframe src="<?php echo escapeHTML($filename); if (isset($_GET['standalone'])) {echo '?standalone';} ?>"></iframe>
35 <?php
39 </div>
40 </body>
41 </html>
42 <?php
44 // vim: et sw=4 sts=4