Update files to use $hubBaseurl
Remove hard coded references to hub.hackerpublicradio.org to allow hub to be run on different servers and make testing locally possible.
This commit is contained in:
@@ -312,7 +312,7 @@ for ( $slot = $current_episode_number; $slot < ( $current_episode_number + 60 );
|
||||
$sizeof_show_array--;
|
||||
}
|
||||
elseif ( empty( $show_array[$slot] ) ) {
|
||||
echo "<span style=\"font-family:monospace;\">${this_episode_date}: <a aria-label=\"Upload to the slot hpr${slot}\" href=\"${hubBaseurl}/request.php?id=${slot}\">hpr${slot}</span> is available - upload now</a>.<br />\n";
|
||||
echo "<span style=\"font-family:monospace;\">${this_episode_date}: <a aria-label=\"Upload to the slot hpr${slot}\" href=\"${hubBaseurl}request.php?id=${slot}\">hpr${slot}</span> is available - upload now</a>.<br />\n";
|
||||
}
|
||||
elseif ( $show_array[$slot]["valid"] == 0 ) {
|
||||
echo "<span style=\"font-family:monospace;\">${this_episode_date}: hpr${slot}</span> <strong>Unavailable</strong>.<br />\n";
|
||||
|
Reference in New Issue
Block a user