shithub: werc

Download patch

ref: 877b014a25fbb5a0290d14925a87d987b92a3dbe
parent: 733c0f37f2989b1941db63895b7f64c3bb66cb1a
author: uriel <uriel@engel.se.cat-v.org>
date: Tue Oct 21 12:31:22 EDT 2008

Split $body into two vars, this allows to more easily retrive the intra-site path for the request as req_path, then use this to fix a bug in 404.tpl

--- a/lib/404.tpl
+++ b/lib/404.tpl
@@ -1,7 +1,7 @@
 <!-- To have a custom 404 page copy this template to your site's (or masterSite) _inc director and edit it as you like -->
 
 <h1>The page requested for <i>
-% echo ''''$"title''''
+% echo ''''$"req_path''''
 </i> doesn't exist</h1>
 
 % # TODO: Use http://www.google.com/support/webmasters/bin/answer.py?answer=100044&hl=en by default?