summaryrefslogtreecommitdiffstats
path: root/admin/modules.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-04-09 05:24:08 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-04-09 05:24:08 +0000
commit79a890b7bf7bd9b31e6879c64d5651cef02975f3 (patch)
tree1b675839bf9f2de56f6adcb8c2067c354ecaf1ca /admin/modules.php
parent7b1e57d0ccdda52881645f7c16f42ceb5da15881 (diff)
downloadampache-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/modules.php')
-rw-r--r--admin/modules.php15
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&amp;' . $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;