summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMukund Sivaraman <muks@banu.com>2008-07-14 15:31:14 +0530
committerMukund Sivaraman <muks@banu.com>2008-07-14 15:31:14 +0530
commit7f12f71f94fd0f29a00f0e4d2b2cd09247cb0908 (patch)
treec1f552e80b95bee946d6b615cde337a772b2bbff /doc
parent8b265582542d288fb5ff1bbda9b4d3e967c171dd (diff)
downloadtinyproxy-7f12f71f94fd0f29a00f0e4d2b2cd09247cb0908.tar.gz
tinyproxy-7f12f71f94fd0f29a00f0e4d2b2cd09247cb0908.zip
Add error number as a template parameter for error pages
Diffstat (limited to '')
-rw-r--r--doc/debug.html6
-rw-r--r--doc/default.html6
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/debug.html b/doc/debug.html
index 72d89c9..6ee3367 100644
--- a/doc/debug.html
+++ b/doc/debug.html
@@ -4,15 +4,15 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<title>{cause}</title>
+<title>{errno} {cause}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
-<h1>HTTP proxy error</h1>
+<h1>{cause}</h1>
-<p>The following error has occured at the HTTP proxy: {detail}</p>
+<p>{detail}</p>
<p>Here are the error variables:</p>
diff --git a/doc/default.html b/doc/default.html
index 0245254..67354b7 100644
--- a/doc/default.html
+++ b/doc/default.html
@@ -4,15 +4,15 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<title>{cause}</title>
+<title>{errno} {cause}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
-<h1>HTTP proxy error</h1>
+<h1>{cause}</h1>
-<p>The following error has occured at the HTTP proxy: {detail}</p>
+<p>{detail}</p>
<hr />