summaryrefslogtreecommitdiffstats
path: root/templates/show_album_row.inc.php
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2008-01-17 09:56:52 +0000
committerspocky <spocky@ampache>2008-01-17 09:56:52 +0000
commitb77c0bedcb144e4f8af7e4860f05d673986e79a4 (patch)
tree15535d65346f17a25ba1d9c57a90a9e24a9fef34 /templates/show_album_row.inc.php
parent86263d7c1be8aa4f083f47e5f1bcee9ab01f64c8 (diff)
downloadampache-b77c0bedcb144e4f8af7e4860f05d673986e79a4.tar.gz
ampache-b77c0bedcb144e4f8af7e4860f05d673986e79a4.tar.bz2
ampache-b77c0bedcb144e4f8af7e4860f05d673986e79a4.zip
Added alt/titles on album pictures
Fixed a display bug in templates
Diffstat (limited to 'templates/show_album_row.inc.php')
-rw-r--r--templates/show_album_row.inc.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/show_album_row.inc.php b/templates/show_album_row.inc.php
index 338ebf01..8a2b7be7 100644
--- a/templates/show_album_row.inc.php
+++ b/templates/show_album_row.inc.php
@@ -23,10 +23,13 @@
<?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')) { ?>
+<?php
+ if (Browse::get_filter('show_art')) {
+ $name = '[' . $album->f_artist . '] ' . scrub_out($album->full_name);
+?>
<td class="cel_cover">
<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=show&amp;album=<?php echo $album->id; ?>">
- <img height="75" width="75" src="<?php echo Config::get('web_path'); ?>/image.php?id=<?php echo $album->id; ?>&amp;thumb=1" />
+ <img height="75" width="75" alt="<?php echo($name) ?>" title="<?php echo($name) ?>" src="<?php echo Config::get('web_path'); ?>/image.php?id=<?php echo $album->id; ?>&amp;thumb=1" />
</a>
</td>
<?php } ?>