diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-04-14 01:22:21 -0700 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-04-18 11:18:55 -0400 |
commit | faa020a3999e24bed9ca4294604f425b6188edfd (patch) | |
tree | 3c37aaab9245c41093672c43b2ac87f6ec1fd316 /src/usr/local/www/firewall_nat_out.php | |
parent | c228156fc41eae97128dca078b518eb7b4e96b35 (diff) | |
download | pfsense-faa020a3999e24bed9ca4294604f425b6188edfd.zip pfsense-faa020a3999e24bed9ca4294604f425b6188edfd.tar.gz |
Firewall / Rules - Underscore Line Wrap
Replace underscore with space in display text of certain fields to allow them to line wrap. ex: long alias names
(cherry picked from commit ece727a7b64a8766ad3087f8f59c0f1784e7a514)
Diffstat (limited to 'src/usr/local/www/firewall_nat_out.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_out.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_nat_out.php b/src/usr/local/www/firewall_nat_out.php index 442bb12..ff63fec 100644 --- a/src/usr/local/www/firewall_nat_out.php +++ b/src/usr/local/www/firewall_nat_out.php @@ -384,7 +384,7 @@ print($form); <?php endif; ?> - <?=htmlspecialchars($natent['source']['network'])?> + <?=str_replace('_', ' ', htmlspecialchars($natent['source']['network']))?> <?php if (isset($alias['src'])): ?> @@ -407,7 +407,7 @@ print($form); <?php endif; ?> - <?=htmlspecialchars($natent['sourceport'])?> + <?=str_replace('_', ' ', htmlspecialchars($natent['sourceport']))?> <?php if (isset($alias['srcport'])): ?> @@ -434,7 +434,7 @@ print($form); <?php endif; ?> - <?=htmlspecialchars($natent['destination']['address'])?> + <?=str_replace('_', ' ', htmlspecialchars($natent['destination']['address']))?> <?php if (isset($alias['dst'])): ?> @@ -458,7 +458,7 @@ print($form); <?php endif; ?> - <?=htmlspecialchars($natent['dstport'])?> + <?=str_replace('_', ' ', htmlspecialchars($natent['dstport']))?> <?php if (isset($alias['dstport'])): ?> |