diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-04 20:28:08 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-09-04 20:28:08 -0400 |
commit | bca1b20b4fc6dca04368f8c03b5e1faeec5af7d3 (patch) | |
tree | 110871205c14d671ad517bccf193f21affa3fa6b /src | |
parent | e74b020e40a3b9abc505dd9956d12b10560245d9 (diff) |
Migrate 404 page from old router to new view engine.
Diffstat (limited to 'src')
-rw-r--r-- | src/views/pages/404.php | 11 | ||||
-rw-r--r-- | src/views/pages/http404.html.php | 1 |
2 files changed, 1 insertions, 11 deletions
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 @@ -<?php global $mm; -/** - * This is the global 404 page for MessageManager, top-level views - * should generally provide a more specific one for their sub-directories - */ -$mm->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: '. '<tt>'.$t->link($t->url($routed), $routed.'/', true).'</tt>'); |