Initial dev export (exclude uploads/runtime)
This commit is contained in:
12
views/site/404.php
Normal file
12
views/site/404.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
$pageTitle = $title ?? 'Not Found';
|
||||
ob_start();
|
||||
?>
|
||||
<section class="card">
|
||||
<div class="badge">404</div>
|
||||
<h1 style="margin-top:16px; font-size:28px;"><?= htmlspecialchars($title ?? 'Not Found', ENT_QUOTES, 'UTF-8') ?></h1>
|
||||
<p style="color:var(--muted);"><?= htmlspecialchars($message ?? 'Missing page', ENT_QUOTES, 'UTF-8') ?></p>
|
||||
</section>
|
||||
<?php
|
||||
$content = ob_get_clean();
|
||||
require __DIR__ . '/layout.php';
|
||||
Reference in New Issue
Block a user