diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-11 22:17:49 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-08-11 22:17:49 -0600 |
commit | e36c52f4c0cc9819f7fd6ed6daa3e0f36d57bba5 (patch) | |
tree | e64bbc4763efa0b1c9eb6003e8a6fd39de88e512 /usr/local/www/firewall_rules_edit.php | |
parent | 4c807d76c6329b09b490a0263f072f7b4baa1d3a (diff) | |
download | pfsense-e36c52f4c0cc9819f7fd6ed6daa3e0f36d57bba5.zip pfsense-e36c52f4c0cc9819f7fd6ed6daa3e0f36d57bba5.tar.gz |
Remove or simplify some (s)printf calls.
Diffstat (limited to 'usr/local/www/firewall_rules_edit.php')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index d722c01..77d56d4 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -741,7 +741,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'] ) { - printf("<a href=\"firewall_nat_edit.php?id=%s\">%s</a><br>", $index, gettext("View the NAT rule")); + echo "<a href=\"firewall_nat_edit.php?id={$index}\">" . gettext("View the NAT rule") . "</a><br>"; break; } } |