summaryrefslogtreecommitdiffstats
path: root/admin/index.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 /admin/index.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 'admin/index.php')
-rw-r--r--admin/index.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/admin/index.php b/admin/index.php
index e79e28ac..86003326 100644
--- a/admin/index.php
+++ b/admin/index.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)
@@ -23,23 +23,23 @@
require_once '../lib/init.php';
if (!Access::check('interface',100)) {
- UI::access_denied();
- exit();
+ UI::access_denied();
+ exit();
}
UI::show_header();
switch ($_REQUEST['action']) {
- default:
- // Show Catalogs
- $catalog_ids = Catalog::get_catalogs();
- $browse = new Browse();
- $browse->set_type('catalog');
- $browse->set_static_content(true);
- $browse->save_objects($catalog_ids);
- $browse->show_objects($catalog_ids);
- $browse->store();
- break;
+ default:
+ // Show Catalogs
+ $catalog_ids = Catalog::get_catalogs();
+ $browse = new Browse();
+ $browse->set_type('catalog');
+ $browse->set_static_content(true);
+ $browse->save_objects($catalog_ids);
+ $browse->show_objects($catalog_ids);
+ $browse->store();
+ break;
}
UI::show_footer();