From 14ef5361513ebf5a9d8086f17d098ab76e545d14 Mon Sep 17 00:00:00 2001 From: momo-i Date: Tue, 24 Feb 2009 04:18:33 +0000 Subject: Add: song_lyrics to Ampache #327 (thx alister55) --- song.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'song.php') diff --git a/song.php b/song.php index 55e77eb6..ed070c8f 100644 --- a/song.php +++ b/song.php @@ -31,6 +31,11 @@ switch ($_REQUEST['action']) { $song->format(); $song->fill_ext_info(); require_once Config::get('prefix') . '/templates/show_song.inc.php'; + // does user want to display lyrics? + $show_lyrics = Config::get('show_lyrics'); + if($show_lyrics == 1) { + require_once Config::get('prefix') . '/templates/show_lyrics.inc.php'; + } break; } // end data collection -- cgit