add links to search

This commit is contained in:
2025-04-10 13:10:24 +04:00
parent d598190655
commit 500fedbaca
7 changed files with 260 additions and 38 deletions
+1 -1
View File
@@ -298,7 +298,7 @@ if (empty($videoData) || isset($videoData['error'])) {
<?php if (!empty($video['tags'])): ?>
<div class="video-tags">
<?php foreach ($video['tags'] as $tag): ?>
<a href="search.php?q=<?php echo urlencode($tag); ?>" class="tag">#<?php echo htmlspecialchars($tag); ?></a>
<a href="recherche.php?q=<?php echo urlencode('#' . $tag); ?>" class="tag">#<?php echo htmlspecialchars($tag); ?></a>
<?php endforeach; ?>
</div>
<?php endif; ?>