summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_unbound.php
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-02-15 15:16:31 +0000
committerNewEraCracker <neweracracker@gmail.com>2016-02-15 15:16:31 +0000
commitf6aebbcc55b4e83d4a05f503b5491ce5e6fb043b (patch)
tree342dc6a643802153d70f43978598a62f04d8107f /src/usr/local/www/services_unbound.php
parent703342b0354edeeb3179540715114a380c2f335c (diff)
downloadpfsense-f6aebbcc55b4e83d4a05f503b5491ce5e6fb043b.zip
pfsense-f6aebbcc55b4e83d4a05f503b5491ce5e6fb043b.tar.gz
Bring all calls of print_info_box to same standard
The call itself to print_info_box already echoes the content. There is no need of additionally using the short-open-echo tag on those calls to echo return value. The previous implementation shouldn't yell any visible issues as return is 'NULL' (undefined) which casts to an empty string when printing. But, just for the sake of conformity, this changes are advisable in my opinion.
Diffstat (limited to 'src/usr/local/www/services_unbound.php')
-rw-r--r--src/usr/local/www/services_unbound.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_unbound.php b/src/usr/local/www/services_unbound.php
index d92e6d0..5e748ee 100644
--- a/src/usr/local/www/services_unbound.php
+++ b/src/usr/local/www/services_unbound.php
@@ -556,14 +556,14 @@ endforeach;
</nav>
<div class="infoblock">
- <?=print_info_box(sprintf(gettext("If the DNS Resolver is enabled, the DHCP".
+ <?php 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".
" entered in %sSystem: General setup%s".
" 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', false)?>
+ " is checked."), '<a href="system.php">', '</a>'), 'info', false); ?>
</div>
<?php include("foot.inc");
OpenPOWER on IntegriCloud