Channel Logos

This commit is contained in:
Gogs
2026-07-08 17:31:48 +02:00
parent 6f93ae60c0
commit 9831469bd0
135 changed files with 3387 additions and 26 deletions
+9 -3
View File
@@ -1,6 +1,13 @@
<?php
require_once __DIR__ . '/../src/Services/LogoService.php';
$logoUrl = LogoService::getLogoUrl($channelId);
?>
<section class="channel">
<div class="channel-header">
<?= htmlspecialchars($channel['name']) ?>
<div class="channel-header channel-header-with-logo">
<img class="mini-channel-logo" src="<?= htmlspecialchars($logoUrl) ?>" alt="">
<span><?= htmlspecialchars($channel['name']) ?></span>
</div>
<?php if (!$programmes): ?>
@@ -13,4 +20,3 @@
<?php endforeach; ?>
<?php endif; ?>
</section>