diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-03 05:46:33 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-03 05:46:33 +0000 |
commit | 7899c3488f4288c8618d73c8ea0ef8e5e07f9ae5 (patch) | |
tree | 64be964b83e9990aa110ce55bd27da3112622bf1 /templates/show_play_selected.inc.php | |
parent | f5fd6eb89a6416a65bf088c922d7566113509a7c (diff) | |
download | ampache-7899c3488f4288c8618d73c8ea0ef8e5e07f9ae5.tar.gz ampache-7899c3488f4288c8618d73c8ea0ef8e5e07f9ae5.tar.bz2 ampache-7899c3488f4288c8618d73c8ea0ef8e5e07f9ae5.zip |
added download selected button
Diffstat (limited to 'templates/show_play_selected.inc.php')
-rw-r--r-- | templates/show_play_selected.inc.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/show_play_selected.inc.php b/templates/show_play_selected.inc.php index 38d4c62d..dab5369d 100644 --- a/templates/show_play_selected.inc.php +++ b/templates/show_play_selected.inc.php @@ -35,12 +35,22 @@ function ToSong(action) document.songs.submit(); // Submit the page return true; } +function ToBatch(action) +{ + document.songs.action = "<?php echo conf('web_path'); ?>/batch.php?action=" + action; + document.songs.submit(); + return true; +} --> </script> <table border="0" cellpadding="14" cellspacing="0" class="text-box"> <tr align="left"> <td> <input class="button" type="button" name="super_action" value="<?php echo _("Play Selected"); ?>" onclick="return ToSong('play_selected');" /> + <?php if (batch_ok()) { ?> + + <input class="button" type="button" name="super_action" value="<?php echo _("Download Selected"); ?>" onclick="return ToBatch('download_selected');" /> + <? } ?> <!-- <input class="button" type="button" name="super_action" value="<?php echo _("Flag Selected"); ?>" /> <input class="button" type="button" name="super_action" value="<?php echo _("Edit Selected"); ?>" /> --> |