diff options
author | Phil Davis <phil.davis@inf.org> | 2016-04-11 06:32:50 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-04-11 06:32:50 +0545 |
commit | bd3b483a87f8118983400d1e9a76c1063ee8e3d7 (patch) | |
tree | 7f743e9e800733a66c2a7065dec602b49c5c4941 /src/usr/local/www/services_dnsmasq.php | |
parent | 04e646ebd2f63ec03ece64dda5505ab374699b50 (diff) | |
download | pfsense-bd3b483a87f8118983400d1e9a76c1063ee8e3d7.zip pfsense-bd3b483a87f8118983400d1e9a76c1063ee8e3d7.tar.gz |
Make forwarder info boxes consistent with resolver
DNS Resolver just has a single info box at the bottom of its settings page.
DNS Forwarder has different print_callout stuff that looks inconsistent with the rest of the GUI pages.
I have made it consistent with DNS Resolver, which does not have those bits of text describing host and domain overrides.
What do you think?
Diffstat (limited to 'src/usr/local/www/services_dnsmasq.php')
-rw-r--r-- | src/usr/local/www/services_dnsmasq.php | 46 |
1 files changed, 18 insertions, 28 deletions
diff --git a/src/usr/local/www/services_dnsmasq.php b/src/usr/local/www/services_dnsmasq.php index f82a0f9..df2674a 100644 --- a/src/usr/local/www/services_dnsmasq.php +++ b/src/usr/local/www/services_dnsmasq.php @@ -343,28 +343,6 @@ $form->add($section); print($form); ?> -<div class="infoblock"> -<?php -print_callout('<p>' . - gettext('If the DNS forwarder 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 forwarder.') . '</p><p>' . - sprintf(gettext('The DNS forwarder will use the DNS servers entered in %1$sSystem > General Setup%2$s or' . - ' those obtained via DHCP or PPP on WAN if "Allow DNS server list to be overridden by DHCP/PPP on WAN" is checked.' . - ' If that option is not used (or if a static IP address is used on WAN),' . - ' at least one DNS server must be manually specified on the %1$sSystem > General Setup%2$s page.'), - '<a href="system.php">', - '</a>') . - '</p>' -); - -?> -</div> -<?php -print_callout(gettext("Entries in this section override individual results from the forwarders.") . " " . - gettext("Use these for changing DNS results or for adding custom DNS records.") -); -?> - <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext("Host Overrides")?></h2></div> <div class="panel-body table-responsive"> @@ -440,12 +418,6 @@ endforeach; </a> </nav> -<?php -print_callout(gettext("Entries in this area override an entire domain, and subdomains, by specifying an". - " authoritative DNS server to be queried for that domain.") -); -?> - <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext("Domain Overrides")?></h2></div> <div class="panel-body table-responsive"> @@ -492,6 +464,24 @@ endforeach; <?=gettext('Add')?> </a> </nav> +<div class="infoblock"> +<?php +print_info_box( + '<p>' . + gettext('If the DNS forwarder 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 forwarder.') . '</p><p>' . + sprintf(gettext('The DNS forwarder will use the DNS servers entered in %1$sSystem > General Setup%2$s or' . + ' those obtained via DHCP or PPP on WAN if "Allow DNS server list to be overridden by DHCP/PPP on WAN" is checked.' . + ' If that option is not used (or if a static IP address is used on WAN),' . + ' at least one DNS server must be manually specified on the %1$sSystem > General Setup%2$s page.'), + '<a href="system.php">', + '</a>') . + '</p>', + 'info', + false +); +?> +</div> <?php include("foot.inc"); |