diff options
author | xgizzmo <xgizzmo@ampache> | 2006-01-10 05:03:18 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2006-01-10 05:03:18 +0000 |
commit | 67d76f09c28d0c6abae6d966f4cc00a5428bdc74 (patch) | |
tree | c52e3c1c1d9bf75de21b2bc812fa34aa78aa10af /templates/show_album_art.inc.php | |
parent | 883cd9e478cf740f7b6bdd5fa089c4eefda97b7a (diff) | |
download | ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.tar.gz ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.tar.bz2 ampache-67d76f09c28d0c6abae6d966f4cc00a5428bdc74.zip |
Code clean up
Diffstat (limited to 'templates/show_album_art.inc.php')
-rw-r--r-- | templates/show_album_art.inc.php | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/templates/show_album_art.inc.php b/templates/show_album_art.inc.php index 78ff1fb3..e65339a6 100644 --- a/templates/show_album_art.inc.php +++ b/templates/show_album_art.inc.php @@ -23,8 +23,6 @@ // Gotta do some math here! $total_images = count($images); $rows = floor($total_images/3); - - $i = 0; ?> @@ -38,14 +36,14 @@ while ($i <= $rows) { if (!isset($images[$key])) { echo "<td> </td>\n"; } else { ?> - <td align="center"> - <a href="<?php echo $images[$key]['url']; ?>" target="_blank"> - <img src="<?php echo scrub_out($images[$key]['url']); ?>" border="0" height="175" width="175" /><br /> - </a> - <p align="center"> - [<a href="<?php echo conf('web_path'); ?>/albums.php?action=select_art&image=<?php echo $i; ?>&album_id=<?php echo urlencode($_REQUEST['album_id']); ?>">Select</a>] - </p> - </td> + <td align="center"> + <a href="<?php echo $images[$key]['url']; ?>" target="_blank"> + <img src="<?php echo scrub_out($images[$key]['url']); ?>" border="0" height="175" width="175" /><br /> + </a> + <p align="center"> + [<a href="<?php echo conf('web_path'); ?>/albums.php?action=select_art&image=<?php echo $i; ?>&album_id=<?php echo urlencode($_REQUEST['album_id']); ?>">Select</a>] + </p> + </td> <?php } // end else $j++; |