summaryrefslogtreecommitdiffstats
path: root/song.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2009-03-11 22:59:06 +0000
committermomo-i <momo-i@ampache>2009-03-11 22:59:06 +0000
commit5d1704555a9f0f8f29a845e4c406dbf2395cbd3d (patch)
tree25b0bdb2d0d258ac4ea81f279db5e44630ece316 /song.php
parentcffd7068d6a1717ac55abe4a3f0b94e43287f213 (diff)
downloadampache-5d1704555a9f0f8f29a845e4c406dbf2395cbd3d.tar.gz
ampache-5d1704555a9f0f8f29a845e4c406dbf2395cbd3d.tar.bz2
ampache-5d1704555a9f0f8f29a845e4c406dbf2395cbd3d.zip
Added: Lyrics wiki link on show song page
Diffstat (limited to 'song.php')
-rw-r--r--song.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/song.php b/song.php
index d0d4729a..06932726 100644
--- a/song.php
+++ b/song.php
@@ -36,6 +36,9 @@ switch ($_REQUEST['action']) {
if($show_lyrics == 1) {
$lyric = new Artist();
$return = scrub_out($lyric->get_song_lyrics($song->id, ucwords($song->f_artist), ucwords($song->title)));
+ $link = '<a href="http://lyricwiki.org/' . rawurlencode(ucwords($song->f_artist)) . ':' . rawurlencode(ucwords($song->title)) . '" target="_blank">';
+ $link .= sprintf(_('%1$s - %2$s Lyrics Detail'), ucwords($song->f_artist), ucwords($song->title));
+ $link .= "</a><br /><br />";
require_once Config::get('prefix') . '/templates/show_lyrics.inc.php';
}
break;