Checked gettext() implementation on firewall_rules_edit.php

This commit is contained in:
Carlos Eduardo Ramos 2010-07-13 13:01:48 -03:00
parent 7a808e01be
commit 5e04e6299f

View File

@ -734,7 +734,7 @@ include("head.inc");
if (is_array($config['nat']['rule'])) {
foreach( $config['nat']['rule'] as $index => $nat_rule ) {
if( isset($nat_rule['associated-rule-id']) && $nat_rule['associated-rule-id']==$pconfig['associated-rule-id'] ) {
echo "<a href=\"firewall_nat_edit.php?id={$index}\">View the NAT rule</a><br>";
printf("<a href=\"firewall_nat_edit.php?id=%s\">%s</a><br>", $index, gettext("View the NAT rule"));
break;
}
}