diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 03:00:32 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 03:38:46 -0500 |
commit | ef4d3660605efc7f1328d4533b0f4bfb6c1107e2 (patch) | |
tree | e4377fb129a899e65aaaf421f8c97098aecaedd5 /templates/show_preferences.inc.php | |
parent | 8a750c3e875d590d351c3042570a134fcdf03e5d (diff) | |
download | ampache-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_preferences.inc.php')
-rw-r--r-- | templates/show_preferences.inc.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/templates/show_preferences.inc.php b/templates/show_preferences.inc.php index 4e9cc556..8f040b34 100644 --- a/templates/show_preferences.inc.php +++ b/templates/show_preferences.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) @@ -32,20 +32,20 @@ <form method="post" name="preferences" action="<?php echo Config::get('web_path'); ?>/preferences.php?action=update_preferences" enctype="multipart/form-data"> <?php show_preference_box($preferences[$_REQUEST['tab']]); ?> <div class="formValidation"> - <input class="button" type="submit" value="<?php echo T_('Update Preferences'); ?>" /> - <?php echo Core::form_register('update_preference'); ?> - <input type="hidden" name="tab" value="<?php echo scrub_out($_REQUEST['tab']); ?>" /> - <input type="hidden" name="method" value="<?php echo scrub_out($_REQUEST['action']); ?>" /> - <?php if (Access::check('interface','100')) { ?> - <input type="hidden" name="user_id" value="<?php echo scrub_out($_REQUEST['user_id']); ?>" /> - <?php } ?> + <input class="button" type="submit" value="<?php echo T_('Update Preferences'); ?>" /> + <?php echo Core::form_register('update_preference'); ?> + <input type="hidden" name="tab" value="<?php echo scrub_out($_REQUEST['tab']); ?>" /> + <input type="hidden" name="method" value="<?php echo scrub_out($_REQUEST['action']); ?>" /> + <?php if (Access::check('interface','100')) { ?> + <input type="hidden" name="user_id" value="<?php echo scrub_out($_REQUEST['user_id']); ?>" /> + <?php } ?> </div> <?php } // end if not account if ($_REQUEST['tab'] == 'account') { - $client = $GLOBALS['user']; - require Config::get('prefix') . '/templates/show_account.inc.php'; - } + $client = $GLOBALS['user']; + require Config::get('prefix') . '/templates/show_account.inc.php'; + } ?> </form> |