shithub: werc

Download patch

ref: 0beb1cae0cb604d29154f5c4d32de9fb0358d718
parent: 9dedfcea0cfd910cf5b020a8045a49a2052112d4
author: uriel <uriel@suckless.org>
date: Thu Sep 4 21:32:10 EDT 2008

New default 404.tpl that is not cat-v.org specific

--- a/inc/404.tpl
+++ b/inc/404.tpl
@@ -1,49 +1,7 @@
-<h1>The page requested doesn't exist</h1>
+<!-- To have a custom 404 page copy this template to your site's (or masterSite) _inc director and edit it as you like -->
 
-<br />
-Try searching in cat-v.org:
+<h1>The page requested for <i>
+% echo ''''$"title''''
+</i> doesn't exist</h1>
 
-<div class="spam">
-<!-- SiteSearch Google -->
-<form method="get" action="http://www.google.com/custom" target="_top">
-<table border="0" bgcolor="#ffffff">
-<tr><td nowrap="nowrap" valign="top" align="left" height="32">
-
-</td>
-<td nowrap="nowrap">
-<input type="hidden" name="domains" value="harmful.cat-v.org;cat-v.org"></input>
-<label for="sbi" style="display: none">Enter your search terms</label>
-% echo '<input type="text" name="q" size="32" maxlength="255" value="'$"title'" id="sbi"></input>'
-<label for="sbb" style="display: none">Submit search form</label>
-<input type="submit" name="sa" value="Google Search" id="sbb"></input>
-</td></tr>
-<tr>
-<td>&nbsp;</td>
-<td nowrap="nowrap">
-<table>
-<tr>
-<td>
-<input type="radio" name="sitesearch" value="" id="ss0"></input>
-<label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label></td>
-<td>
-<input type="radio" name="sitesearch" value="harmful.cat-v.org" checked id="ss1"></input>
-<label for="ss1" title="Search harmful.cat-v.org"><font size="-1" color="#000000">harmful.cat-v.org</font></label></td>
-</tr>
-<tr>
-<td>
-<input type="radio" name="sitesearch" value="cat-v.org" id="ss2"></input>
-<label for="ss2" title="Search cat-v.org"><font size="-1" color="#000000">cat-v.org</font></label></td>
-<td></td>
-</tr>
-</table>
-<input type="hidden" name="client" value="pub-2060328396151526"></input>
-<input type="hidden" name="forid" value="1"></input>
-<input type="hidden" name="channel" value="6944454412"></input>
-<input type="hidden" name="ie" value="UTF-8"></input>
-<input type="hidden" name="oe" value="UTF-8"></input>
-<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:48;LW:48;L:http://plan9.bell-labs.com/plan9/img/9logo.jpg;S:http://harmful.cat-v.org;LP:1;FORID:1"></input>
-<input type="hidden" name="hl" value="en"></input>
-</td></tr></table>
-</form>
-<!-- SiteSearch Google -->
-</div>
+% # TODO: Use http://www.google.com/support/webmasters/bin/answer.py?answer=100044&hl=en by default?