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">
<footer class="text-center"> <a href="https://tildegit.org/tilderadio/site">page source</a> | <a href="/dmca.php">DMCA</a>
<a href="https://tildegit.org/tilderadio/site">page source</a> | <a href="/dmca.php">DMCA</a> </footer>
</footer>
<script src="/js/jquery.min.js"></script> <script src="/js/jquery.min.js"></script>
<script src="/js/bootstrap.min.js"></script> <script src="/js/bootstrap.min.js"></script>
</body> </body>
</html> </html>

View File

@ -19,9 +19,9 @@
<div class="navbar-header"> <div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <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="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> </button>
</div> </div>
<div id="navbar" class="navbar-collapse collapse"> <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> <hr>
<h4>how to listen</h4> <h4>how to listen</h4>
<p><em><?php include 'schedule/nextdj.php'; ?></em></p> <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> <iframe src="https://radio.tildeverse.org/public/tilderadio/embed" style="width: 100%; min-height: 160px; border: 0;"></iframe>
</p>
<p> <p>
Or use the following links in your media player of choice: 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> </p>
<ul>
<li>https://radio.tildeverse.org/radio/8000/radio.ogg</li>
<li>https://radio.tildeverse.org/radio/8000/radio.mp3</li>
</ul>
<hr> <hr>
<?php include 'footer.php'; ?> <?php include 'footer.php'; ?>

View File

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

View File

@ -4,8 +4,7 @@ include '../header.php';
include 'schedule.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> <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>
<h4>upcoming broadcasts</h4>
<p>all times in UTC. current time is <span id="utcdate"><?=formatdate("now")?></span> <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> <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> <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>