diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-12-03 15:26:17 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-12-03 15:26:17 -0600 |
commit | dc77f0053210af6b9ec24d4ea97268b832eddfdf (patch) | |
tree | 2741f29773ac835805b149076b25da18876ff72f /usr | |
parent | 43180e9c49b913b5c6361822d839d51074890c20 (diff) | |
download | pfsense-dc77f0053210af6b9ec24d4ea97268b832eddfdf.zip pfsense-dc77f0053210af6b9ec24d4ea97268b832eddfdf.tar.gz |
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
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/services_unbound.php | 18 |
1 files changed, 1 insertions, 17 deletions
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() { </td> </tr> <tr> - <td width="22%" valign="top" class="vncellreq"><?=gettext("TXT Comment Support");?></td> - <td width="78%" class="vtable"><p> - <input name="txtsupport" type="checkbox" id="txtsupport" value="yes" <?php echo (isset($pconfig['txtsupport']) ? "checked=\"checked\"" : "");?> /> - <strong><?=gettext("If this option is set, then any descriptions associated with Host entries and DHCP Static mappings will create a corresponding TXT record.");?><br /> - </strong></p> - </td> - </tr> - <tr> <td width="22%" valign="top" class="vncellreq"><?=gettext("Advanced");?></td> <td width="78%" class="vtable"> <div id="showadvbox" <?php if ($pconfig['custom_options']) echo "style='display:none'"; ?>> |