summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_unbound_acls.php
diff options
context:
space:
mode:
authorbruno <bruno.stein@bluepex.com>2016-01-25 09:13:23 -0200
committerbruno <bruno.stein@bluepex.com>2016-01-25 09:13:23 -0200
commit4bb7c0d1488ff4ad7d690e54365a878c47f6d7f8 (patch)
treeb540d7ebcdccfcca2cd175d61bef061a513b511c /src/usr/local/www/services_unbound_acls.php
parenta2c5280d92c2707c27cbef318b1ced7122c32b0e (diff)
downloadpfsense-4bb7c0d1488ff4ad7d690e54365a878c47f6d7f8.zip
pfsense-4bb7c0d1488ff4ad7d690e54365a878c47f6d7f8.tar.gz
add call gettext function in the services menu
Diffstat (limited to 'src/usr/local/www/services_unbound_acls.php')
-rw-r--r--src/usr/local/www/services_unbound_acls.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/usr/local/www/services_unbound_acls.php b/src/usr/local/www/services_unbound_acls.php
index cd52d31..abb3471 100644
--- a/src/usr/local/www/services_unbound_acls.php
+++ b/src/usr/local/www/services_unbound_acls.php
@@ -200,11 +200,10 @@ if ($_POST) {
}
$actionHelp =
- '<span class="text-success"><strong>Deny:</strong></span> Stops queries from hosts within the netblock defined below.' . '<br />' .
- '<span class="text-success"><strong>Refuse:</strong></span> Stops queries from hosts within the netblock defined below, but sends a DNS rcode REFUSED error message back to the client.' . '<br />' .
- '<span class="text-success"><strong>Allow:</strong></span> Allow queries from hosts within the netblock defined below.' . '<br />' .
- '<span class="text-success"><strong>Allow Snoop:</strong></span> Allow recursive and nonrecursive access from hosts within the netblock defined below. Used for cache snooping and ideally should only be configured for your administrative host.';
-
+ sprintf(gettext('%sDeny:%s Stops queries from hosts within the netblock defined below.%s'), '<span class="text-success"><strong>', '</strong></span>', '<br />') .
+ sprintf(gettext('%sRefuse:%s Stops queries from hosts within the netblock defined below, but sends a DNS rcode REFUSED error message back to the client.%s'), '<span class="text-success"><strong>', '</strong></span>', '<br />') .
+ sprintf(gettext('%sAllow:%s Allow queries from hosts within the netblock defined below.%s'), '<span class="text-success"><strong>', '</strong></span>', '<br />') .
+ sprintf(gettext('%sAllow Snoop:%s Allow recursive and nonrecursive access from hosts within the netblock defined below. Used for cache snooping and ideally should only be configured for your administrative host.'), '<span class="text-success"><strong>', '</strong></span>');
$pgtitle = array(gettext("Services"), gettext("DNS Resolver"), gettext("Access Lists"));
$shortcut_section = "resolver";
OpenPOWER on IntegriCloud