summaryrefslogtreecommitdiffstats
path: root/templates/show_album_art.inc.php
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2007-08-01 03:33:40 +0000
committerxgizzmo <xgizzmo@ampache>2007-08-01 03:33:40 +0000
commit67fd06887b1659569a6c2b61f2c700560bb71cd5 (patch)
tree2234814fc92ed06504865a4fd368782462564760 /templates/show_album_art.inc.php
parentf4812a7921ea60f8519d9d2593d9a667faa14ff6 (diff)
downloadampache-67fd06887b1659569a6c2b61f2c700560bb71cd5.tar.gz
ampache-67fd06887b1659569a6c2b61f2c700560bb71cd5.tar.bz2
ampache-67fd06887b1659569a6c2b61f2c700560bb71cd5.zip
Replace references to old code with new code
Diffstat (limited to 'templates/show_album_art.inc.php')
-rw-r--r--templates/show_album_art.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/show_album_art.inc.php b/templates/show_album_art.inc.php
index 49e92809..dc7afc47 100644
--- a/templates/show_album_art.inc.php
+++ b/templates/show_album_art.inc.php
@@ -38,7 +38,7 @@ while ($i <= $rows) {
?>
<td align="center">
<a href="<?php echo $image_url; ?>" target="_blank">
- <img src="<?php echo $image_url; ?>" border="0" height="175" width="175" /><br />
+ <img src="<?php echo $image_url; ?>" alt="Album Art" border="0" height="175" width="175" /><br />
</a>
<p align="center">
[<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=select_art&amp;image=<?php echo $key; ?>&amp;album_id=<?php echo urlencode($_REQUEST['album_id']); ?>">Select</a>]
@@ -48,7 +48,8 @@ while ($i <= $rows) {
} // end else
$j++;
} // end while cells
- echo "</tr>\n<tr>";
+ if($i < $rows) { echo "</tr>\n<tr>"; }
+ else { echo "</tr>"; }
$i++;
} // end while
?>