Use the {hubBaseurl} variable for this
This commit is contained in:
parent
6e0180cf13
commit
d81df93577
@ -301,7 +301,7 @@ for ( $slot = $current_episode_number; $slot < ( $current_episode_number + 60 );
|
|||||||
$sizeof_show_array--;
|
$sizeof_show_array--;
|
||||||
}
|
}
|
||||||
elseif ( empty( $show_array[$slot] ) ) {
|
elseif ( empty( $show_array[$slot] ) ) {
|
||||||
echo "<span style=\"font-family:monospace;\">${this_episode_date}: <a aria-label=\"Upload to the slot hpr${slot}\" href=\"/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 ) {
|
elseif ( $show_array[$slot]["valid"] == 0 ) {
|
||||||
echo "<span style=\"font-family:monospace;\">${this_episode_date}: hpr${slot}</span> <strong>Unavailable</strong>.<br />\n";
|
echo "<span style=\"font-family:monospace;\">${this_episode_date}: hpr${slot}</span> <strong>Unavailable</strong>.<br />\n";
|
||||||
@ -337,7 +337,7 @@ while ( $slot <= $max_episode_number) {
|
|||||||
|
|
||||||
<h3>Pick other dates</h3>
|
<h3>Pick other dates</h3>
|
||||||
<p>
|
<p>
|
||||||
If you wish to pick an available slot in the next 12 months then go directly to the <a aria-label="Go to the request page" href="/request.php">request page</a>.
|
If you wish to pick an available slot in the next 12 months then go directly to the <a aria-label="Go to the request page" href="<?php echo "${hubBaseurl}"; ?>request.php">request page</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user