diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-23 08:00:34 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-10-23 08:00:34 +0000 |
commit | f283e4040e0dea301c94278470515ca6472af8c2 (patch) | |
tree | 72ddc03245026420fe128c5cd149fa9fa8103d80 /templates/show_tv_adminctl.inc.php | |
parent | 2faea5f7b345ba0d9319d4466261b52c7bff0325 (diff) | |
download | ampache-f283e4040e0dea301c94278470515ca6472af8c2.tar.gz ampache-f283e4040e0dea301c94278470515ca6472af8c2.tar.bz2 ampache-f283e4040e0dea301c94278470515ca6472af8c2.zip |
few more tweaks and some work on the tv pages
Diffstat (limited to 'templates/show_tv_adminctl.inc.php')
-rw-r--r-- | templates/show_tv_adminctl.inc.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/show_tv_adminctl.inc.php b/templates/show_tv_adminctl.inc.php new file mode 100644 index 00000000..d3bbcf5e --- /dev/null +++ b/templates/show_tv_adminctl.inc.php @@ -0,0 +1,34 @@ +<?php +/* + + Copyright (c) 2001 - 2006 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. + +*/ +?> +<h3><?php echo _('Admin Controls'); ?></h3> +<?php if (!$playlist->vote_active()) { ?> +<form id="form_playlist"> +<?php echo _('Base Playlist'); ?>: +<?php show_playlist_dropdown(); ?> +<input type="button" onclick="ajaxPost('<?php conf('ajax_url'); ?>?action=tv_activate<?php echo conf('ajax_info'); ?>','form_playlist');return true;" value="<?php echo _('Activate'); ?>" /> +</form> + +<?php } else { ?> + + +<?php } ?> |