Spruce up error page footers a bit

This commit is contained in:
Mukund Sivaraman 2008-07-14 15:02:41 +05:30
parent 4caa397ec5
commit 74f5c3e417
4 changed files with 9 additions and 4 deletions

View File

@ -49,7 +49,7 @@
<hr /> <hr />
<p><em>Generated by {package} ({version})</em></p> <p><em>Generated by <a href="{website}">{package}</a> version {version}.</em></p>
</body> </body>

View File

@ -16,7 +16,7 @@
<hr /> <hr />
<p><em>Generated by {package} ({version})</em></p> <p><em>Generated by <a href="{website}">{package}</a> version {version}.</em></p>
</body> </body>

View File

@ -4,7 +4,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head> <head>
<title>{package} {version} run-time statistics</title> <title>{package} version {version} run-time statistics</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css" media="screen"> <style type="text/css" media="screen">
@ -24,7 +24,7 @@ th, td
<body> <body>
<h1>{package} {version} run-time statistics</h1> <h1>{package} version {version} run-time statistics</h1>
<table> <table>
@ -60,6 +60,10 @@ th, td
</table> </table>
<hr />
<p><em>Generated by <a href="{website}">{package}</a> version {version}.</em></p>
</body> </body>
</html> </html>

View File

@ -260,6 +260,7 @@ add_standard_vars(struct conn_s *connptr)
ADD_VAR_RET("clienthost", connptr->client_string_addr); ADD_VAR_RET("clienthost", connptr->client_string_addr);
ADD_VAR_RET("version", VERSION); ADD_VAR_RET("version", VERSION);
ADD_VAR_RET("package", PACKAGE); ADD_VAR_RET("package", PACKAGE);
ADD_VAR_RET("website", "http://tinyproxy.banu.com/");
ADD_VAR_RET("date", timebuf); ADD_VAR_RET("date", timebuf);
return (0); return (0);
} }