From 297d2040db0a621f0e1ea7b95a560f1982056e49 Mon Sep 17 00:00:00 2001 From: Ken Fallon Date: Thu, 31 Oct 2024 11:21:19 +0100 Subject: [PATCH] Added the warning and link to feedback to the shownotes --- www/rss.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/www/rss.php b/www/rss.php index 18b505f..0b3090d 100644 --- a/www/rss.php +++ b/www/rss.php @@ -237,12 +237,13 @@ if ($result = mysqli_query($connection, $query)) { $itunes_summary = htmlspecialchars(stripslashes(strip_tags(substr($row["notes"],0,4000)))); if ( $html == 1 ) { - $show_notes = $row["notes"]; - $warning = "

This show has been flagged as $episode_explicit by the host.

\n"; + $show_notes = "

This show has been flagged as $episode_explicit by the host.

\n"; + $show_notes = $show_notes . $row["notes"]; + $show_notes = $show_notes . "

Provide feedback on this episode.

"; } else { - $show_notes = htmlspecialchars(stripslashes(strip_tags($row["notes"]))) ; - $warning = "This show has been flagged as $episode_explicit by the host.\n"; + $show_notes = "This show has been flagged as $episode_explicit by the host.\n"; + $show_notes = $show_notes . htmlspecialchars(stripslashes(strip_tags($row["notes"]))) ; } $warning = utf8_encode ( $warning ); echo " \n";