mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
12 lines
574 B
PHP
12 lines
574 B
PHP
<?php
|
||
// Admin head: builds on the shared public head.
|
||
// Sets admin defaults then delegates to public/head.php for the full <head> block.
|
||
$pageTitle = isset($pageTitle) ? $pageTitle . ' – Admin' : 'Admin';
|
||
$extraCss = array_merge(['/assets/css/admin.css'], $extraCss ?? []);
|
||
$_adminHead = true; // flag so public/head.php knows to skip OG/meta
|
||
?>
|
||
<?php include APP_ROOT . '/templates/public/head.php'; ?>
|
||
<body class="admin-body">
|
||
<a href="#main-content" class="skip-link">Aller au contenu principal</a>
|
||
<?php include APP_ROOT . '/templates/admin/nav.php'; ?>
|