diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-04-09 05:24:08 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-04-09 05:24:08 +0000 |
commit | 79a890b7bf7bd9b31e6879c64d5651cef02975f3 (patch) | |
tree | 1b675839bf9f2de56f6adcb8c2067c354ecaf1ca /admin | |
parent | 7b1e57d0ccdda52881645f7c16f42ceb5da15881 (diff) | |
download | ampache-79a890b7bf7bd9b31e6879c64d5651cef02975f3.tar.gz ampache-79a890b7bf7bd9b31e6879c64d5651cef02975f3.tar.bz2 ampache-79a890b7bf7bd9b31e6879c64d5651cef02975f3.zip |
updated localplay buttons again as well as mpd controller updates from sigger
Diffstat (limited to 'admin')
-rw-r--r-- | admin/modules.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/admin/modules.php b/admin/modules.php index ea2fb6f0..9c64e271 100644 --- a/admin/modules.php +++ b/admin/modules.php @@ -42,6 +42,21 @@ switch ($action) { $body = ''; show_confirmation($title,$body,$url); break; + case 'confirm_remove_localplay_preferences': + $type = scrub_in($_REQUEST['type']); + $url = conf('web_path') . '/admin/modules.php?action=remove_localplay_preferences&' . $type; + $title = _('Are you sure you want to remove this module?'); + $body = ''; + show_confirmation($title,$body,$url,1); + break; + case 'remove_localplay_preferences': + $type = scrub_in($_REQUEST['type']); + remove_localplay_preferences($type); + $url = conf('web_path') . '/admin/modules.php'; + $title = _('Module Deactivated'); + $body = ''; + show_confirmation($title,$body,$url); + break; default: require_once (conf('prefix') . '/templates/show_modules.inc.php'); break; |