From f89098d3ac6ea2045f34c586d1433ca40e6df9c7 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Sun, 9 Sep 2007 22:17:13 +0000 Subject: few more tweaks to localplay, added in the mpd table creation mojo, just need to finish install and then build the interface --- templates/show_localplay_controllers.inc.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'templates/show_localplay_controllers.inc.php') diff --git a/templates/show_localplay_controllers.inc.php b/templates/show_localplay_controllers.inc.php index 3a45b481..cfbe7e30 100644 --- a/templates/show_localplay_controllers.inc.php +++ b/templates/show_localplay_controllers.inc.php @@ -31,13 +31,22 @@ $web_path = Config::get('web_path'); player_loaded()) { continue; } $localplay->format(); + if ($localplay->is_enabled()) { + $action = 'confirm_uninstall_localplay'; + $action_txt = _('Disable'); + } + else { + $action = 'install_localplay'; + $action_txt = _('Activate'); + } ?> f_name); ?> f_description); ?> f_version); ?> - + type); ?>"> -- cgit