mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-05-06 11:09:18 +02:00
Rebrand: replace PostErg with XAMXAM in admin header link, default title, and OG site_name
This commit is contained in:
1
TODO.md
1
TODO.md
@@ -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] 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] Rebrand: replace "PostErg" with "XAMXAM" in admin header link, default `<title>`, and OG site_name fallback
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
$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($metaDescription)): ?>
|
||||
<meta name="description" content="<?= htmlspecialchars($metaDescription) ?>">
|
||||
@@ -25,7 +25,7 @@
|
||||
$ogUrl = $ogTags['url'] ?? '';
|
||||
$ogImage = $ogTags['image'] ?? '';
|
||||
$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:site_name" content="<?= htmlspecialchars($ogSiteName) ?>">
|
||||
|
||||
@@ -13,7 +13,7 @@ $_thesisId = $_GET['id'] ?? null;
|
||||
|
||||
<nav aria-label="Navigation admin">
|
||||
<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>
|
||||
<ul>
|
||||
<li><a href="/admin/" <?= $_currentPage === 'index.php' ? 'aria-current="page"' : '' ?>>Liste des TFE</a></li>
|
||||
|
||||
Reference in New Issue
Block a user