diff options
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; |