mémorisation catégorie par cookie, URLs propres /categorie/
This commit is contained in:
@@ -113,15 +113,14 @@ if (!empty($_tagCats)):
|
||||
: round(0.8 + ($_catCount - $_minCount) / ($_maxCount - $_minCount) * 0.9, 2);
|
||||
$_active = ($filterCat === $_catName);
|
||||
?>
|
||||
<a href="/?cat=<?= rawurlencode($_catName) ?>"
|
||||
class="tag-cloud-item<?= $_active ? ' active' : '' ?>"
|
||||
style="font-size:<?= $_size ?>em">
|
||||
<a href="/categorie/<?= rawurlencode($_catName) ?>"
|
||||
class="tag-cloud-item<?= $_active ? ' active' : '' ?>">
|
||||
<?= htmlspecialchars($_catName) ?>
|
||||
<sup class="tag-count"><?= $_catCount ?></sup>
|
||||
<span class="tag-count"><?= $_catCount ?></span>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($filterCat !== ''): ?>
|
||||
<a href="/" class="tag-cloud-reset">× tout afficher</a>
|
||||
<a href="/?cat=" class="tag-cloud-reset">× tout afficher</a>
|
||||
<?php endif; ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in New Issue
Block a user