summaryrefslogtreecommitdiffstats
path: root/templates/show_now_playing.inc
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-02 20:48:16 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-01-02 20:48:16 +0000
commit54d83e0796666854704298d17398df653877c08c (patch)
tree819a6810d6b7424953735326e06d1e515f502a99 /templates/show_now_playing.inc
parent2af0776aa93e706a303ad6701fb989f8e00b0cd2 (diff)
downloadampache-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.inc3
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&amp;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 . "&amp;type=popup\">";
+ $aa_url = conf('web_path') . "/albumart.php?id=" . $song->album . "&amp;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 . "&amp;fast=1&amp;thumb=1\" alt=\"Album Art\" height=\"75\" />";
echo "</a>\n";
echo "\t</td>\n";