From fba73a26510e9811ac136c3a2433fe4b1727e6af Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 30 Jun 2009 19:17:33 -0400 Subject: Title the connection correctly and pass a few Viscosity specific configuration items down --- config/openvpn-client-export/openvpn-client-export.inc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc index d955f520..5f15cfaf 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -295,8 +295,19 @@ function viscosity_openvpn_client_config_exporter($srvid, $usrid, $crtid, $usead $conf = openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoken); if (!$conf) return false; + + $friendly_name = $settings['description']; + $visc_settings = <<