summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-01-02 08:45:38 -0200
committerRenato Botelho <renato@netgate.com>2017-01-02 08:45:38 -0200
commit43d72226845d51376adf9eda0b6e3c60fa130d26 (patch)
treecebaed0c0ac602555a0dc9ee7f37fb5f07ef8998 /src/usr/local/www/firewall_rules_edit.php
parent6c536f390de597228c19116f178b6945b9d8dfe0 (diff)
parentcffe1271c962ac9159c43fd214c735ceb4b5e1b8 (diff)
downloadpfsense-43d72226845d51376adf9eda0b6e3c60fa130d26.zip
pfsense-43d72226845d51376adf9eda0b6e3c60fa130d26.tar.gz
Merge pull request #3336 from phil-davis/patch-4
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 5e5b1d7..d8f798e 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1288,7 +1288,7 @@ $group->add(new Form_Select(
((isset($pconfig['icmptype']) && strlen($pconfig['icmptype']) > 0) ? explode(',', $pconfig['icmptype']) : 'any'),
isset($icmplookup[$pconfig['ipprotocol']]) ? $icmplookup[$pconfig['ipprotocol']]['icmptypes'] : array('any' => gettext('any')),
true
-))->setHelp('<div id="icmptype_help">' . (isset($icmplookup[$pconfig['ipprotocol']]) ? gettext($icmplookup[$pconfig['ipprotocol']]['helpmsg']) : '') . '</div>');
+))->setHelp('<div id="icmptype_help">' . (isset($icmplookup[$pconfig['ipprotocol']]) ? $icmplookup[$pconfig['ipprotocol']]['helpmsg'] : '') . '</div>');
$group->addClass('icmptype_section');
$section->add($group);
@@ -1963,7 +1963,7 @@ events.push(function() {
$a[] = sprintf("'%s':'%s'", $icmp_k, $icmp_v);
}
$out1 .= "icmptypes['{$k}'] = {\n\t" . implode(",\n\t", $a) . "\n};\n";
- $out2 .= "icmphelp['{$k}'] = '" . str_replace("'", '&apos;', gettext($v['helpmsg'])) . "';\n";
+ $out2 .= "icmphelp['{$k}'] = '" . str_replace("'", '&apos;', $v['helpmsg']) . "';\n";
}
echo $out1;
echo $out2;
OpenPOWER on IntegriCloud