From bdcc458544b4780223ccccccb8610d75b1f7a960 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 26 Nov 2005 01:04:49 +0000 Subject: enable XSL stylesheet git-svn-id: file:///home/lennart/svn/public/sse/trunk@64 5fbabb74-0606-0410-a5e4-b5cc6a42724e --- www/index.php | 4 ++++ www/style.xsl | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'www') 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 << + $title +

Better get an XSLT capable browser!

ECHOFORM; db_connect(); diff --git a/www/style.xsl b/www/style.xsl index ddc387c..ab52a65 100644 --- a/www/style.xsl +++ b/www/style.xsl @@ -3,14 +3,14 @@ + - + + + +

cool

- -

Hallo

-
-
-- cgit