Link the live show's icon and a Broadcasting Live link to live.php
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f659b09a0b
commit
f127f73a9b
2 files changed
+7
-3
No files matched your search
@@ -112,11 +112,15 @@ if ($show) {
|
||||
<?php if ($show): ?>
|
||||
<div class="show-heading">
|
||||
<?php if ($icon !== ''): ?>
|
||||
<?php if ($show['started_at']): ?>
|
||||
<a href="live.php" class="image left"><img src="<?= htmlspecialchars($icon, ENT_QUOTES, 'UTF-8') ?>" alt="<?= htmlspecialchars($show['name'], ENT_QUOTES, 'UTF-8') ?> logo" /></a>
|
||||
<?php else: ?>
|
||||
<span class="image left"><img src="<?= htmlspecialchars($icon, ENT_QUOTES, 'UTF-8') ?>" alt="<?= htmlspecialchars($show['name'], ENT_QUOTES, 'UTF-8') ?> logo" /></span>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<h3><?= htmlspecialchars($show['name'], ENT_QUOTES, 'UTF-8') ?></h3>
|
||||
<?php if ($show['started_at']): ?>
|
||||
<p><strong>Live now</strong></p>
|
||||
<p><strong><a href="live.php">Broadcasting Live</a></strong></p>
|
||||
<?php elseif ($when): ?>
|
||||
<p><strong><?= implode('<br>', array_map(fn($line) => htmlspecialchars($line, ENT_QUOTES, 'UTF-8'), $when)) ?></strong></p>
|
||||
<?php endif; ?>
|
||||
|
||||
Reference in new issue
Block a user