summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-24 08:54:50 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-24 08:54:50 -0500
commit89a8829bafeef9f37fef051fd1c948eb6c8e5e82 (patch)
treec8a8a51fd3b7cf0621bc56e2c87fae5eda9b15f6
parent9c8a7b1398468ec74a683a4d42ce8b081e2daaa8 (diff)
downloadpfsense-89a8829bafeef9f37fef051fd1c948eb6c8e5e82.zip
pfsense-89a8829bafeef9f37fef051fd1c948eb6c8e5e82.tar.gz
Form_checkbox -> Form_Checkbox
-rw-r--r--src/usr/local/www/vpn_openvpn_client.php18
-rw-r--r--src/usr/local/www/vpn_openvpn_server.php40
2 files changed, 29 insertions, 29 deletions
diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php
index 316abe9..11e1e9f 100644
--- a/src/usr/local/www/vpn_openvpn_client.php
+++ b/src/usr/local/www/vpn_openvpn_client.php
@@ -494,7 +494,7 @@ if($act=="new" || $act=="edit") :
$section = new Form_Section('General Information');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'disable',
'Disabled',
'Disable this server',
@@ -578,7 +578,7 @@ if($act=="new" || $act=="edit") :
$pconfig['proxy_passwd']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'resolve_retry',
'Server hostname resolution',
'Infinitely resolve server ',
@@ -615,7 +615,7 @@ if($act=="new" || $act=="edit") :
$section = new Form_Section('Cryptographic settings');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'tlsauth_enable',
'TLS authentication',
'Enable authentication of TLS packets.',
@@ -623,7 +623,7 @@ if($act=="new" || $act=="edit") :
));
if (!$pconfig['tls']) {
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'autotls_enable',
null,
'Automatically generate a shared TLS authentication key.',
@@ -669,7 +669,7 @@ if($act=="new" || $act=="edit") :
));
}
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'autokey_enable',
'Auto generate',
'Automatically generate a shared key',
@@ -765,28 +765,28 @@ $section->addInput(new Form_Input(
$openvpn_compression_modes
))->setHelp('Compress tunnel packets using the LZO algorithm. Adaptive compression will dynamically disable compression for a period of time if OpenVPN detects that the data in the packets is not being compressed efficiently.');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'passtos',
'Type-of-Service',
'Set the TOS IP header value of tunnel packets to match the encapsulated packet value.',
$pconfig['passtos']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'no_tun_ipv6',
'Disable IPv6',
'Don\'t forward IPv6 traffic. ',
$pconfig['no_tun_ipv6']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'route_no_pull',
'Don\'t pull routes',
'Bars the server from adding routes to the client\'s routing table',
$pconfig['route_no_pull']
))->setHelp('This option still allows the server to set the TCP/IP properties of the client\'s TUN/TAP interface. ');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'route_no_exec',
'Don\'t add/remove routes',
'Don\'t add or remove routes automatically',
diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php
index e250bdb..17ba83b 100644
--- a/src/usr/local/www/vpn_openvpn_server.php
+++ b/src/usr/local/www/vpn_openvpn_server.php
@@ -725,7 +725,7 @@ if($act=="new" || $act=="edit") :
$section = new Form_Section('General Information');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'disable',
'Disabled',
'Disable this server',
@@ -799,7 +799,7 @@ if($act=="new" || $act=="edit") :
$section = new Form_Section('Cryptographic settings');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'tlsauth_enable',
'TLS authentication',
'Enable authentication of TLS packets.',
@@ -807,7 +807,7 @@ if($act=="new" || $act=="edit") :
));
if (!$pconfig['tls']) {
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'autotls_enable',
null,
'Automatically generate a shared TLS authentication key.',
@@ -869,7 +869,7 @@ if($act=="new" || $act=="edit") :
))->setHelp(count($a_cert) ? '':sprintf('No Certificates defined. You may create one here: %s', '<a href="system_camanager.php">System &gt; Cert Manager</a>'));
if (!$pconfig['shared_key']) {
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'autokey_enable',
'Shared key',
'Automatically generate a shared key',
@@ -912,7 +912,7 @@ if($act=="new" || $act=="edit") :
))->setHelp('When a certificate-based client logs in, do not accept certificates below this depth. ' .
'Useful for denying certificates made with intermediate CAs generated from the same CA as the server.');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'strictusercn',
'Strict User-CN Matching',
null,
@@ -943,7 +943,7 @@ if($act=="new" || $act=="edit") :
'The first network address will be assigned to the server virtual interface. The remaining ' .
'network addresses can optionally be assigned to connecting clients. (see Address Pool)');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'serverbridge_dhcp',
'Bridge DHCP',
'Allow clients on the bridge to obtain DHCP.',
@@ -1035,28 +1035,28 @@ if($act=="new" || $act=="edit") :
'Adaptive compression will dynamically disable compression for a period of time if OpenVPN detects that the data in the ' .
'packets is not being compressed efficiently"');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'passtos',
'Type-of-Service',
'Set the TOS IP header value of tunnel packets to match the encapsulated packet value.',
$pconfig['passtos']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'client2client',
'Inter-client communication',
'Allow communication between clients connected to this server',
$pconfig['client2client']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'duplicate_cn',
'Duplicate Connection',
'Allow multiple concurrent connections from clients using the same Common Name.',
$pconfig['duplicate_cn']
))->setHelp('(This is not generally recommended, but may be needed for some scenarios.)');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'no_tun_ipv6',
'Disable IPv6',
'Don\'t forward IPv6 traffic. ',
@@ -1067,21 +1067,21 @@ if($act=="new" || $act=="edit") :
$section = new Form_Section('Client Settings');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'dynamic_ip',
'Dynamic IP',
'Allow connected clients to retain their connections if their IP address changes',
$pconfig['dynamic_ip']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'pool_enable',
'Address Pool',
'Provide a virtual adapter IP address to clients (see Tunnel Network)',
$pconfig['pool_enable']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'topology_subnet',
'Topology',
'Allocate only one IP per client (topology subnet), rather than an isolated subnet per client (topology net30).',
@@ -1090,7 +1090,7 @@ if($act=="new" || $act=="edit") :
'Some clients may require this even for IPv6, such as OpenVPN Connect (iOS/Android). ' .
'Others may break if it is present, such as older versions of OpenVPN or clients such as Yealink phones.');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'dns_domain_enable',
'DNS Default Domain',
'Provide a default domain name to clients',
@@ -1104,7 +1104,7 @@ if($act=="new" || $act=="edit") :
$pconfig['dns_domain']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'dns_server_enable',
'DNS Server enable',
'Provide a DNS server list to clients',
@@ -1139,14 +1139,14 @@ if($act=="new" || $act=="edit") :
$pconfig['dns_server4']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'push_register_dns',
'Force DNS cache update',
'Run "net stop dnscache", "net start dnscache", "ipconfig /flushdns" and "ipconfig /registerdns" on connection initiation.',
$pconfig['push_register_dns']
))->setHelp('This is known to kick Windows into recognizing pushed DNS servers.');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'ntp_server_enable',
'NTP Server enable',
'Provide an NTP server list to clients',
@@ -1171,7 +1171,7 @@ if($act=="new" || $act=="edit") :
$section = new Form_Section('NetBIOS Options');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'netbios_enable',
'NetBIOS enable',
'Enable NetBIOS over TCP/IP',
@@ -1195,7 +1195,7 @@ if($act=="new" || $act=="edit") :
'scope ID isolates NetBIOS traffic on a single network to only those nodes with the same ' .
'NetBIOS scope ID');
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'wins_server_enable',
'WINS server enable',
'Provide a WINS server list to clients',
@@ -1216,7 +1216,7 @@ if($act=="new" || $act=="edit") :
$pconfig['wins_server2']
));
- $section->addInput(new Form_checkbox(
+ $section->addInput(new Form_Checkbox(
'client_mgmt_port_enable',
'Enable custom port ',
'Use a different management port for clients.',
OpenPOWER on IntegriCloud