summaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-05 03:32:38 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-07-05 03:32:38 +0000
commitd24fe88905baf183892ed9fd757e698e56309904 (patch)
tree0861389b8de13f06bce0fa4c13299b83fba00ae7 /search.php
parent9457b75fb16f05347c08b484db6fe2b848efba15 (diff)
downloadampache-d24fe88905baf183892ed9fd757e698e56309904.tar.gz
ampache-d24fe88905baf183892ed9fd757e698e56309904.tar.bz2
ampache-d24fe88905baf183892ed9fd757e698e56309904.zip
fixed update from tags for artist and album and fixed clear album art
Diffstat (limited to 'search.php')
-rw-r--r--search.php22
1 files changed, 7 insertions, 15 deletions
diff --git a/search.php b/search.php
index 23b17ddd..7e2af8a6 100644
--- a/search.php
+++ b/search.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2006 Ampache.org
+ Copyright (c) 2001 - 2007 Ampache.org
All Rights Reserved
This program is free software; you can redistribute it and/or
@@ -20,22 +20,14 @@
*/
-/*!
- @header Search page
- Search stuff. Can do by artist, album and song title.
+require_once 'lib/init.php';
- Also case-insensitive for now.
+show_header();
-*/
-
-require_once('lib/init.php');
-
-show_template('header');
-
-/* Import/Clean vars */
-$action = scrub_in($_REQUEST['action']);
-
-switch ($action) {
+/**
+ * action switch
+ */
+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