summaryrefslogtreecommitdiffstats
path: root/templates/show_search_options.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-04-27 06:12:32 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-04-27 06:12:32 +0000
commitded956d517fac5b46040a0478eb8415b30ef0baa (patch)
treec6cc349fd0c3fdd643be86745970a01fa602396c /templates/show_search_options.inc.php
parent0e1e087655f05f0629a54cad98ed3fbe8a6e0484 (diff)
downloadampache-ded956d517fac5b46040a0478eb8415b30ef0baa.tar.gz
ampache-ded956d517fac5b46040a0478eb8415b30ef0baa.tar.bz2
ampache-ded956d517fac5b46040a0478eb8415b30ef0baa.zip
added ability to add search results to playlist, or download if batch downloaded is enabled, also fixed user browse sorting
Diffstat (limited to 'templates/show_search_options.inc.php')
-rw-r--r--templates/show_search_options.inc.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/show_search_options.inc.php b/templates/show_search_options.inc.php
new file mode 100644
index 00000000..71f7266d
--- /dev/null
+++ b/templates/show_search_options.inc.php
@@ -0,0 +1,32 @@
+<?php
+/*
+
+ Copyright (c) Ampache.org
+ All rights reserved.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; version 2
+ of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+?>
+<?php show_box_top(_('Options')); ?>
+<div id="search_options">
+<ul>
+ <li><?php echo Ajax::text('?action=basket&type=browse_set',_('Add Search Results'),'add_search_results'); ?></li>
+ <?php if (Access::check_function('batch_download')) { ?>
+ <li><a href="<?php echo Config::get('web_path'); ?>/batch.php?action=browse"><?php echo _('Batch Download'); ?></a></li>
+ <?php } ?>
+</ul>
+</div>
+<?php show_box_bottom(); ?>