summaryrefslogtreecommitdiffstats
path: root/templates/show_album_row.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 05:53:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 05:53:26 +0000
commitf0addeb4a1700b6ad625726fe8c0793cdafa9fed (patch)
treeed2e4fef6759867bed8229116ae2e91b3b3da239 /templates/show_album_row.inc.php
parent69b204fb1dcca77c177d3ac5ec7fb686fb5a5b58 (diff)
downloadampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.tar.gz
ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.tar.bz2
ampache-f0addeb4a1700b6ad625726fe8c0793cdafa9fed.zip
added ability to view album art on browse ablums and removed redundent code in show_artist, props to the first person who finds the bug with this re-use of code
Diffstat (limited to 'templates/show_album_row.inc.php')
-rw-r--r--templates/show_album_row.inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/show_album_row.inc.php b/templates/show_album_row.inc.php
index 5c1b7aaa..649888e6 100644
--- a/templates/show_album_row.inc.php
+++ b/templates/show_album_row.inc.php
@@ -23,6 +23,12 @@
<?php echo Ajax::button('?action=basket&type=album&id=' . $album->id,'add',_('Add'),'add_album_' . $album->id); ?>
<?php echo Ajax::button('?action=basket&type=album_random&id=' . $album->id,'random',_('Random'),'random_album_' . $album->id); ?>
</td>
+<?php if (Browse::get_filter('show_art')) { ?>
+<td height="87">
+ <a href="<?php echo Config::get('web_path'); ?>/albums.php?action=show&amp;album=<?php echo $album->id; ?>">
+ <img height="75" width="75" border="0" src="<?php echo Config::get('web_path'); ?>/image.php?id=<?php echo $album->id; ?>&amp;thumb=1&amp;sid=<?php echo session_id(); ?>"
+ </a>
+<?php } ?>
<td><?php echo $album->f_name_link; ?></td>
<td><?php echo $album->f_artist; ?></td>
<td><?php echo $album->song_count; ?></td>