$response_id]); if ($result) { ui_print_success_message(__('Response deleted succesfully')); } else { ui_print_error_message(__('Response cannot be deleted')); } break; } switch ($mode) { case 'list': include 'event_responses.list.php'; break; case 'editor': include 'event_responses.editor.php'; break; }