diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-02-08 02:27:14 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-02-08 02:27:14 +0000 |
commit | 9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1 (patch) | |
tree | 6d98288192c059cf3453bcca8c54c68e96a239ac /templates/show_democratic.inc.php | |
parent | db464555820830458e883c962f0b9482d177564b (diff) | |
download | ampache-9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1.tar.gz ampache-9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1.tar.bz2 ampache-9d6ca07ecbe8cdf3f92d61366d4a53c6b609d1f1.zip |
more tweaks to the democratic playlist, move the play command out front also clean up now playing on localplay status box
Diffstat (limited to 'templates/show_democratic.inc.php')
-rw-r--r-- | templates/show_democratic.inc.php | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/templates/show_democratic.inc.php b/templates/show_democratic.inc.php index 85d5cecb..8854e3f1 100644 --- a/templates/show_democratic.inc.php +++ b/templates/show_democratic.inc.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2007 Ampache.org + Copyright (c) Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -21,7 +21,19 @@ show_box_top(sprintf(_('%s Playlist') ,$democratic->name)); ?> -<div id="democratic_playlist"> -<?php require_once Config::get('prefix') . '/templates/show_democratic_playlist.inc.php'; ?> +<div id="information_actions"> +<ul> +<li> + <?php echo _('Now Playing'); ?>:<i>....</i> +<li> + <?php echo Ajax::button('?page=democratic&action=send_playlist&democratic_id=' . scrub_out($democratic->id),'all',_('Play'),'play_democratic'); ?> + <?php echo _('Play'); ?> +</li> +<li> + <?php echo Ajax::button('?page=democratic&action=clear_playlist&democratic_id=' . scrub_out($democratic->id),'delete',_('Clear Playlist'),'clear_democratic'); ?> + <?php echo _('Clear Playlist'); ?> +</li> +</ul> + </div> <?php show_box_bottom(); ?> |