diff options
author | k-paulius <k.dash.paulius@gmail.com> | 2016-02-14 00:02:55 -0600 |
---|---|---|
committer | k-paulius <k.dash.paulius@gmail.com> | 2016-02-14 00:02:55 -0600 |
commit | c704b6417aef177ee353b937737ef9f4dc2451fb (patch) | |
tree | 1e7e5a5f8970dcdb525d9aded276f3a25234fcbd /src/usr/local/www/vpn_openvpn_client.php | |
parent | 253fa0197f82883766c971cd09b83d87dc3bb008 (diff) | |
download | pfsense-c704b6417aef177ee353b937737ef9f4dc2451fb.zip pfsense-c704b6417aef177ee353b937737ef9f4dc2451fb.tar.gz |
Indicate in the breadcrumb if we are editing list item.
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_client.php')
-rw-r--r-- | src/usr/local/www/vpn_openvpn_client.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php index bc60d6c..e5ace28 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) { |