1
0
www.mikescher.com/www/pages/error_notfound.php

24 lines
651 B
PHP
Raw Normal View History

2018-01-03 17:28:08 +01:00
<?php
2020-01-16 10:50:18 +01:00
require_once (__DIR__ . '/../internals/website.php');
2018-01-03 17:28:08 +01:00
2020-01-16 10:50:18 +01:00
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
/** @var URLRoute $ROUTE */ global $ROUTE;
/** @var Website $SITE */ global $SITE;
2018-01-03 17:28:08 +01:00
?>
2020-01-16 10:50:18 +01:00
<?php
$message = isset($ROUTE->parameter['message']) ? $ROUTE->parameter['message'] : '';
2018-01-03 17:28:08 +01:00
2020-01-16 10:56:12 +01:00
$FRAME_OPTIONS->title = $message;
2020-01-16 10:50:18 +01:00
$FRAME_OPTIONS->canonical_url = null;
$FRAME_OPTIONS->activeHeader = null;
$FRAME_OPTIONS->contentCSSClasses []= 'content-fullheight';
?>
2018-01-03 17:28:08 +01:00
2020-01-16 10:50:18 +01:00
<div class="ev_master">
<div class="ev_code">404</div>
<?php if ($message !== ''): ?>
<div class="ev_msg"><?php echo $message; ?></div>
<?php endif; ?>
</div>