Rebrand: replace PostErg with XAMXAM in admin header link, default title, and OG site_name

This commit is contained in:
Pontoporeia
2026-04-08 18:04:35 +02:00
parent 18045af243
commit a333a5fdad
3 changed files with 4 additions and 3 deletions

View File

@@ -5,3 +5,4 @@
- [x] system.css: retheme to site light palette — remove all `--sys-bg/border/text` dark tokens from variables.css; replace with standard `--bg-*`, `--border-*`, `--text-*` tokens; remap `--sys-syntax-*` to light-appropriate colours; remove dark terminal aesthetic - [x] system.css: retheme to site light palette — remove all `--sys-bg/border/text` dark tokens from variables.css; replace with standard `--bg-*`, `--border-*`, `--text-*` tokens; remap `--sys-syntax-*` to light-appropriate colours; remove dark terminal aesthetic
- [x] SystemController: PHP-FPM status check — dynamically probe `phpX.Y-fpm` unit derived from running PHP version before static fallback list; add `php8.4-fpm` to cover current production PHP 8.4 - [x] SystemController: PHP-FPM status check — dynamically probe `phpX.Y-fpm` unit derived from running PHP version before static fallback list; add `php8.4-fpm` to cover current production PHP 8.4
- [x] Favicon: replace SVG placeholder with full PNG/ICO favicon set from `public/assets/favicon/` in `templates/head.php` - [x] Favicon: replace SVG placeholder with full PNG/ICO favicon set from `public/assets/favicon/` in `templates/head.php`
- [x] Rebrand: replace "PostErg" with "XAMXAM" in admin header link, default `<title>`, and OG site_name fallback

View File

@@ -10,7 +10,7 @@
$extraCss = array_merge(['/assets/css/admin.css'], $extraCss ?? []); $extraCss = array_merge(['/assets/css/admin.css'], $extraCss ?? []);
} }
?> ?>
<title><?= htmlspecialchars($pageTitle ?? 'Posterg') ?></title> <title><?= htmlspecialchars($pageTitle ?? 'XAMXAM') ?></title>
<?php if (empty($isAdmin)): ?> <?php if (empty($isAdmin)): ?>
<?php if (!empty($metaDescription)): ?> <?php if (!empty($metaDescription)): ?>
<meta name="description" content="<?= htmlspecialchars($metaDescription) ?>"> <meta name="description" content="<?= htmlspecialchars($metaDescription) ?>">
@@ -25,7 +25,7 @@
$ogUrl = $ogTags['url'] ?? ''; $ogUrl = $ogTags['url'] ?? '';
$ogImage = $ogTags['image'] ?? ''; $ogImage = $ogTags['image'] ?? '';
$ogImageAlt = $ogTags['image_alt'] ?? $ogTitle; $ogImageAlt = $ogTags['image_alt'] ?? $ogTitle;
$ogSiteName = $ogTags['site_name'] ?? 'Posterg ERG'; $ogSiteName = $ogTags['site_name'] ?? 'XAMXAM ERG';
?> ?>
<meta property="og:type" content="<?= htmlspecialchars($ogType) ?>"> <meta property="og:type" content="<?= htmlspecialchars($ogType) ?>">
<meta property="og:site_name" content="<?= htmlspecialchars($ogSiteName) ?>"> <meta property="og:site_name" content="<?= htmlspecialchars($ogSiteName) ?>">

View File

@@ -13,7 +13,7 @@ $_thesisId = $_GET['id'] ?? null;
<nav aria-label="Navigation admin"> <nav aria-label="Navigation admin">
<a href="/" target="_blank" rel="noopener noreferrer"> <a href="/" target="_blank" rel="noopener noreferrer">
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 256 256"><path d="M208,72H128V32a8,8,0,0,0-13.66-5.66l-96,96a8,8,0,0,0,0,11.32l96,96A8,8,0,0,0,128,224V184h80a16,16,0,0,0,16-16V88A16,16,0,0,0,208,72Zm0,96H120a8,8,0,0,0-8,8v28.69L35.31,128,112,51.31V80a8,8,0,0,0,8,8h88Z"></path></svg>Posterg<span class="sr-only"> (site public, nouvel onglet)</span> <svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 256 256"><path d="M208,72H128V32a8,8,0,0,0-13.66-5.66l-96,96a8,8,0,0,0,0,11.32l96,96A8,8,0,0,0,128,224V184h80a16,16,0,0,0,16-16V88A16,16,0,0,0,208,72Zm0,96H120a8,8,0,0,0-8,8v28.69L35.31,128,112,51.31V80a8,8,0,0,0,8,8h88Z"></path></svg>XAMXAM<span class="sr-only"> (site public, nouvel onglet)</span>
</a> </a>
<ul> <ul>
<li><a href="/admin/" <?= $_currentPage === 'index.php' ? 'aria-current="page"' : '' ?>>Liste des TFE</a></li> <li><a href="/admin/" <?= $_currentPage === 'index.php' ? 'aria-current="page"' : '' ?>>Liste des TFE</a></li>