summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorstilez <stilez@users.noreply.github.com>2016-09-20 20:45:48 +0100
committerRenato Botelho <renato@netgate.com>2016-10-12 12:51:21 -0300
commitb9f6e3516ff9465d53cc2ff80f86247dc6f86701 (patch)
treed562f7eb32aac6637c5db6b37218b61ea154b9a1 /src/usr/local/www/firewall_rules_edit.php
parent59db5c43f18ed3fc53addf7e3eada790d44f789d (diff)
downloadpfsense-b9f6e3516ff9465d53cc2ff80f86247dc6f86701.zip
pfsense-b9f6e3516ff9465d53cc2ff80f86247dc6f86701.tar.gz
lowercasing and sprintf of setHelp
(cherry picked from commit 705679339705657832422f5fdc336b5e39d48b79)
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 558a845..a7d3268 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1408,8 +1408,7 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
(isset($portValues[ $pconfig[$type .'endport'] ]) ? null : $pconfig[$type .'endport'])
))->setHelp('Custom');
- $group->setHelp("Specify the {$name} port or port range for this rule. " .
- 'The "To" field may be left empty if only filtering a single port.');
+ $group->setHelp(sprintf('Specify the %s port or port range for this rule. The "To" field may be left empty if only filtering a single port.',strtolower($name)));
$group->addClass(($type == 'src') ? 'srcprtr':'dstprtr');
$section->add($group);
OpenPOWER on IntegriCloud