summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-04-14 01:22:21 -0700
committerStephen Beaver <sbeaver@netgate.com>2016-04-18 11:18:55 -0400
commitfaa020a3999e24bed9ca4294604f425b6188edfd (patch)
tree3c37aaab9245c41093672c43b2ac87f6ec1fd316 /src/usr/local/www/firewall_nat_out.php
parentc228156fc41eae97128dca078b518eb7b4e96b35 (diff)
downloadpfsense-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.php8
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'])):
?>
OpenPOWER on IntegriCloud