diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-02 20:48:16 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-01-02 20:48:16 +0000 |
commit | 54d83e0796666854704298d17398df653877c08c (patch) | |
tree | 819a6810d6b7424953735326e06d1e515f502a99 /templates/show_now_playing.inc | |
parent | 2af0776aa93e706a303ad6701fb989f8e00b0cd2 (diff) | |
download | ampache-54d83e0796666854704298d17398df653877c08c.tar.gz ampache-54d83e0796666854704298d17398df653877c08c.tar.bz2 ampache-54d83e0796666854704298d17398df653877c08c.zip |
fixed a mistake made in patch from di-fosfor
Diffstat (limited to 'templates/show_now_playing.inc')
-rw-r--r-- | templates/show_now_playing.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show_now_playing.inc b/templates/show_now_playing.inc index 22422388..193a469f 100644 --- a/templates/show_now_playing.inc +++ b/templates/show_now_playing.inc @@ -61,7 +61,8 @@ echo "\t<a title=\"" . htmlspecialchars($album) . "\" href=\"$web_path/albums.php?action=show&album=$song->album\">$song->f_album</a></td>"; if (conf('play_album_art')) { echo "\t<td align=\"center\">"; - echo "<a target=\"_blank\" href=\"" . conf('web_path') . "/albumart.php?id=" . $song->album . "&type=popup\">"; + $aa_url = conf('web_path') . "/albumart.php?id=" . $song->album . "&type=popup"; + echo "<a target=\"_blank\" href=\"$aa_url\" onclick=\"popup_art('$aa_url'); return false;\">"; echo "<img align=\"middle\" border=\"0\" src=\"" . conf('web_path') . "/albumart.php?id=" . $song->album . "&fast=1&thumb=1\" alt=\"Album Art\" height=\"75\" />"; echo "</a>\n"; echo "\t</td>\n"; |