svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ UnregisteredViewException.tpl.php
[email protected] (Michael Gauthier)
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
gauthierm Tue, 13 Jul 2010 15:31:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301239
Log:
Start of a PEAR2-specific 404 page.
Changed paths:
A + pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/UnregisteredViewException.tpl.php
(from pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/html/UnregisteredViewException.tpl.php:r301202)
Copied: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/UnregisteredViewException.tpl.php (from rev 301202, pear2/sandbox/SimpleChannelFrontend/trunk/www/templates/html/UnregisteredViewException.tpl.php)
===================================================================
--- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/UnregisteredViewException.tpl.php (rev 0)
+++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/UnregisteredViewException.tpl.php 2010-07-13 15:31:47 UTC (rev 301239)
@@ -0,0 +1,12 @@
+<?php
+
+// Send 404 header
+header('HTTP/1.0 404 Not Found');
+
+// Set the page title
+$parent->context->page_title = 'Page Not Found - '
+ . PEAR2\SimpleChannelFrontend\Main::$title;
+
+?>
+<h1>WHOAH Nelly.</h1>
+<p>That view doesn't exist!</p>