diff options
author | Renato Botelho <renato@netgate.com> | 2017-01-24 10:31:30 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-24 10:31:30 -0200 |
commit | 553252150087e455e1a4f0069431785ad6a5c5d8 (patch) | |
tree | ab8224279ad1e2c42cc7fe146b0b93581acfc2b9 | |
parent | 773ad30c92d885c3c269b8ef43bd05a8ddd65b27 (diff) | |
parent | 877be5e6205ada2608b364f57150010ba473e66d (diff) | |
download | pfsense-553252150087e455e1a4f0069431785ad6a5c5d8.zip pfsense-553252150087e455e1a4f0069431785ad6a5c5d8.tar.gz |
Merge pull request #3419 from phil-davis/required-fields2
-rw-r--r-- | src/usr/local/www/firewall_nat_1to1_edit.php | 8 | ||||
-rw-r--r-- | src/usr/local/www/firewall_nat_edit.php | 12 | ||||
-rw-r--r-- | src/usr/local/www/firewall_nat_npt_edit.php | 6 | ||||
-rw-r--r-- | src/usr/local/www/firewall_nat_out_edit.php | 10 |
4 files changed, 18 insertions, 18 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php index 9306ee2..49f572b 100644 --- a/src/usr/local/www/firewall_nat_1to1_edit.php +++ b/src/usr/local/www/firewall_nat_1to1_edit.php @@ -459,19 +459,19 @@ if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"] $section->addInput(new Form_Select( 'interface', - 'Interface', + '*Interface', $pconfig['interface'], $interfaces ))->setHelp('Choose which interface this rule applies to. In most cases "WAN" is specified.'); $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', @@ -498,7 +498,7 @@ $group->setHelp('Enter the internal (LAN) subnet for the 1:1 mapping. ' . $section->add($group); -$group = new Form_Group('Destination'); +$group = new Form_Group('*Destination'); $group->add(new Form_Checkbox( 'dstnot', diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php index 3833a1d..b4ba61a 100644 --- a/src/usr/local/www/firewall_nat_edit.php +++ b/src/usr/local/www/firewall_nat_edit.php @@ -691,7 +691,7 @@ if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"] $section->addInput(new Form_Select( 'interface', - 'Interface', + '*Interface', $pconfig['interface'], $interfaces ))->setHelp('Choose which interface this rule applies to. In most cases "WAN" is specified.'); @@ -700,7 +700,7 @@ $protocols = "TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP PIM OSPF"; $section->addInput(new Form_Select( 'proto', - 'Protocol', + '*Protocol', $pconfig['proto'], array_combine(explode(" ", strtolower($protocols)), explode(" ", $protocols)) ))->setHelp('Choose which protocol this rule should match. In most cases "TCP" is specified.'); @@ -788,7 +788,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', @@ -813,7 +813,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( @@ -851,13 +851,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 49e5cfe..470e3c1 100644 --- a/src/usr/local/www/firewall_nat_npt_edit.php +++ b/src/usr/local/www/firewall_nat_npt_edit.php @@ -196,7 +196,7 @@ $section->addInput(new Form_Checkbox( $section->addInput(new Form_Select( 'interface', - 'Interface', + '*Interface', $pconfig['interface'], build_if_list() ))->setHelp('Choose which interface this rule applies to.' . '<br />' . @@ -211,7 +211,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. ' . @@ -226,7 +226,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 302bf36..b09efb8 100644 --- a/src/usr/local/www/firewall_nat_out_edit.php +++ b/src/usr/local/www/firewall_nat_out_edit.php @@ -471,7 +471,7 @@ if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"] $section->addInput(new Form_Select( 'interface', - 'Interface', + '*Interface', $pconfig['interface'], $interfaces ))->setHelp('The interface on which traffic is matched as it exits the firewall. In most cases this is "WAN" or another externally-connected interface.'); @@ -480,12 +480,12 @@ $protocols = "any TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP carp pfsync"; $section->addInput(new Form_Select( 'protocol', - 'Protocol', + '*Protocol', $pconfig['protocol'], 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', @@ -510,7 +510,7 @@ $group->add(new Form_Input( $section->add($group); -$group = new Form_Group('Destination'); +$group = new Form_Group('*Destination'); $group->add(new Form_Select( 'destination_type', @@ -549,7 +549,7 @@ $section->addClass('translation'); $section->addInput(new Form_Select( 'target', - 'Address', + '*Address', $pconfig['target'], build_target_list() ))->setHelp( 'Connections matching this rule will be mapped to the specified <b>Address</b>.' . '<br />' . |