diff options
author | momo-i <momo-i@ampache> | 2009-02-24 04:18:33 +0000 |
---|---|---|
committer | momo-i <momo-i@ampache> | 2009-02-24 04:18:33 +0000 |
commit | 14ef5361513ebf5a9d8086f17d098ab76e545d14 (patch) | |
tree | e1106f28f92796b61c7995f2fd4eeb4f4d7e0331 /song.php | |
parent | ef2a0a794d0065126f65ed6dbdfcbf6d39b9db66 (diff) | |
download | ampache-14ef5361513ebf5a9d8086f17d098ab76e545d14.tar.gz ampache-14ef5361513ebf5a9d8086f17d098ab76e545d14.tar.bz2 ampache-14ef5361513ebf5a9d8086f17d098ab76e545d14.zip |
Add: song_lyrics to Ampache #327 (thx alister55)
Diffstat (limited to 'song.php')
-rw-r--r-- | song.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |