diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-09-11 16:03:28 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-09-11 16:04:26 -0400 |
commit | 784b435bce55034ab407cd51552d57d379300a53 (patch) | |
tree | bbec2727553457cba938a54440ee763e04f15b2b /src/usr/local/www/firewall_nat_edit.php | |
parent | c38aad85f745ee20450923c28818642b8d1f7f2d (diff) | |
download | pfsense-784b435bce55034ab407cd51552d57d379300a53.zip pfsense-784b435bce55034ab407cd51552d57d379300a53.tar.gz |
Revised all pages with autocomplete to accommodate host names in validation and change port inputs to 'text'
Diffstat (limited to 'src/usr/local/www/firewall_nat_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_edit.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php index 633380e..7b63ff6 100644 --- a/src/usr/local/www/firewall_nat_edit.php +++ b/src/usr/local/www/firewall_nat_edit.php @@ -736,7 +736,7 @@ $group->add(new Form_Select( $group->add(new Form_Input( 'srcbeginport_cust', null, - 'number', + 'text', $pconfig['srcbeginport'], ['min' => '1', 'max' => '65536'] ))->setHelp('Custom'); @@ -751,7 +751,7 @@ $group->add(new Form_Select( $group->add(new Form_Input( 'srcendport_cust', null, - 'number', + 'text', $pconfig['srcendport'], ['min' => '1', 'max' => '65536'] ))->setHelp('Custom'); @@ -792,7 +792,7 @@ $group->add(new Form_Select( $group->add(new Form_Input( 'dstbeginport_cust', null, - 'number', + 'text', $pconfig['dstbeginport'], ['min' => '1', 'max' => '65536'] ))->setHelp('Custom'); @@ -807,7 +807,7 @@ $group->add(new Form_Select( $group->add(new Form_Input( 'dstendport_cust', null, - 'number', + 'text', $pconfig['dstendport'], ['min' => '1', 'max' => '65536'] ))->setHelp('Custom'); @@ -849,7 +849,7 @@ $group->setHelp('Specify the port on the machine with the IP address entered abo $group->add(new Form_Input( 'localbeginport_cust', null, - 'number', + 'text', $pconfig['localbeginport'], ['min' => '1', 'max' => '65536'] ))->setHelp('Custom'); |