Add link to calendar on schedule page
This commit is contained in:
parent
dc59e404b7
commit
86166f3d31
|
@ -8,7 +8,7 @@
|
||||||
</title>
|
</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="stylesheet" href="/css/hacker.css">
|
<link rel="stylesheet" href="/css/hacker.css">
|
||||||
<link rel="icon" type="image/png" href="https://tilderadio.org/logos/tilderadio-green.png">
|
<link rel="icon" type="image/png" href="https://tilderadio.org/logos/tilderadio-green.png"><?=isset($additional_head)?PHP_EOL." ".$additional_head.PHP_EOL:""?>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
$additional_head='<link rel="alternate" type="text/calendar" href="https://tilderadio.org/schedule/ics.php">';
|
||||||
include '../header.php';
|
include '../header.php';
|
||||||
include 'schedule.php';
|
include 'schedule.php';
|
||||||
?>
|
?>
|
||||||
|
@ -6,6 +7,7 @@ include 'schedule.php';
|
||||||
<h1><a href="https://tilderadio.org"><img style="width:75px;" src="../logos/tilderadio-green.png">tilderadio.org</a></h1>
|
<h1><a href="https://tilderadio.org"><img style="width:75px;" src="../logos/tilderadio-green.png">tilderadio.org</a></h1>
|
||||||
<h4>upcoming broadcasts</h4>
|
<h4>upcoming broadcasts</h4>
|
||||||
<p>all times in UTC. current time is <span id="utcdate"><?=formatdate("now")?></span>.</p>
|
<p>all times in UTC. current time is <span id="utcdate"><?=formatdate("now")?></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>
|
||||||
|
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
|
|
Loading…
Reference in New Issue