summaryrefslogtreecommitdiffstats
path: root/templates/show_album.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_album.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_album.inc')
-rw-r--r--templates/show_album.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show_album.inc b/templates/show_album.inc
index bd6cbcf8..48dd44fd 100644
--- a/templates/show_album.inc
+++ b/templates/show_album.inc
@@ -49,7 +49,8 @@ $username=$user->username;
<td width="140" align="center">
<?php
if ($album_name != "Unknown (Orphaned)") {
- echo "<a target=\"_blank\" href=\"" . conf('web_path') . "/albumart.php?id=" . $album->id . "&amp;type=popup\">";
+ $aa_url = conf('web_path') . "/albumart.php?id=" . $album->id . "&amp;type=popup";
+ echo "<a target=\"_blank\" href=\"$aa_url\" onclick=\"popup_art('$aa_url'); return false;\">";
echo "<img border=\"0\" src=\"" . conf('web_path') . "/albumart.php?id=" . $album->id . "&amp;thumb=2\" alt=\"Album Art\" height=\"128\" />";
echo "</a>\n";
}