diff options
author | André Malo <nd@apache.org> | 2002-11-27 07:02:33 +0100 |
---|---|---|
committer | André Malo <nd@apache.org> | 2002-11-27 07:02:33 +0100 |
commit | f5fde2ae1af4ae9b8d661269644d9e135b684826 (patch) | |
tree | 3b58d65c572c76bd18018778a1ee9982c3d46071 /docs/error/include | |
parent | add %% escaping (diff) | |
download | apache2-f5fde2ae1af4ae9b8d661269644d9e135b684826.tar.xz apache2-f5fde2ae1af4ae9b8d661269644d9e135b684826.zip |
nobody seems to have objections...
* XHTML 1._0_. delivering xhtml 1.1 as text/html is bogus.
(see <http://www.w3.org/TR/xhtml-media-types/#summary>)
* replaced the also bogus <dl> stuff by normal <p>s
and added some CSS instead.
(embedding CSS compatible to xml *and* html causes the very
ugly hack, you can see in top.html, because in HTML <style> contains
CDATA and in XHTML PCDATA, see also
<http://lists.w3.org/Archives/Public/www-html/2002Apr/0053.html>)
* fixed some encoding issues.
* removed the weird empty lines at the beginning of every document
* added CONTENT_LANGUAGE parameter for pt-br
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97665 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/error/include')
-rw-r--r-- | docs/error/include/bottom.html | 17 | ||||
-rw-r--r-- | docs/error/include/spacer.html | 3 | ||||
-rw-r--r-- | docs/error/include/top.html | 37 |
3 files changed, 26 insertions, 31 deletions
diff --git a/docs/error/include/bottom.html b/docs/error/include/bottom.html index ad44d9c9e3..e8522b6e9b 100644 --- a/docs/error/include/bottom.html +++ b/docs/error/include/bottom.html @@ -1,19 +1,14 @@ -</dd></dl><dl><dd> +</p> +<p> <!--#include virtual="../contact.html.var" --> -</dd></dl> +</p> <h2>Error <!--#echo encoding="none" var="REDIRECT_STATUS" --></h2> -<dl> -<dd> <address> - <a href="/"><!--#echo encoding="none" var="SERVER_NAME" --></a> - <br /> + <a href="/"><!--#echo var="SERVER_NAME" --></a><br /> <!--#config timefmt="%c" --> - <small><!--#echo encoding="none" var="DATE_LOCAL" --></small> - <br /> - <small><!--#echo encoding="none" var="SERVER_SOFTWARE" --></small> + <span><!--#echo var="DATE_LOCAL" --><br /> + <!--#echo var="SERVER_SOFTWARE" --></span> </address> -</dd> -</dl> </body> </html> diff --git a/docs/error/include/spacer.html b/docs/error/include/spacer.html index d8f5c2b4d6..7d5e59531b 100644 --- a/docs/error/include/spacer.html +++ b/docs/error/include/spacer.html @@ -1 +1,2 @@ -</dd></dl><dl><dd> +</p> +<p> diff --git a/docs/error/include/top.html b/docs/error/include/top.html index 7f69e5815c..64b1170ed3 100644 --- a/docs/error/include/top.html +++ b/docs/error/include/top.html @@ -1,25 +1,24 @@ -<!--#if expr="! $CONTENT_LANGUAGE" --> -<!--#set var="CONTENT_LANGUAGE" value="en" --> -<!--#endif --> -<!--#if expr="! $CHARACTER_ENCODING" --> -<!--#set var="CHARACTER_ENCODING" value="ISO-8859-1" --> -<!--#endif --> -<?xml version="1.0" encoding="<!--#echo encoding="none" var="CHARACTER_ENCODING" -->"?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" - "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<!--#echo encoding="none" var="CONTENT_LANGUAGE" -->"> +<!--#if expr="! $CONTENT_LANGUAGE" +--><!--#set var="CONTENT_LANGUAGE" value="en" +--><!--#endif +--><!--#if expr="! $CHARACTER_ENCODING" +--><!--#set var="CHARACTER_ENCODING" value="ISO-8859-1" +--><!--#endif +--><?xml version="1.0" encoding="<!--#echo var="CHARACTER_ENCODING" -->"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" lang="<!--#echo var="CONTENT_LANGUAGE" -->" xml:lang="<!--#echo var="CONTENT_LANGUAGE" -->"> <head> <title><!--#echo var="TITLE" --></title> -<link rev="made" href="mailto:<!--#echo encoding="none" var="SERVER_ADMIN" -->" /> -<style type="text/css"> -<!-- -body { color: #000000; background-color: #FFFFFF; } -a:link { color: #0000CC; } ---> -</style> +<link rev="made" href="mailto:<!--#echo encoding="url" var="SERVER_ADMIN" -->" /> +<style type="text/css"><!--/*--><![CDATA[/*><!--*/ + body { color: #000000; background-color: #FFFFFF; } + a:link { color: #0000CC; } + p, address {margin-left: 3em;} + span {font-size: smaller;} +/*]]>*/--></style> </head> <body> <h1><!--#echo encoding="none" var="TITLE" --></h1> -<dl> -<dd> +<p>
\ No newline at end of file |