Merge pull request 'Validate html' (#23) from forero/tilderadio-site:master into master

Reviewed-on: tilderadio/site#23
This commit is contained in:
Ben Harris 2021-09-01 18:36:33 +00:00
commit 11f25e9707
5 changed files with 19 additions and 20 deletions

View File

@ -1,10 +1,9 @@
</div>
<footer class="text-center">
<a href="https://tildegit.org/tilderadio/site">page source</a> | <a href="/dmca.php">DMCA</a>
</footer>
<footer class="text-center">
<a href="https://tildegit.org/tilderadio/site">page source</a> | <a href="/dmca.php">DMCA</a>
</footer>
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
</body>
<script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
</body>
</html>
</html>

View File

@ -19,9 +19,9 @@
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"> </span>
<span class="icon-bar"> </span>
<span class="icon-bar"> </span>
</button>
</div>
<div id="navbar" class="navbar-collapse collapse">

View File

@ -16,18 +16,18 @@ TildeRadio is Internet radio streamed by / for users of the <a href="https://til
<hr>
<h4>how to listen</h4>
<p><em><?php include 'schedule/nextdj.php'; ?></em></p>
<p>
<iframe src="https://radio.tildeverse.org/public/tilderadio/embed" frameborder="0" allowtransparency="true" style="width: 100%; min-height: 160px; border: 0;"></iframe>
</p>
<iframe src="https://radio.tildeverse.org/public/tilderadio/embed" style="width: 100%; min-height: 160px; border: 0;"></iframe>
<p>
Or use the following links in your media player of choice:
<ul>
<li>https://radio.tildeverse.org/radio/8000/radio.ogg</li>
<li>https://radio.tildeverse.org/radio/8000/radio.mp3</li>
</ul>
</p>
<ul>
<li>https://radio.tildeverse.org/radio/8000/radio.ogg</li>
<li>https://radio.tildeverse.org/radio/8000/radio.mp3</li>
</ul>
<hr>
<?php include 'footer.php'; ?>

View File

@ -1,4 +1,5 @@
<section class="calendar-wrapper">
<h4>upcoming broadcasts</h4>
<?php
function check_in_range($start_date, $end_date, $checkdate) {
$start_ts = strtotime($start_date);

View File

@ -4,8 +4,7 @@ include '../header.php';
include 'schedule.php';
?>
<h1><a href="https://tilderadio.org"><img style="width:72px;margin-top:-30px;margin-right:5px;" src="../logos/tilderadio.png">tilderadio.org</a></h1>
<h4>upcoming broadcasts</h4>
<h1><a href="https://tilderadio.org"><img style="width:72px;margin-top:-30px;margin-right:5px;" src="../logos/tilderadio.png" alt="tilderadio logo">tilderadio.org</a></h1>
<p>all times in UTC. current time is <span id="utcdate"><?=formatdate("now")?></span>
<span class="pointer-label-wrapper">(</span><span class="pointer-label">&mdash;</span><span class="pointer-label-wrapper">)</span>.</p>
<p>this schedule is also available in <a href="https://icalendar.org/validator.html?url=https://tilderadio.org/schedule/ics.php">iCalendar format</a>. point your calendar client at <code>https://tilderadio.org/schedule/ics.php</code>.</p>