From 2eaa97b952ebcf9fea18b1168ef94ff9587a5e7f Mon Sep 17 00:00:00 2001 From: jim-p Date: Mon, 1 Apr 2013 12:15:26 -0400 Subject: Clarify notes when there is an error reaching the openvpn management daemon for service status. Also, add service controls to the openvpn status page. --- usr/local/www/status_openvpn.php | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) (limited to 'usr/local/www/status_openvpn.php') diff --git a/usr/local/www/status_openvpn.php b/usr/local/www/status_openvpn.php index 4568fb9..28a9765 100644 --- a/usr/local/www/status_openvpn.php +++ b/usr/local/www/status_openvpn.php @@ -48,6 +48,7 @@ $shortcut_section = "openvpn"; require("guiconfig.inc"); require_once("openvpn.inc"); +require_once("shortcuts.inc"); /* Handle AJAX */ if($_GET['action']) { @@ -189,7 +190,16 @@ include("head.inc"); ?> - + + + + + + + +
+ +   @@ -293,6 +303,18 @@ include("head.inc"); ?> + + + + + + + + +
+ +   + @@ -344,6 +366,18 @@ include("head.inc"); ?> + + + + + + + + +
+ +   + @@ -352,7 +386,7 @@ include("head.inc"); ?> } if ($DisplayNote) { - echo "
" . gettext("NOTE") . ": " . gettext("You need to bind each OpenVPN client to enable its management daemon: use 'Local port' setting in the OpenVPN client screen"); + echo "
" . gettext("NOTE") . ": " . gettext("If you have custom options that override the management features of OpenVPN on a client or server, they will cause that OpenVPN instance to not work correctly with this status page."); } if ((empty($clients)) && (empty($servers)) && (empty($sk_servers))) { -- cgit v1.1