summaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-03-14 20:14:52 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-03-14 20:14:52 +0000
commit1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc (patch)
tree54655ff3e692a71a17f1d37cd97374b263557ca1 /search.php
parentef48bf3fbdca2a4d25f5d025f4c6ad23905e5369 (diff)
downloadampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.gz
ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.tar.bz2
ampache-1cb0983ed04c65e06d502ae2ac9ed6d5e31d70dc.zip
Cosmetics: remove trailing whitespace
Diffstat (limited to 'search.php')
-rw-r--r--search.php36
1 files changed, 18 insertions, 18 deletions
diff --git a/search.php b/search.php
index cae80205..4aedf327 100644
--- a/search.php
+++ b/search.php
@@ -22,31 +22,31 @@
require_once 'lib/init.php';
-show_header();
+show_header();
/**
- * action switch
+ * action switch
*/
-switch ($_REQUEST['action']) {
+switch ($_REQUEST['action']) {
case 'quick_search':
/* This needs to be done because we don't know what thing
* they used the quick search to search on until after they've
- * submited it
+ * submited it
*/
$_REQUEST['s_all'] = $_REQUEST['search_string'];
-
- if (strlen($_REQUEST['search_string']) < 1) {
+
+ if (strlen($_REQUEST['search_string']) < 1) {
Error::add('keyword',_('Error: No Keyword Entered'));
- require_once Config::get('prefix') . '/templates/show_search.inc.php';
+ require_once Config::get('prefix') . '/templates/show_search.inc.php';
break;
}
case 'search':
- require_once Config::get('prefix') . '/templates/show_search.inc.php';
- require_once Config::get('prefix') . '/templates/show_search_options.inc.php';
+ require_once Config::get('prefix') . '/templates/show_search.inc.php';
+ require_once Config::get('prefix') . '/templates/show_search_options.inc.php';
$results = run_search($_REQUEST);
- Browse::set_type('song');
- Browse::reset();
- Browse::show_objects($results);
+ Browse::set_type('song');
+ Browse::reset();
+ Browse::show_objects($results);
break;
case 'save_as_track':
$playlist_id = save_search($_REQUEST);
@@ -54,14 +54,14 @@ switch ($_REQUEST['action']) {
show_confirmation("Search Saved","Your Search has been saved as a track in $playlist->name",conf('web_path') . "/search.php");
break;
default:
- require_once Config::get('prefix') . '/templates/show_search.inc.php';
+ require_once Config::get('prefix') . '/templates/show_search.inc.php';
break;
- case 'descriptor':
+ case 'descriptor':
// This is a little special we don't want header/footers so trash what we've got in the OB
- ob_clean();
- require_once Config::get('prefix') . '/templates/show_search_descriptor.inc.php';
- exit;
- break;
+ ob_clean();
+ require_once Config::get('prefix') . '/templates/show_search_descriptor.inc.php';
+ exit;
+ break;
}
/* Show the Footer */