edit POPULAR_TAGS to IMPORTANT_TAGS
This commit is contained in:
@@ -36,8 +36,8 @@
|
|||||||
// Tag pour les shorts
|
// Tag pour les shorts
|
||||||
// define('TAG_SHORT', 'short');
|
// define('TAG_SHORT', 'short');
|
||||||
|
|
||||||
// Hashtags populaires à afficher dans la sidebar, footer et menu mobile
|
// Hashtags importants à afficher dans la sidebar, footer et menu mobile
|
||||||
// define('POPULAR_TAGS', [
|
// define('IMPORTANT_TAGS', [
|
||||||
// 'Colonialisme',
|
// 'Colonialisme',
|
||||||
// 'La Réunion',
|
// 'La Réunion',
|
||||||
// 'Panafricanisme',
|
// 'Panafricanisme',
|
||||||
|
|||||||
+2
-2
@@ -97,8 +97,8 @@ if (!defined('LIVE_ACCOUNT_NAME')) define('LIVE_ACCOUNT_NAME', 'admin');
|
|||||||
if (!defined('TAG_SHORT')) define('TAG_SHORT', 'short');
|
if (!defined('TAG_SHORT')) define('TAG_SHORT', 'short');
|
||||||
|
|
||||||
// Hashtags populaires à afficher dans la sidebar, footer et menu mobile
|
// Hashtags populaires à afficher dans la sidebar, footer et menu mobile
|
||||||
if (!defined('POPULAR_TAGS')) {
|
if (!defined('IMPORTANT_TAGS')) {
|
||||||
define('POPULAR_TAGS', [
|
define('IMPORTANT_TAGS', [
|
||||||
'Colonialisme',
|
'Colonialisme',
|
||||||
'La Réunion',
|
'La Réunion',
|
||||||
'Panafricanisme',
|
'Panafricanisme',
|
||||||
|
|||||||
+2
-2
@@ -32,8 +32,8 @@
|
|||||||
<h3 class="footer-title">Hashtags</h3>
|
<h3 class="footer-title">Hashtags</h3>
|
||||||
<ul class="footer-links">
|
<ul class="footer-links">
|
||||||
<?php
|
<?php
|
||||||
if (defined('POPULAR_TAGS') && !empty(POPULAR_TAGS)):
|
if (defined('IMPORTANT_TAGS') && !empty(IMPORTANT_TAGS)):
|
||||||
foreach (POPULAR_TAGS as $tag):
|
foreach (IMPORTANT_TAGS as $tag):
|
||||||
$encodedTag = urlencode('#' . $tag);
|
$encodedTag = urlencode('#' . $tag);
|
||||||
?>
|
?>
|
||||||
<li><a href="recherche.php?q=<?php echo $encodedTag; ?>"><?php echo htmlspecialchars($tag); ?></a></li>
|
<li><a href="recherche.php?q=<?php echo $encodedTag; ?>"><?php echo htmlspecialchars($tag); ?></a></li>
|
||||||
|
|||||||
@@ -58,8 +58,8 @@
|
|||||||
|
|
||||||
<h3 class="mobile-section-title">Hashtags populaires</h3>
|
<h3 class="mobile-section-title">Hashtags populaires</h3>
|
||||||
<?php
|
<?php
|
||||||
if (defined('POPULAR_TAGS') && !empty(POPULAR_TAGS)):
|
if (defined('IMPORTANT_TAGS') && !empty(IMPORTANT_TAGS)):
|
||||||
foreach (POPULAR_TAGS as $tag):
|
foreach (IMPORTANT_TAGS as $tag):
|
||||||
$encodedTag = urlencode('#' . $tag);
|
$encodedTag = urlencode('#' . $tag);
|
||||||
?>
|
?>
|
||||||
<a href="recherche.php?q=<?php echo $encodedTag; ?>" class="nav-item">
|
<a href="recherche.php?q=<?php echo $encodedTag; ?>" class="nav-item">
|
||||||
|
|||||||
@@ -55,8 +55,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (defined('POPULAR_TAGS') && !empty(POPULAR_TAGS)):
|
if (defined('IMPORTANT_TAGS') && !empty(IMPORTANT_TAGS)):
|
||||||
foreach (POPULAR_TAGS as $tag):
|
foreach (IMPORTANT_TAGS as $tag):
|
||||||
$encodedTag = urlencode('#' . $tag);
|
$encodedTag = urlencode('#' . $tag);
|
||||||
?>
|
?>
|
||||||
<a href="recherche.php?q=<?php echo $encodedTag; ?>" class="tag-item" data-title="<?php echo htmlspecialchars($tag); ?>">
|
<a href="recherche.php?q=<?php echo $encodedTag; ?>" class="tag-item" data-title="<?php echo htmlspecialchars($tag); ?>">
|
||||||
|
|||||||
Reference in New Issue
Block a user