From dc77f0053210af6b9ec24d4ea97268b832eddfdf Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Thu, 3 Dec 2015 15:26:17 -0600 Subject: Remove txtsupport from Unbound. Of limited use, and the back end code was never ported over from the package (and is messy to do so). Ticket #5545 --- usr/local/www/services_unbound.php | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'usr/local') diff --git a/usr/local/www/services_unbound.php b/usr/local/www/services_unbound.php index 528cdb6..fc84327 100644 --- a/usr/local/www/services_unbound.php +++ b/usr/local/www/services_unbound.php @@ -76,9 +76,6 @@ if (isset($config['unbound']['regdhcp'])) { if (isset($config['unbound']['regdhcpstatic'])) { $pconfig['regdhcpstatic'] = true; } -if (isset($config['unbound']['txtsupport'])) { - $pconfig['txtsupport'] = true; -} $pconfig['port'] = $config['unbound']['port']; $pconfig['custom_options'] = base64_decode($config['unbound']['custom_options']); @@ -159,11 +156,6 @@ if ($_POST) { } else { unset($a_unboundcfg['regdhcpstatic']); } - if (isset($_POST['txtsupport'])) { - $a_unboundcfg['txtsupport'] = true; - } else { - unset($a_unboundcfg['txtsupport']); - } if (is_array($_POST['active_interface']) && !empty($_POST['active_interface'])) { $a_unboundcfg['active_interface'] = implode(",", $_POST['active_interface']); } @@ -213,7 +205,7 @@ include_once("head.inc"); function enable_change(enable_over) { var endis; endis = !(jQuery('#enable').is(":checked") || enable_over); - jQuery("#active_interface,#outgoing_interface,#dnssec,#forwarding,#regdhcp,#regdhcpstatic,#dhcpfirst,#port,#txtsupport,#custom_options").prop('disabled', endis); + jQuery("#active_interface,#outgoing_interface,#dnssec,#forwarding,#regdhcp,#regdhcpstatic,#dhcpfirst,#port,#custom_options").prop('disabled', endis); } function show_advanced_dns() { jQuery("#showadv").show(); @@ -359,14 +351,6 @@ function show_advanced_dns() { - -

- /> -
-

- - -
> -- cgit v1.1