diff options
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_csc.php')
-rw-r--r-- | src/usr/local/www/vpn_openvpn_csc.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/usr/local/www/vpn_openvpn_csc.php b/src/usr/local/www/vpn_openvpn_csc.php index d836f3b..927e34c 100644 --- a/src/usr/local/www/vpn_openvpn_csc.php +++ b/src/usr/local/www/vpn_openvpn_csc.php @@ -67,9 +67,6 @@ require_once("pkg-utils.inc"); global $openvpn_tls_server_modes; -$pgtitle = array(gettext("VPN"), gettext("OpenVPN"), gettext("Client Specific Overrides")); -$shortcut_section = "openvpn"; - if (!is_array($config['openvpn']['openvpn-csc'])) { $config['openvpn']['openvpn-csc'] = array(); } @@ -308,6 +305,13 @@ if ($_POST) { } } +$pgtitle = array(gettext("VPN"), gettext("OpenVPN"), gettext("Client Specific Overrides")); + +if ($act=="new" || $act=="edit") { + $pgtitle[] = gettext('Edit'); +} +$shortcut_section = "openvpn"; + include("head.inc"); if ($input_errors) { |