edit POPULAR_TAGS to IMPORTANT_TAGS

This commit is contained in:
2025-04-10 13:40:25 +04:00
parent ed9027a237
commit 8245bfe54b
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -36,8 +36,8 @@
// Tag pour les shorts
// define('TAG_SHORT', 'short');
// Hashtags populaires à afficher dans la sidebar, footer et menu mobile
// define('POPULAR_TAGS', [
// Hashtags importants à afficher dans la sidebar, footer et menu mobile
// define('IMPORTANT_TAGS', [
// 'Colonialisme',
// 'La Réunion',
// 'Panafricanisme',
+2 -2
View File
@@ -97,8 +97,8 @@ if (!defined('LIVE_ACCOUNT_NAME')) define('LIVE_ACCOUNT_NAME', 'admin');
if (!defined('TAG_SHORT')) define('TAG_SHORT', 'short');
// Hashtags populaires à afficher dans la sidebar, footer et menu mobile
if (!defined('POPULAR_TAGS')) {
define('POPULAR_TAGS', [
if (!defined('IMPORTANT_TAGS')) {
define('IMPORTANT_TAGS', [
'Colonialisme',
'La Réunion',
'Panafricanisme',
+2 -2
View File
@@ -32,8 +32,8 @@
<h3 class="footer-title">Hashtags</h3>
<ul class="footer-links">
<?php
if (defined('POPULAR_TAGS') && !empty(POPULAR_TAGS)):
foreach (POPULAR_TAGS as $tag):
if (defined('IMPORTANT_TAGS') && !empty(IMPORTANT_TAGS)):
foreach (IMPORTANT_TAGS as $tag):
$encodedTag = urlencode('#' . $tag);
?>
<li><a href="recherche.php?q=<?php echo $encodedTag; ?>"><?php echo htmlspecialchars($tag); ?></a></li>
+2 -2
View File
@@ -58,8 +58,8 @@
<h3 class="mobile-section-title">Hashtags populaires</h3>
<?php
if (defined('POPULAR_TAGS') && !empty(POPULAR_TAGS)):
foreach (POPULAR_TAGS as $tag):
if (defined('IMPORTANT_TAGS') && !empty(IMPORTANT_TAGS)):
foreach (IMPORTANT_TAGS as $tag):
$encodedTag = urlencode('#' . $tag);
?>
<a href="recherche.php?q=<?php echo $encodedTag; ?>" class="nav-item">
+2 -2
View File
@@ -55,8 +55,8 @@
</div>
<?php
if (defined('POPULAR_TAGS') && !empty(POPULAR_TAGS)):
foreach (POPULAR_TAGS as $tag):
if (defined('IMPORTANT_TAGS') && !empty(IMPORTANT_TAGS)):
foreach (IMPORTANT_TAGS as $tag):
$encodedTag = urlencode('#' . $tag);
?>
<a href="recherche.php?q=<?php echo $encodedTag; ?>" class="tag-item" data-title="<?php echo htmlspecialchars($tag); ?>">