feat: clean URLs pour catégories et pagination

This commit is contained in:
Cedric Abonnel
2026-05-12 10:07:26 +02:00
parent 70fd55be6f
commit 7e5280abcd
5 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -76,7 +76,7 @@
$isPriv = in_array($catName, $_layoutPrivateCats, true); ?>
<li class="nav-item">
<a class="nav-link nav-cat <?= $_layoutCurrentCat === $catName ? 'active' : '' ?>"
href="/?cat=<?= rawurlencode($catName) ?>">
href="/categorie/<?= rawurlencode($catName) ?>">
<?= htmlspecialchars($catName) ?>
<?php if ($isPriv): ?><span class="ms-1" style="font-size:.65em;opacity:.6">🔒</span><?php endif; ?>
</a>