summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-02-09 00:15:41 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-02-09 00:15:41 +0000
commit4bccf5b59561d2a1450e5fecfd4fa436af8f99d4 (patch)
tree79bbe75eca445998fcfddcf11d6310a32ed116b9
parentb0caed617c15e4835149411e0b6d53f0ae1daaae (diff)
downloadampache-4bccf5b59561d2a1450e5fecfd4fa436af8f99d4.tar.gz
ampache-4bccf5b59561d2a1450e5fecfd4fa436af8f99d4.tar.bz2
ampache-4bccf5b59561d2a1450e5fecfd4fa436af8f99d4.zip
fixed play_album_art config option so that it actually works as advertised
-rw-r--r--templates/show_now_playing.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/show_now_playing.inc b/templates/show_now_playing.inc
index b8204024..a1168022 100644
--- a/templates/show_now_playing.inc
+++ b/templates/show_now_playing.inc
@@ -72,6 +72,7 @@ foreach ($results as $item) {
</a>
</div>
</td>
+ <?php if (conf('play_album_art')) { ?>
<td width="20%">
<div id="np_img_<?php echo $c; ?>">
<a target="_blank" href="<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&amp;type=popup" onclick="popup_art('<?php echo $web_path; ?>/albumart.php?id=<?php echo $song->album; ?>&amp;type=popup'); return false;">
@@ -79,6 +80,7 @@ foreach ($results as $item) {
</a>
</div>
</td>
+ <?php } ?>
</tr>
</table>
</div>