From 9fe9f71843154f4360606dadf7a8e6853af4bb65 Mon Sep 17 00:00:00 2001 From: Olivier Berten Date: Sun, 21 Feb 2021 18:54:29 +0100 Subject: [PATCH] Don't display tunes under copyright --- chant.php | 105 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 54 insertions(+), 51 deletions(-) diff --git a/chant.php b/chant.php index 9a22d9d..a899550 100644 --- a/chant.php +++ b/chant.php @@ -62,7 +62,9 @@ while ($s = $req1->fetch_assoc()) { } echo '

'; -if($c['gabc'] > '') { +if($c['copyrighted']) { + echo 'This tune is still under copyright.'; +} elseif($c['gabc'] > '') { echo ''; } else { echo 'Yet to be transcribed. '; @@ -214,63 +216,64 @@ $report_form
POPUP1; } -echo "

Download

\n