summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_openvpn.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-12-15 10:38:12 +0545
committerPhil Davis <phil.davis@inf.org>2015-12-15 10:38:12 +0545
commitabe98adb911f9ff76af12034646a4c64e26d6390 (patch)
tree49c09b6bdf22f6afb54eb99e6d2287a8c65283d7 /src/usr/local/www/status_openvpn.php
parent7895a8802317a8477929bea6428bf8dfe214306f (diff)
downloadpfsense-abe98adb911f9ff76af12034646a4c64e26d6390.zip
pfsense-abe98adb911f9ff76af12034646a4c64e26d6390.tar.gz
Code style status*
Diffstat (limited to 'src/usr/local/www/status_openvpn.php')
-rw-r--r--src/usr/local/www/status_openvpn.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/status_openvpn.php b/src/usr/local/www/status_openvpn.php
index 6cd30b7..36f1008 100644
--- a/src/usr/local/www/status_openvpn.php
+++ b/src/usr/local/www/status_openvpn.php
@@ -73,8 +73,8 @@ require_once("shortcuts.inc");
require_once("service-utils.inc");
/* Handle AJAX */
-if($_GET['action']) {
- if($_GET['action'] == "kill") {
+if ($_GET['action']) {
+ if ($_GET['action'] == "kill") {
$port = $_GET['port'];
$remipp = $_GET['remipp'];
if (!empty($port) and !empty($remipp)) {
@@ -152,7 +152,7 @@ include("head.inc"); ?>
function killComplete(req) {
var values = req.responseText.split("|");
- if(values[3] != "0") {
+ if (values[3] != "0") {
alert('<?=gettext("An error occurred.");?>' + ' (' + values[3] + ')');
return;
}
OpenPOWER on IntegriCloud