summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/views/pages/404.php11
-rw-r--r--src/views/pages/http404.html.php1
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>');