mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 01:39:28 +02:00
Add: song_lyrics to Ampache #327 (thx alister55)
This commit is contained in:
parent
ef2a0a794d
commit
14ef536151
9 changed files with 99 additions and 8 deletions
5
song.php
5
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue