Don't display tunes under copyright
This commit is contained in:
parent
d1ef6af25c
commit
9fe9f71843
|
|
@ -62,7 +62,9 @@ while ($s = $req1->fetch_assoc()) {
|
|||
}
|
||||
|
||||
echo '<div id="score"><br />';
|
||||
if($c['gabc'] > '') {
|
||||
if($c['copyrighted']) {
|
||||
echo 'This tune is still under copyright.';
|
||||
} elseif($c['gabc'] > '') {
|
||||
echo '<img src="chant_img.php?id='.$id.'" alt="" />';
|
||||
} else {
|
||||
echo 'Yet to be transcribed. ';
|
||||
|
|
@ -214,6 +216,7 @@ $report_form
|
|||
</div>
|
||||
POPUP1;
|
||||
}
|
||||
if(!$c['copyrighted']) {
|
||||
echo "<h4>Download</h4>\n<ul>\n";
|
||||
$content = json_decode($c['gabc']);
|
||||
if(is_string($content)) {
|
||||
|
|
@ -270,7 +273,7 @@ echo '<li><a href="https://editor.sourceandsummit.com/legacy/#'.rawurlencode(($c
|
|||
<li><a href="https://editor.sourceandsummit.com/alpha/#'.rawurlencode(($c['commentary']?'text-right: '.$c['commentary']."\n":'').$gabc."\n".$c['gabc_verses']).'" target="_blank">Source & Summit Editor</a></li>
|
||||
';
|
||||
echo "</ul>\n";
|
||||
|
||||
}
|
||||
if($c['remarks'] > '') {
|
||||
echo "<h4>Remarks</h4>\n<p class=\"remarks\">".nl2br($c['remarks'])."</p>\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue