summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-08-19 13:32:32 -0400
committerSteve Beaver <sbeaver@netgate.com>2017-08-19 13:32:32 -0400
commitce3a6cfd365f171f6ffff86024a16dabb26803c8 (patch)
treebce4e9df6bc5f1839fcc70c7f2c43e434c03ef82 /src/usr/local
parentd1c9e8f96f789c784337983c2b83fb60430c1595 (diff)
downloadpfsense-ce3a6cfd365f171f6ffff86024a16dabb26803c8.zip
pfsense-ce3a6cfd365f171f6ffff86024a16dabb26803c8.tar.gz
Fix JSON format for mobile IPSec data per Kill Bill (Thanks!)
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/widgets/widgets/ipsec.widget.php3
-rw-r--r--src/usr/local/www/widgets/widgets/system_information.widget.php1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/usr/local/www/widgets/widgets/ipsec.widget.php b/src/usr/local/www/widgets/widgets/ipsec.widget.php
index 5f907ac..4cce47a 100644
--- a/src/usr/local/www/widgets/widgets/ipsec.widget.php
+++ b/src/usr/local/www/widgets/widgets/ipsec.widget.php
@@ -167,10 +167,9 @@ if ($_REQUEST && $_REQUEST['ajax']) {
$jsondata .= "</tr>";
}
}
- } else {
- $jsondata .= "\"}";
}
+ $jsondata .= "\"}";
print($jsondata);
exit;
}
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php
index dea152e..219b0b2 100644
--- a/src/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/src/usr/local/www/widgets/widgets/system_information.widget.php
@@ -466,7 +466,6 @@ $rows_displayed = false;
</div><div id="<?=$widget_panel_footer_id?>" class="panel-footer collapse">
<form action="/widgets/widgets/system_information.widget.php" method="post" class="form-horizontal">
- <?=gen_customwidgettitle_div($widgetconfig['title']); ?>
<div class="panel panel-default col-sm-10">
<div class="panel-body">
<input type="hidden" name="widgetkey" value="<?=$widgetkey; ?>">
OpenPOWER on IntegriCloud