summaryrefslogtreecommitdiffstats
path: root/templates/show_album.inc.php
diff options
context:
space:
mode:
authorAfterster <afterster@gmail.com>2013-10-29 19:56:46 +0100
committerPaul Arthur <paul.arthur@flowerysong.com>2013-11-05 20:40:13 -0500
commit564a40dd0f0d04a0287acc57d13a7ed65fe0e334 (patch)
treefa85fbec87457504fdd97b8de1611b09e772ecc6 /templates/show_album.inc.php
parent539ca08efce69bfa53c5abbf44e014ea6fee1b4c (diff)
downloadampache-564a40dd0f0d04a0287acc57d13a7ed65fe0e334.tar.gz
ampache-564a40dd0f0d04a0287acc57d13a7ed65fe0e334.tar.bz2
ampache-564a40dd0f0d04a0287acc57d13a7ed65fe0e334.zip
Get rid of popup on cover arts
Diffstat (limited to 'templates/show_album.inc.php')
-rw-r--r--templates/show_album.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_album.inc.php b/templates/show_album.inc.php
index b987bf5b..eed35720 100644
--- a/templates/show_album.inc.php
+++ b/templates/show_album.inc.php
@@ -35,8 +35,8 @@ $title .= '&nbsp;-&nbsp;' . $album->f_artist_link;
if ($album->name != T_('Unknown (Orphaned)')) {
$name = '[' . $album->f_artist . '] ' . scrub_out($album->full_name);
- $aa_url = $web_path . "/image.php?id=" . $album->id . "&amp;type=popup&amp;sid=" . session_id();
- echo "<a target=\"_blank\" href=\"$aa_url\" onclick=\"popupWindow('$aa_url'); return false;\">";
+ $aa_url = $web_path . "/image.php?id=" . $album->id . "&amp;sid=" . session_id();
+ echo "<a href=\"$aa_url\" onClick=\"TINY.box.show({image:'$aa_url',boxid:'frameless',animate:true}); return false;\">";
echo "<img src=\"" . $web_path . "/image.php?id=" . $album->id . "&amp;thumb=2\" alt=\"".$name."\" title=\"".$name."\" height=\"128\" width=\"128\" />";
echo "</a>\n";
}