diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-03-14 20:14:52 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-03-14 20:14:52 +0000 |
commit | 1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc (patch) | |
tree | 54655ff3e692a71a17f1d37cd97374b263557ca1 /stats.php | |
parent | ef48bf3fbdca2a4d25f5d025f4c6ad23905e5369 (diff) | |
download | ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.gz ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.bz2 ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.zip |
Cosmetics: remove trailing whitespace
Diffstat (limited to 'stats.php')
-rw-r--r-- | stats.php | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -25,18 +25,18 @@ */ require_once 'lib/init.php'; -show_header(); +show_header(); /* Switch on the action to be performed */ -switch ($_REQUEST['action']) { +switch ($_REQUEST['action']) { // Show a Users "Profile" page - case 'show_user': - $client = new User($_REQUEST['user_id']); - require_once Config::get('prefix') . '/templates/show_user.inc.php'; + case 'show_user': + $client = new User($_REQUEST['user_id']); + require_once Config::get('prefix') . '/templates/show_user.inc.php'; break; case 'user_stats': /* Get em! */ - $working_user = new User($_REQUEST['user_id']); + $working_user = new User($_REQUEST['user_id']); /* Pull favs */ $favorite_artists = $working_user->get_favorites('artist'); @@ -44,21 +44,21 @@ switch ($_REQUEST['action']) { $favorite_songs = $working_user->get_favorites('song'); require_once Config::get('prefix') . '/templates/show_user_stats.inc.php'; - + break; // Show stats - case 'newest': - require_once Config::get('prefix') . '/templates/show_newest.inc.php'; - break; - case 'popular': - require_once Config::get('prefix') . '/templates/show_popular.inc.php'; - break; - case 'show': - default: - require_once Config::get('prefix') . '/templates/show_stats.inc.php'; + case 'newest': + require_once Config::get('prefix') . '/templates/show_newest.inc.php'; + break; + case 'popular': + require_once Config::get('prefix') . '/templates/show_popular.inc.php'; + break; + case 'show': + default: + require_once Config::get('prefix') . '/templates/show_stats.inc.php'; break; } // end switch on action -show_footer(); +show_footer(); ?> |