summaryrefslogtreecommitdiffstats
path: root/www/index.php
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-11-26 01:04:49 +0000
committerLennart Poettering <lennart@poettering.net>2005-11-26 01:04:49 +0000
commitbdcc458544b4780223ccccccb8610d75b1f7a960 (patch)
treee3d493ee59c5aec7d13bfb558d9cd6bbc9d17c30 /www/index.php
parent059282217d7148b6f947e016eb76551b5acc0f4e (diff)
enable XSL stylesheet
git-svn-id: file:///home/lennart/svn/public/sse/trunk@64 5fbabb74-0606-0410-a5e4-b5cc6a42724e
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
index a27fd0f..53584be 100644
--- a/www/index.php
+++ b/www/index.php
@@ -39,14 +39,18 @@ if (isset($_REQUEST['start'])) {
$title = 'Source Search Engine'.($q ? ' - '.htmlentities($q) : '');
+header('Content-Type: application/xhtml+xml');
+
echo <<<ECHOFORM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<?xml-stylesheet type="text/xsl" href="style.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"/>
<title>$title</title>
</head>
<body>
+<p><b>Better get an XSLT capable browser!</b></p>
ECHOFORM;
db_connect();