summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-11-10 11:35:50 +0545
committerStephen Beaver <sbeaver@netgate.com>2015-11-10 09:58:40 -0500
commit520ee1d09d3171eba24dcecc6fa14e5b4910132c (patch)
tree0795a097ec10835719d17f5fd10ed8fdbe770007 /src
parenta2e6d7f82f4811c743542837bf56c4336a6711eb (diff)
downloadpfsense-520ee1d09d3171eba24dcecc6fa14e5b4910132c.zip
pfsense-520ee1d09d3171eba24dcecc6fa14e5b4910132c.tar.gz
Unbound UI Review
Few things found when looking at the Unbound UI code
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/services_unbound.php12
-rw-r--r--src/usr/local/www/services_unbound_advanced.php8
2 files changed, 10 insertions, 10 deletions
diff --git a/src/usr/local/www/services_unbound.php b/src/usr/local/www/services_unbound.php
index aa426b8..5662757 100644
--- a/src/usr/local/www/services_unbound.php
+++ b/src/usr/local/www/services_unbound.php
@@ -334,7 +334,7 @@ $section->addInput(new Form_Checkbox(
$section->addInput(new Form_Checkbox(
'txtsupport',
'TXT Comment Support',
- 'Register DHCP static mappings in the DNS Resolver',
+ 'Create TXT records',
$pconfig['txtsupport']
))->setHelp('Any descriptions associated with Host entries and DHCP Static mappings will create a corresponding TXT record.');
@@ -380,16 +380,16 @@ events.push(function(){
disableInput('btnadvdns', hide);
}
- // Make the 'aditional options' button a plain button, not a submit button
+ // Make the 'additional options' button a plain button, not a submit button
$("#btnadvdns").prop('type','button');
- // Un-hide aditional controls
+ // Un-hide additional controls
$("#btnadvdns").click(function() {
hideInput('custom_options', false);
});
- // When 'enable' is clicked, diable/enable the following three checkboxes
+ // When 'enable' is clicked, disable/enable the following three checkboxes
$('#enable').click(function() {
disableDHCP();
});
@@ -534,9 +534,9 @@ endforeach;
<?=print_info_box(sprintf(gettext("If the DNS Resolver is enabled, the DHCP".
" service (if enabled) will automatically serve the LAN IP".
" address as a DNS server to DHCP clients so they will use".
- " the DNS Resolver. If Forwarding, is enabled, the DNS Resolver will use the DNS servers".
+ " the DNS Resolver. If Forwarding is enabled, the DNS Resolver will use the DNS servers".
" entered in %sSystem: General setup%s".
- " or those obtained via DHCP or PPP on WAN if the &quot;Allow".
+ " or those obtained via DHCP or PPP on WAN if &quot;Allow".
" DNS server list to be overridden by DHCP/PPP on WAN&quot;".
" is checked."),'<a href="system.php">','</a>'), info)?>
</div>
diff --git a/src/usr/local/www/services_unbound_advanced.php b/src/usr/local/www/services_unbound_advanced.php
index 9eb68f3..3e648db 100644
--- a/src/usr/local/www/services_unbound_advanced.php
+++ b/src/usr/local/www/services_unbound_advanced.php
@@ -129,7 +129,7 @@ if ($_POST) {
if (isset($_POST['outgoing_num_tcp']) && !in_array($_POST['outgoing_num_tcp'], array('0', '10', '20', '30', '40', '50'), true)) {
$input_errors[] = "A valid value must be specified for Outgoing TCP Buffers.";
}
- if (isset($_POST['outgoing_num_tcp']) && !in_array($_POST['incoming_num_tcp'], array('0', '10', '20', '30', '40', '50'), true)) {
+ if (isset($_POST['incoming_num_tcp']) && !in_array($_POST['incoming_num_tcp'], array('0', '10', '20', '30', '40', '50'), true)) {
$input_errors[] = "A valid value must be specified for Incoming TCP Buffers.";
}
if (isset($_POST['edns_buffer_size']) && !in_array($_POST['edns_buffer_size'], array('512', '1480', '4096'), true)) {
@@ -262,7 +262,7 @@ $section->addInput(new Form_Checkbox(
$section->addInput(new Form_Checkbox(
'prefetchkey',
'Prefetch DNS Key Support',
- 'DNSKEYs are fetched earlier in the validation process when a Delegation signer is encountered',
+ 'DNSKEYs are fetched earlier in the validation process when a Delegation signer is encountered',
$pconfig['prefetchkey']
))->setHelp('This helps lower the latency of requests but does utilize a little more CPU. See: <a href="http://en.wikipedia.org/wiki/List_of_DNS_record_types">Wikipedia</a>');
@@ -292,7 +292,7 @@ $section->addInput(new Form_Select(
'Incoming TCP Buffers',
$pconfig['incoming_num_tcp'],
array_combine(array("0", "10", "20", "30", "50", "50"), array("0", "10", "20", "30", "50", "50"))
-))->setHelp('The number of outgoing TCP buffers to allocate per thread. The default value is 10. If 0 is selected then no TCP queries, to authoritative servers, are done.');
+))->setHelp('The number of incoming TCP buffers to allocate per thread. The default value is 10. If 0 is selected then no TCP queries, to authoritative servers, are done.');
$section->addInput(new Form_Select(
'edns_buffer_size',
@@ -369,7 +369,7 @@ $section->addInput(new Form_Checkbox(
'disable_auto_added_access_control',
'Disable auto-added access control',
'disable the automatically-added access control entries',
- $pconfig['hdisable_auto_added_access_control']
+ $pconfig['disable_auto_added_access_control']
))->setHelp('By default, IPv4 and IPv6 networks residing on internal interfaces of this system are permitted. ' .
'Allowed networks must be manually configured on the Access Lists tab if the auto-added entries are disabled.');
OpenPOWER on IntegriCloud