Browse Source

Add link to calendar on schedule page

pull/10/head
Robert Miles 12 months ago
parent
commit
86166f3d31
  1. 2
      header.php
  2. 2
      schedule/index.php

2
header.php

@ -8,7 +8,7 @@
</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<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>
<body>

2
schedule/index.php

@ -1,4 +1,5 @@
<?php
$additional_head='<link rel="alternate" type="text/calendar" href="https://tilderadio.org/schedule/ics.php">';
include '../header.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>
<h4>upcoming broadcasts</h4>
<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">
<thead>

Loading…
Cancel
Save