makes hashtags customizable
This commit is contained in:
+10
-4
@@ -31,10 +31,16 @@
|
||||
<div class="footer-column">
|
||||
<h3 class="footer-title">Hashtags</h3>
|
||||
<ul class="footer-links">
|
||||
<li><a href="recherche.php?q=%23Colonialisme">Colonialisme</a></li>
|
||||
<li><a href="recherche.php?q=%23La%20R%C3%A9union">La Réunion</a></li>
|
||||
<li><a href="recherche.php?q=%23Panafricanisme">Panafricanisme</a></li>
|
||||
<li><a href="recherche.php?q=%23Conf%C3%A9rence">Conférence</a></li>
|
||||
<?php
|
||||
if (defined('POPULAR_TAGS') && !empty(POPULAR_TAGS)):
|
||||
foreach (POPULAR_TAGS as $tag):
|
||||
$encodedTag = urlencode('#' . $tag);
|
||||
?>
|
||||
<li><a href="recherche.php?q=<?php echo $encodedTag; ?>"><?php echo htmlspecialchars($tag); ?></a></li>
|
||||
<?php
|
||||
endforeach;
|
||||
endif;
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user