summaryrefslogtreecommitdiffstats
path: root/vendor/ezyang/htmlpurifier/smoketests/all.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-07 12:32:05 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-07 12:32:05 +0100
commit7f81afd7efbeb931d16ce1f3a1ed53a54226d553 (patch)
tree180720cd96aa66ae8964f13734e090d4b82a178e /vendor/ezyang/htmlpurifier/smoketests/all.php
parenta6d6288e65aa416aca7535e81d9e8837c2cfb103 (diff)
move 3rdparty directory to vendor to be more consistent with composer standard and because we also use js/vendor for third party libs
Diffstat (limited to 'vendor/ezyang/htmlpurifier/smoketests/all.php')
-rw-r--r--vendor/ezyang/htmlpurifier/smoketests/all.php44
1 files changed, 44 insertions, 0 deletions
diff --git a/vendor/ezyang/htmlpurifier/smoketests/all.php b/vendor/ezyang/htmlpurifier/smoketests/all.php
new file mode 100644
index 000000000..507034b93
--- /dev/null
+++ b/vendor/ezyang/htmlpurifier/smoketests/all.php
@@ -0,0 +1,44 @@
+<?php
+
+require_once 'common.php';
+
+header('Content-type: text/html; charset=UTF-8');
+echo '<?xml version="1.0" encoding="UTF-8" ?>';
+
+?><!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>HTML Purifier: All Smoketests</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <style type="text/css">
+ #content {margin:5em;}
+ iframe {width:100%;height:30em;}
+ </style>
+</head>
+<body>
+<h1>HTML Purifier: All Smoketests</h1>
+<div id="content">
+<?php
+
+$dir = './';
+$dh = opendir($dir);
+while (false !== ($filename = readdir($dh))) {
+ if ($filename[0] == '.') continue;
+ if (strpos($filename, '.php') === false) continue;
+ if ($filename == 'common.php') continue;
+ if ($filename == 'all.php') continue;
+ if ($filename == 'testSchema.php') continue;
+ ?>
+ <iframe src="<?php echo escapeHTML($filename); if (isset($_GET['standalone'])) {echo '?standalone';} ?>"></iframe>
+ <?php
+}
+
+?>
+</div>
+</body>
+</html>
+<?php
+
+// vim: et sw=4 sts=4