You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.1KB

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