Backend for songs.zachdecook.com
* Add link to Virtual Strummer
Zach DeCook 2018-11-05
parent ef0c84d · commit c26de1b
-rw-r--r--page.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/page.php b/page.php
index a2176b3..f890290 100644
--- a/page.php
+++ b/page.php
@@ -183,7 +183,11 @@ function load_song( $number, $transp = 0 )
. renderFavorite( $number )
. "<pre>" . $song . "</pre>\n"
. renderNavButtons( $number )
- . renderSS($suggestedSong, $songKeys, $transp);
+ . renderSS($suggestedSong, $songKeys, $transp)
+ // If you have gitlab.com/earboxer/VirtualStrummer at this path (and prosongsa at /tabs),
+ // this link will open this song there.
+ . "<a class='btn btn-Ab' href=/VirtualStrummer?source=/tabs/?song=$number>Play me???</a>"
+ ;
}
function renderFavorite( $number )