mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-14 01:08:41 +00:00
1cce367950
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@651 48356398-32a2-884e-a903-53898d9a118a
40 lines
1.0 KiB
PHP
40 lines
1.0 KiB
PHP
<?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;
|
|
?>
|
|
<iframe src="<?php echo escapeHTML($filename); ?>"></iframe>
|
|
<?php
|
|
}
|
|
|
|
?>
|
|
</div>
|
|
</body>
|
|
</html>
|