Mukund Sivaraman | 14 Jul 2008 10:53
Gravatar

Updating HTML error pages

This patch is against master. It updates the error pages to valid
XHTML format, and also updates their presentation somewhat. I have
checked it with the W3C validator. It'd be nice if someone can review
this patch for any screwups.
Mukund Sivaraman | 14 Jul 2008 10:53
Gravatar

[PATCH] Update error pages to valid XHTML format

Also change some text and how the messages are displayed,
to look better.
---
 doc/debug.html   |   94 +++++++++++++++++++++++++++++------------------------
 doc/default.html |   28 ++++++++++++---
 doc/stats.html   |   73 ++++++++++++++++++++++++++++++++++++-----
 3 files changed, 137 insertions(+), 58 deletions(-)

diff --git a/doc/debug.html b/doc/debug.html
index c62ca43..1116c00 100644
--- a/doc/debug.html
+++ b/doc/debug.html
 <at>  <at>  -1,48 +1,56  <at>  <at> 
-<html>
+<?xml version="1.0" encoding="UTF-8" ?>
+<!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="en">
+
 <head>
-<title>
-Request failed - {cause}
-</title>
+<title>{cause}</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 </head>
+
 <body>
-<center>{cause}</center>
-<blockquote>
(Continue reading)


Gmane