summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-02-04 15:10:34 -0500
committerSteve Beaver <sbeaver@netgate.com>2017-02-04 15:10:34 -0500
commit1e0c91d35b299c6650bfb215835a18338006af64 (patch)
treebc24474aff4f9a1fe6463795095b03126f479378 /src/usr/local/www
parent70ada8192a8aa850c0ab7accd57d9d22fd2e49f9 (diff)
downloadpfsense-1e0c91d35b299c6650bfb215835a18338006af64.zip
pfsense-1e0c91d35b299c6650bfb215835a18338006af64.tar.gz
Fixed embedded '%' that was breaking setText.
Diffstat (limited to 'src/usr/local/www')
-rw-r--r--src/usr/local/www/system_advanced_firewall.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/usr/local/www/system_advanced_firewall.php b/src/usr/local/www/system_advanced_firewall.php
index 7779133..80ea832 100644
--- a/src/usr/local/www/system_advanced_firewall.php
+++ b/src/usr/local/www/system_advanced_firewall.php
@@ -427,8 +427,7 @@ $section->addInput(new Form_Checkbox(
isset($config['system']['disablefilter'])
))->setHelp('Note: This converts %s into a routing only platform!<br/>'.
'Note: This will also turn off NAT! To only disable NAT, '.
- 'and not firewall rules, visit the <a href="firewall_nat_out.php">Outbound '.
- 'NAT</a> page.', [$g["product_name"]]);
+ 'and not firewall rules, visit the %s page.', $g["product_name"], '<a href="firewall_nat_out.php">Outbound NAT</a>');
$section->addInput(new Form_Checkbox(
'disablescrub',
@@ -448,7 +447,7 @@ $group->add(new Form_Input(
))->setHelp('When the number of state entries exceeds this value, adaptive '.
'scaling begins. All timeout values are scaled linearly with factor '.
'(adaptive.end - number of states) / (adaptive.end - adaptive.start). '.
- 'Defaults to 60% of the Firewall Maximum States value');
+ 'Defaults to 60%% of the Firewall Maximum States value');
$group->add(new Form_Input(
'adaptiveend',
@@ -460,7 +459,7 @@ $group->add(new Form_Input(
'become zero, effectively purging all state entries immediately. This '.
'value is used to define the scale factor, it should not actually be '.
'reached (set a lower state limit, see below). '.
- 'Defaults to 120% of the Firewall Maximum States value');
+ 'Defaults to 120%% of the Firewall Maximum States value');
$group->setHelp('Timeouts for states can be scaled adaptively as the number of '.
'state table entries grows. Leave blank to use default values, set to '.
@@ -476,7 +475,7 @@ $section->addInput(new Form_Input(
['min' => 1, 'placeholder' => pfsense_default_state_size()]
))->setHelp('Maximum number of connections to hold in the firewall state table. '.
'<br/>Note: Leave this blank for the default. On this system the default '.
- 'size is: %d', [pfsense_default_state_size()]);
+ 'size is: %d', pfsense_default_state_size());
$section->addInput(new Form_Input(
'maximumtableentries',
@@ -487,7 +486,7 @@ $section->addInput(new Form_Input(
))->setHelp('Maximum number of table entries for systems such as aliases, '.
'sshlockout, snort, etc, combined.<br/>Note: Leave this blank for the '.
'default. On this system the default size is: %d',
- [pfsense_default_table_entries_size()]);
+ pfsense_default_table_entries_size());
$section->addInput(new Form_Input(
'maximumfrags',
OpenPOWER on IntegriCloud