diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-15 22:33:41 -0600 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-16 07:41:52 -0500 |
commit | 98f28b4ec2d756d9e944cbed7c8919faf42563d9 (patch) | |
tree | fa98194cea5fcf77f82dd8cf61d4cacd690c598b | |
parent | 7457ba513583ea6a9569ff6866f81dc251f79a12 (diff) | |
download | pfsense-98f28b4ec2d756d9e944cbed7c8919faf42563d9.zip pfsense-98f28b4ec2d756d9e944cbed7c8919faf42563d9.tar.gz |
* Converted alerts to callouts.
* Split first message into paragraphs to make it more readable
* Moved 2nd and 3rd messages above the applicable panels, instead of being below them; that's how it was in v2.x
-rw-r--r-- | src/usr/local/www/services_dnsmasq.php | 45 |
1 files changed, 19 insertions, 26 deletions
diff --git a/src/usr/local/www/services_dnsmasq.php b/src/usr/local/www/services_dnsmasq.php index 9cdae22..4d1920e 100644 --- a/src/usr/local/www/services_dnsmasq.php +++ b/src/usr/local/www/services_dnsmasq.php @@ -341,23 +341,23 @@ $section->addInput(new Form_Textarea( $form->add($section); print($form); + +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 you don\'t use that option (or if you use a static IP address on WAN),' . + ' you must manually specify at least one DNS server on the %1$sSystem > General Setup%2$s page.'), + '<a href="system.php">', + '</a>') . + '</p>' +); + +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="infoblock blockopen"> -<?php -print_info_box( - sprintf( - 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.' . - ' The DNS forwarder will use the DNS servers entered in %1$sSystem: General setup%3$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 you don\'t use that option (or if you use a static IP address on WAN),' . - ' you must manually specify at least one DNS server on the %2$sSystem:General setup%3$s page.'), - '<a href="system.php">', - '<a href="system.php">', - '</a>'), - 'info', false); -?> -</div> <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext("Host Overrides")?></h2></div> @@ -434,12 +434,11 @@ endforeach; </a> </nav> -<div class="infoblock blockopen"> <?php -print_info_box(gettext("Entries in this section override individual results from the forwarders.") . " " . - gettext("Use these for changing DNS results or for adding custom DNS records."), 'info', false); +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> <div class="panel panel-default"> <div class="panel-heading"><h2 class="panel-title"><?=gettext("Domain Overrides")?></h2></div> @@ -488,11 +487,5 @@ endforeach; </a> </nav> -<div class="infoblock blockopen"> -<?php -print_info_box(gettext("Entries in this area override an entire domain, and subdomains, by specifying an". - " authoritative DNS server to be queried for that domain."), 'info', false); -?> -</div> <?php include("foot.inc"); |