Spruce up error page footers a bit
This commit is contained in:
		
							parent
							
								
									4caa397ec5
								
							
						
					
					
						commit
						74f5c3e417
					
				@ -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>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -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>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -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>
 | 
				
			||||||
 | 
				
			|||||||
@ -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);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user