diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 3 |
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); |