summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_pf_info.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-12-14 20:20:16 +0545
committerPhil Davis <phil.davis@inf.org>2015-12-14 20:20:16 +0545
commit947141fd21b4496d8963d1598d6ca6a2e000702c (patch)
treec4f39f94d05059417f3e5743fc7c826ea52657fc /src/usr/local/www/diag_pf_info.php
parent9ba351c17e4c85e01832e38b6ba7b6a7898a290d (diff)
downloadpfsense-947141fd21b4496d8963d1598d6ca6a2e000702c.zip
pfsense-947141fd21b4496d8963d1598d6ca6a2e000702c.tar.gz
Code style usr local www a-e
Diffstat (limited to 'src/usr/local/www/diag_pf_info.php')
-rw-r--r--src/usr/local/www/diag_pf_info.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/diag_pf_info.php b/src/usr/local/www/diag_pf_info.php
index c553b34..bd0d3f0 100644
--- a/src/usr/local/www/diag_pf_info.php
+++ b/src/usr/local/www/diag_pf_info.php
@@ -88,8 +88,9 @@ if ($_REQUEST['getactivity']) {
include("head.inc");
-if ($input_errors)
+if ($input_errors) {
print_input_errors($input_errors);
+}
$form = new Form(false);
$form->addGlobal(new Form_Input(
@@ -114,8 +115,9 @@ print $form;
<script type="text/javascript">
//<![CDATA[
function getpfinfo() {
- if (!$('#refresh').is(':checked'))
+ if (!$('#refresh').is(':checked')) {
return;
+ }
$.ajax(
'/diag_pf_info.php',
@@ -128,7 +130,7 @@ print $form;
});
}
- events.push(function(){
+ events.push(function() {
setInterval('getpfinfo()', 2500);
getpfinfo();
});
OpenPOWER on IntegriCloud