diff --git a/src/www/vpn_openvpn_client.php b/src/www/vpn_openvpn_client.php index 10f5f007d..fd74bcd9d 100644 --- a/src/www/vpn_openvpn_client.php +++ b/src/www/vpn_openvpn_client.php @@ -361,14 +361,6 @@ $main_buttons = array( @@ -526,11 +498,11 @@ endif; ?> if (isset($savemsg)) { print_info_box($savemsg); }?> - - - + if ($act=="new" || $act=="edit") :?> + + + @@ -552,7 +524,7 @@ endif; ?> =gettext("Server Mode");?> - + gettext("Peer to Peer ( SSL/TLS )"), @@ -587,7 +559,7 @@ endif; ?> =gettext("Device mode");?> - + =gettext("Proxy authentication extra options");?> =gettext("Authentication method"); ?> - + > =gettext("none"); ?> > =gettext("basic"); ?> > =gettext("ntlm"); ?> @@ -708,15 +680,20 @@ endif; ?> + + + + + + + + - + =gettext("User Authentication Settings"); ?> - =gettext("User Authentication Settings"); ?> - - - =gettext("User name/pass"); ?> - + =gettext("User name/pass"); ?> + =gettext("Username"); ?> =gettext("Password"); ?> @@ -727,18 +704,27 @@ endif; ?> + + + + + + + + - =gettext("Cryptographic Settings"); ?> + =gettext("Cryptographic Settings"); ?> + - + =gettext("TLS Authentication"); ?> - onclick="tlsauth_change()" /> + /> =gettext("Enable authentication of TLS packets"); ?>. - onclick="autotls_change()" > + > =gettext("Automatically generate a shared TLS authentication key"); ?>. - + =gettext("Peer Certificate Authority"); ?> endif; ?> - + =gettext("Client Certificate"); ?> @@ -813,12 +799,12 @@ endif; ?> endif; ?> - - =gettext("Shared Key"); ?> + + =gettext("Shared Key"); ?> - onclick="autokey_change()" /> + /> =gettext("Automatically generate a shared key"); ?>. @@ -882,15 +868,20 @@ endif; ?> + + + + + + + + - + =gettext("Tunnel Settings"); ?> - =gettext("Tunnel Settings"); ?> - - - =gettext("IPv4 Tunnel Network"); ?> - + =gettext("IPv4 Tunnel Network"); ?> + =gettext("This is the virtual network used for private " . @@ -989,7 +980,7 @@ endif; ?> - + =gettext("Disable IPv6"); ?> /> @@ -1016,15 +1007,20 @@ endif; ?> + + + + + + + + - + =gettext("Advanced configuration"); ?> - =gettext("Advanced configuration"); ?> - - - =gettext("Advanced"); ?> - + =gettext("Advanced"); ?> + =$pconfig['custom_options'];?> =gettext("Enter any additional options you would like to add to the OpenVPN client configuration here, separated by a semicolon"); ?> @@ -1056,8 +1052,13 @@ endif; ?> - - + + + + + + + @@ -1068,14 +1069,19 @@ endif; ?> + + + - + else:?> + + + @@ -1141,12 +1147,12 @@ endif; ?> + + - -