add_error('keyword',_("Error: No Keyword Entered")); show_template('show_search'); break; } case 'search': require_once Config::get('prefix') . '/templates/show_search.inc.php'; $results = run_search($_REQUEST); Browse::set_type('song'); echo "
"; Browse::show_objects($results); echo "
"; break; case 'save_as_track': $playlist_id = save_search($_REQUEST); $playlist = new Playlist($playlist_id); 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'; break; } /* Show the Footer */ show_footer(); ?>