diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-06-09 16:34:40 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-06-09 16:34:40 +0000 |
commit | bcad40a05ab2dc2a341a3227e30b96668bce4500 (patch) | |
tree | 6fca27588d53a1b24705bd2834e9e643bb729bd1 /templates/show_play_selected.inc.php | |
download | ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.tar.gz ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.tar.bz2 ampache-bcad40a05ab2dc2a341a3227e30b96668bce4500.zip |
New Import
Diffstat (limited to 'templates/show_play_selected.inc.php')
-rw-r--r-- | templates/show_play_selected.inc.php | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/templates/show_play_selected.inc.php b/templates/show_play_selected.inc.php new file mode 100644 index 00000000..7c3107fb --- /dev/null +++ b/templates/show_play_selected.inc.php @@ -0,0 +1,65 @@ +<?php +/* + + Copyright (c) 2001 - 2005 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; either version 2 + of the License, or (at your option) any later version. + + 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. + +*/ +?> +<script language=javascript> +<!-- +function ToPlaylist(action) +{ + document.songs.action = "<?php echo conf('web_path'); ?>/playlist.php?action=" + action; + document.songs.submit(); // Submit the page + return true; +} + +function ToSong(action) +{ + document.songs.action = "<?php echo conf('web_path'); ?>/song.php?action=" + action; + document.songs.submit(); // Submit the page + 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');" /> +<!-- <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"); ?>" /> +--> + </td> +</tr> +<?php if ($GLOBALS['playlist_id']) { ?> +<tr> + <td> + <input class="button" type="button" name="super_action" value="<?php echo _("Set Track Numbers"); ?>" onclick="return ToPlaylist('set_track_numbers');" /> + <input class="button" type="button" name="super_action" value="<?php echo _("Remove Selected Tracks"); ?>" onclick="return ToPlaylist('remove_song');" /> + </td> +</tr> +<?php } ?> +<tr align="center"> + <td colspan="2"> + <?php echo _("Playlist"); ?>: <input type="button" name="super_action" value="<?php echo _("Add to"); ?>" onclick="return ToPlaylist('add_to');" /> + <?php show_playlist_dropdown($GLOBALS['playlist_id']); ?> + <input class="button" type="button" name="super_action" value="<?php echo _("View"); ?>" onclick="return ToPlaylist('view');" /> + <input class="button" type="button" name="super_action" value="<?php echo _("Edit"); ?>" onclick="return ToPlaylist('edit');" /> + </td> +</tr> +</table> |