From bca1b20b4fc6dca04368f8c03b5e1faeec5af7d3 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 4 Sep 2011 20:28:08 -0400 Subject: Migrate 404 page from old router to new view engine. --- src/views/pages/404.php | 11 ----------- src/views/pages/http404.html.php | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 src/views/pages/404.php (limited to 'src/views/pages') diff --git a/src/views/pages/404.php b/src/views/pages/404.php deleted file mode 100644 index f15d39e..0000000 --- a/src/views/pages/404.php +++ /dev/null @@ -1,11 +0,0 @@ -status('404 Not Found'); -$t = $mm->template(); - -$mm->header('Page Not Found'); -$t->paragraph("Awe man, the page you requested wasn't found."); -$mm->footer(); diff --git a/src/views/pages/http404.html.php b/src/views/pages/http404.html.php index ffdeb07..730b0ee 100644 --- a/src/views/pages/http404.html.php +++ b/src/views/pages/http404.html.php @@ -7,6 +7,7 @@ $full = $routed.'/'.$remainder; $t->status('404 Not Found'); $t->header('Page Not Found'); +$t->tag('h1',array(),"404: Not Found"); $t->paragraph("Awe man, the page you requested wasn't found."); $t->paragraph('This folder was found: '. ''.$t->link($t->url($routed), $routed.'/', true).''); -- cgit v1.2.3-54-g00ecf