diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-22 16:08:49 +0545 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-30 10:31:58 -0200 |
commit | 65b8c1ed0ae8c1cd349932c4860cd2a3c4cda02c (patch) | |
tree | 03cb66f229a806469b07fccf0276659eb0be4697 /src | |
parent | edfefd7ee9b5a8d7f51c356b8ad60af9f760b505 (diff) | |
download | pfsense-65b8c1ed0ae8c1cd349932c4860cd2a3c4cda02c.zip pfsense-65b8c1ed0ae8c1cd349932c4860cd2a3c4cda02c.tar.gz |
Required fields in NAT pages
(cherry picked from commit f2e58c16307795f572ff443e999c54eb6a9839e7)
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/firewall_nat_1to1_edit.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/firewall_nat_edit.php | 8 | ||||
-rw-r--r-- | src/usr/local/www/firewall_nat_npt_edit.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/firewall_nat_out_edit.php | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php index 3f5bc48..e34a969 100644 --- a/src/usr/local/www/firewall_nat_1to1_edit.php +++ b/src/usr/local/www/firewall_nat_1to1_edit.php @@ -498,12 +498,12 @@ $section->addInput(new Form_Select( $section->addInput(new Form_IpAddress( 'external', - 'External subnet IP', + '*External subnet IP', $pconfig['external'] ))->setHelp('Enter the external (usually on a WAN) subnet\'s starting address for the 1:1 mapping. ' . 'The subnet mask from the internal address below will be applied to this IP address.'); -$group = new Form_Group('Internal IP'); +$group = new Form_Group('*Internal IP'); $group->add(new Form_Checkbox( 'srcnot', diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php index 4ea26ea..9d8543e 100644 --- a/src/usr/local/www/firewall_nat_edit.php +++ b/src/usr/local/www/firewall_nat_edit.php @@ -820,7 +820,7 @@ $group->setHelp('Specify the source port or port range for this rule. This is us $section->add($group); -$group = new Form_Group('Destination'); +$group = new Form_Group('*Destination'); $group->add(new Form_Checkbox( 'dstnot', @@ -845,7 +845,7 @@ $group->add(new Form_IpAddress( $section->add($group); -$group = new Form_Group('Destination port range'); +$group = new Form_Group('*Destination port range'); $group->addClass('dstportrange'); $group->add(new Form_Select( @@ -883,13 +883,13 @@ $section->add($group); $section->addInput(new Form_IpAddress( 'localip', - 'Redirect target IP', + '*Redirect target IP', $pconfig['localip'], 'ALIASV4V6' ))->setHelp('Enter the internal IP address of the server on which to map the ports.' . '<br />' . 'e.g.: 192.168.1.12'); -$group = new Form_Group('Redirect target port'); +$group = new Form_Group('*Redirect target port'); $group->addClass('lclportrange'); $group->add(new Form_Select( diff --git a/src/usr/local/www/firewall_nat_npt_edit.php b/src/usr/local/www/firewall_nat_npt_edit.php index 4ab58a5..d54ed36 100644 --- a/src/usr/local/www/firewall_nat_npt_edit.php +++ b/src/usr/local/www/firewall_nat_npt_edit.php @@ -242,7 +242,7 @@ $section->addInput(new Form_Checkbox( $section->addInput(new Form_IpAddress( 'src', - 'Address', + '*Address', $pconfig['src'], 'V6' ))->addMask('srcmask', $pconfig['srcmask'])->setHelp('Internal (LAN) ULA IPv6 Prefix for the Network Prefix translation. ' . @@ -257,7 +257,7 @@ $section->addInput(new Form_Checkbox( $section->addInput(new Form_IpAddress( 'dst', - 'Address', + '*Address', $pconfig['dst'], 'V6' ))->addMask('dstmask', $pconfig['dstmask'])->setHelp('Global Unicast routable IPv6 prefix'); diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php index b7b77f9..9051b98 100644 --- a/src/usr/local/www/firewall_nat_out_edit.php +++ b/src/usr/local/www/firewall_nat_out_edit.php @@ -518,7 +518,7 @@ $section->addInput(new Form_Select( array_combine(explode(" ", strtolower($protocols)), explode(" ", $protocols)) ))->setHelp('Choose which protocol this rule should match. In most cases "any" is specified.'); -$group = new Form_Group('Source'); +$group = new Form_Group('*Source'); $group->add(new Form_Select( 'source_type', |