mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
Add Charte static page (public + admin editing)
This commit is contained in:
@@ -50,6 +50,10 @@ $_thesisId = $_GET['id'] ?? null;
|
||||
<a href="/licence"
|
||||
<?= ($_navCurrent === 'licence') ? 'aria-current="page"' : '' ?>>Licences</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/charte"
|
||||
<?= ($_navCurrent === 'charte') ? 'aria-current="page"' : '' ?>>Charte</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/apropos"
|
||||
<?= ($_navCurrent === 'apropos') ? 'aria-current="page"' : '' ?>>À Propos</a>
|
||||
@@ -68,6 +72,10 @@ $_thesisId = $_GET['id'] ?? null;
|
||||
<a href="/licence"
|
||||
<?= ($_navCurrent === 'licence') ? 'aria-current="page"' : '' ?>>Licences</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/charte"
|
||||
<?= ($_navCurrent === 'charte') ? 'aria-current="page"' : '' ?>>Charte</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/apropos"
|
||||
<?= ($_navCurrent === 'apropos') ? 'aria-current="page"' : '' ?>>À Propos</a>
|
||||
|
||||
9
app/templates/public/charte.php
Normal file
9
app/templates/public/charte.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<main class="apropos-main" id="main-content">
|
||||
<div class="prose apropos-single">
|
||||
<?php if (!empty(trim($content))): ?>
|
||||
<?= $html ?>
|
||||
<?php else: ?>
|
||||
<p>Contenu à venir.</p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</main>
|
||||
Reference in New Issue
Block a user