summaryrefslogtreecommitdiff
path: root/src/views/pages/http404.html.php
blob: 730b0eed2c5576c91bced0a32a12f3e9b78ae59a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php global $VARS;
$t = $VARS['template'];

$routed = implode('/', $VARS['routed']);
$remainder = implode('/', $VARS['remainder']);
$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>');
$t->paragraph("But this file in it wasn't: ".
              '<tt>'.$full.'</tt>');
$t->footer();