summaryrefslogtreecommitdiffstats
path: root/templates/show_album_art.inc.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-03-14 20:14:52 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-03-14 20:14:52 +0000
commit1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc (patch)
tree54655ff3e692a71a17f1d37cd97374b263557ca1 /templates/show_album_art.inc.php
parentef48bf3fbdca2a4d25f5d025f4c6ad23905e5369 (diff)
downloadampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.gz
ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.bz2
ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.zip
Cosmetics: remove trailing whitespace
Diffstat (limited to 'templates/show_album_art.inc.php')
-rw-r--r--templates/show_album_art.inc.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/show_album_art.inc.php b/templates/show_album_art.inc.php
index e585748a..a279a93a 100644
--- a/templates/show_album_art.inc.php
+++ b/templates/show_album_art.inc.php
@@ -28,29 +28,29 @@ $i = 0;
<?php show_box_top(); ?>
<table class="table-data">
<tr>
-<?php
-while ($i <= $rows) {
+<?php
+while ($i <= $rows) {
$j=0;
- while ($j < 4) {
+ while ($j < 4) {
$key = $i*4+$j;
- $image_url = Config::get('web_path') . '/image.php?type=session&amp;image_index=' . $key;
- $dimensions = Core::image_dimensions(Album::get_image_from_source($_SESSION['form']['images'][$key]));
- if (!isset($images[$key])) { echo "<td>&nbsp;</td>\n"; }
- else {
+ $image_url = Config::get('web_path') . '/image.php?type=session&amp;image_index=' . $key;
+ $dimensions = Core::image_dimensions(Album::get_image_from_source($_SESSION['form']['images'][$key]));
+ if (!isset($images[$key])) { echo "<td>&nbsp;</td>\n"; }
+ else {
?>
<td align="center">
<a href="<?php echo $image_url; ?>" target="_blank"><img src="<?php echo $image_url; ?>" alt="<?php echo _('Album Art'); ?>" border="0" height="175" width="175" /></a>
<br />
<p align="center">
<?php if (is_array($dimensions)) { ?>
- [<?php echo intval($dimensions['width']); ?>x<?php echo intval($dimensions['height']); ?>]
+ [<?php echo intval($dimensions['width']); ?>x<?php echo intval($dimensions['height']); ?>]
<?php } else { ?>
<span class="error"><?php echo _('Invalid'); ?></span>
<?php } ?>
[<a href="<?php echo Config::get('web_path'); ?>/albums.php?action=select_art&amp;image=<?php echo $key; ?>&amp;album_id=<?php echo intval($_REQUEST['album_id']); ?>"><?php echo _('Select'); ?></a>]
</p>
</td>
-<?php
+<?php
} // end else
$j++;
} // end while cells