summaryrefslogtreecommitdiffstats
path: root/templates/show_random_albums.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 03:00:32 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 03:38:46 -0500
commitef4d3660605efc7f1328d4533b0f4bfb6c1107e2 (patch)
treee4377fb129a899e65aaaf421f8c97098aecaedd5 /templates/show_random_albums.inc.php
parent8a750c3e875d590d351c3042570a134fcdf03e5d (diff)
downloadampache-ef4d3660605efc7f1328d4533b0f4bfb6c1107e2.tar.gz
ampache-ef4d3660605efc7f1328d4533b0f4bfb6c1107e2.tar.bz2
ampache-ef4d3660605efc7f1328d4533b0f4bfb6c1107e2.zip
Cosmetics: death to tabs
The refactoring I've been doing has reminded me of my strong preference for spaces, and I feel inclined to impose my will on the tree.
Diffstat (limited to 'templates/show_random_albums.inc.php')
-rw-r--r--templates/show_random_albums.inc.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/show_random_albums.inc.php b/templates/show_random_albums.inc.php
index 08a9ae52..16e55071 100644
--- a/templates/show_random_albums.inc.php
+++ b/templates/show_random_albums.inc.php
@@ -1,5 +1,5 @@
<?php
-/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
+/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
/**
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
@@ -25,12 +25,12 @@ $button = Ajax::button('?page=index&action=random_albums','random', T_('Refresh'
?>
<?php UI::show_box_top(T_('Albums of the Moment') . ' ' . $button, 'box box_random_albums'); ?>
- <?php
- if ($albums) {
- foreach ($albums as $album_id) {
- $album = new Album($album_id);
- $album->format();
- $name = '[' . $album->f_artist . '] ' . scrub_out($album->full_name);
+ <?php
+ if ($albums) {
+ foreach ($albums as $album_id) {
+ $album = new Album($album_id);
+ $album->format();
+ $name = '[' . $album->f_artist . '] ' . scrub_out($album->full_name);
?>
<div class="random_album">
<a href="<?php echo $web_path; ?>/albums.php?action=show&amp;album=<?php echo $album_id; ?>">
@@ -47,10 +47,10 @@ $button = Ajax::button('?page=index&action=random_albums','random', T_('Refresh'
echo "</div>";
}
?>
- <span class="play_album"><?php echo Ajax::button('?action=basket&type=album&id=' . $album->id,'add', T_('Play Album'),'play_full_' . $album->id); ?></span>
+ <span class="play_album"><?php echo Ajax::button('?action=basket&type=album&id=' . $album->id,'add', T_('Play Album'),'play_full_' . $album->id); ?></span>
</div>
- <?php } // end foreach ?>
- <?php } // end if albums ?>
+ <?php } // end foreach ?>
+ <?php } // end if albums ?>
<?php UI::show_box_bottom(); ?>