From fcf4bbb30f95fe0549d4352e877b9d952b7ff90c Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Mon, 15 Jul 2002 09:31:48 +0000 Subject: Add stuff for alternative DTD --- html/functions.php3 | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'html/functions.php3') diff --git a/html/functions.php3 b/html/functions.php3 index aaa4fc56..55e6ad64 100644 --- a/html/functions.php3 +++ b/html/functions.php3 @@ -1,11 +1,12 @@ opening tag, +// and defines some useful functions. // -// David Aspinall, June 1999. +// David Aspinall, June 1999/2002. // // $Id$ // @@ -31,12 +32,26 @@ $project_full_title = $project_title . " --- " . $project_subtitle; if ($title == "") { $title = $project_title; } // default page title. +/////////////////////////////////////////////////////////////////// +// // DTD +// $dtd_strict = "\n"; $dtd_loose = "\n"; +$xml_header=""; +$dtd_xml_loose =""; +$dtd_xml_strict =""; +$html="\n"; +$xhtml="\n"; print $dtd_loose; +print $html; + +//print $xml_header; +//print $dtd_xml_strict; +//print $xhtml; + // Validator address @@ -128,8 +143,6 @@ function date_modified($filename) { } function small_header($title) { - print $dtd; - print ""; include('head.html'); include('smallheader.html'); print "

" . $title . "

\n\n\n"; -- cgit v1.2.3