summaryrefslogtreecommitdiff
path: root/src/views/pages/http404.html.php
blob: ffdeb07d584dff1f241fefbabee2381ad719ce51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?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->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();