summaryrefslogtreecommitdiffstats
path: root/templates/show_index.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_index.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_index.inc.php')
-rw-r--r--templates/show_index.inc.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/show_index.inc.php b/templates/show_index.inc.php
index 7c12cbf4..7c4db26e 100644
--- a/templates/show_index.inc.php
+++ b/templates/show_index.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)
@@ -26,28 +26,28 @@
<!-- Randomly selected albums of the moment -->
<?php
if (Art::is_enabled()) {
- echo Ajax::observe('window','load',Ajax::action('?page=index&action=random_albums','random_albums'));
+ echo Ajax::observe('window','load',Ajax::action('?page=index&action=random_albums','random_albums'));
?>
<div id="random_selection">
- <?php UI::show_box_top(T_('Albums of the Moment')); echo T_('Loading...'); UI::show_box_bottom(); ?>
+ <?php UI::show_box_top(T_('Albums of the Moment')); echo T_('Loading...'); UI::show_box_bottom(); ?>
</div>
<?php } ?>
<!-- Recently Played -->
<div id="recently_played">
<?php
$data = Song::get_recently_played();
- Song::build_cache(array_keys($data));
+ Song::build_cache(array_keys($data));
require_once Config::get('prefix') . '/templates/show_recently_played.inc.php';
?>
</div>
<!-- Shoutbox Objects, if shoutbox is enabled -->
<?php if (Config::get('sociable')) { ?>
<div id="shout_objects">
- <?php
- $shouts = Shoutbox::get_top('5');
- if (count($shouts)) {
- require_once Config::get('prefix') . '/templates/show_shoutbox.inc.php';
- }
- ?>
+ <?php
+ $shouts = Shoutbox::get_top('5');
+ if (count($shouts)) {
+ require_once Config::get('prefix') . '/templates/show_shoutbox.inc.php';
+ }
+ ?>
</div>
<?php } ?>