diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-02-14 17:28:08 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-02-14 17:28:08 -0500 |
commit | f7253434877138dee1262cb930e329cf65209b77 (patch) | |
tree | 3361f8a350cb3a2cfb135808f25ba19a7c2102fb /src/usr/local/www/vpn_openvpn_client.php | |
parent | e1346a0ca9ca1110c2f377fcac830a67d5d95767 (diff) | |
parent | 2b38c46bb6ca3cc6234c6433d63ba5360d061ccc (diff) | |
download | pfsense-f7253434877138dee1262cb930e329cf65209b77.zip pfsense-f7253434877138dee1262cb930e329cf65209b77.tar.gz |
Merge pull request #2637 from k-paulius/patch-6
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_client.php')
-rw-r--r-- | src/usr/local/www/vpn_openvpn_client.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php index 96b4fc4..3cd9981 100644 --- a/src/usr/local/www/vpn_openvpn_client.php +++ b/src/usr/local/www/vpn_openvpn_client.php @@ -67,9 +67,6 @@ require_once("pkg-utils.inc"); global $openvpn_topologies; -$pgtitle = array(gettext("VPN"), gettext("OpenVPN"), gettext("Clients")); -$shortcut_section = "openvpn"; - if (!is_array($config['openvpn']['openvpn-client'])) { $config['openvpn']['openvpn-client'] = array(); } @@ -426,6 +423,13 @@ if ($_POST) { } } +$pgtitle = array(gettext("VPN"), gettext("OpenVPN"), gettext("Clients")); + +if ($act=="new" || $act=="edit") { + $pgtitle[] = gettext('Edit'); +} +$shortcut_section = "openvpn"; + include("head.inc"); if (!$savemsg) { @@ -611,7 +615,7 @@ if ($act=="new" || $act=="edit"): } else { $section->addInput(new Form_StaticText( 'Peer Certificate Authority', - sprintf('No Certificate Authorities defined. You may create one here: %s', '<a href="system_camanager.php">System > Cert Manager</a>') + sprintf('No Certificate Authorities defined. You may create one here: %s', '<a href="system_camanager.php">System > Cert. Manager</a>') )); } @@ -625,7 +629,7 @@ if ($act=="new" || $act=="edit"): } else { $section->addInput(new Form_StaticText( 'Peer Certificate Revocation list', - sprintf('No Certificate Revocation Lists defined. You may create one here: %s', '<a href="system_crlmanager.php">System > Cert Manager > Certificate Revocation</a>') + sprintf('No Certificate Revocation Lists defined. You may create one here: %s', '<a href="system_crlmanager.php">System > Cert. Manager > Certificate Revocation</a>') )); } |