diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-30 06:21:50 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-07-30 06:21:50 +0000 |
commit | 8e9678729653489a0839c14bc23d743e1509c319 (patch) | |
tree | b9108bc20a1665aff56ee891a2873bfa463b2aa7 /templates/show_playlist.inc.php | |
parent | ff218616983683ccbe6623d0e66c248e94c0ea99 (diff) | |
download | ampache-8e9678729653489a0839c14bc23d743e1509c319.tar.gz ampache-8e9678729653489a0839c14bc23d743e1509c319.tar.bz2 ampache-8e9678729653489a0839c14bc23d743e1509c319.zip |
added your playlists with play link to the leftbar, no way to edit them yet
Diffstat (limited to 'templates/show_playlist.inc.php')
-rw-r--r-- | templates/show_playlist.inc.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/show_playlist.inc.php b/templates/show_playlist.inc.php new file mode 100644 index 00000000..6ae2d5f1 --- /dev/null +++ b/templates/show_playlist.inc.php @@ -0,0 +1,34 @@ +<?php +/* + Copyright (c) 2001 - 2007 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 v2 + as published by the Free Software Foundation. + + 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. + +*/ +/** + * Playlist Box + * This box is used for actions on the main screen and on a specific playlist page + * It changes depending on where it is + */ +$web_path = Config::get('web_path'); +?> +<?php show_box_top($playlist->name . ' ' . _('Playlist')); ?> + <ul class="text-action"> + <li><a href="<?php echo $web_path; ?>/playlist.php?action=normalize_tracks&playlist_id=<?php echo $playlist_id; ?>"><?php echo _('Normalize Tracks'); ?></a></li> + <li><a href="<?php echo $web_path; ?>/stream.php?action=play_selected&playlist_id=<?php echo $playlist_id; ?>"><?php echo _('Play This Playlist'); ?></a></li> + <li><a href="<?php echo $web_path; ?>/stream.php?action=playlist_random&playlist_id=<?php echo $playlist_id; ?>"><?php echo _('Play Random'); ?></a></li> + </ul> +<?php show_box_bottom(); ?> + |