diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-12 10:13:19 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-12 10:13:19 +0200 |
commit | 27562d6eef959b08d16ef6e9b44e32e5df6cd793 (patch) | |
tree | 3aa5f43e7fedcff3f8d829c6be5e90eeb27f050a /config | |
parent | 31aed79f558e1bfc5b5c4eb075838f057b9fbdb1 (diff) | |
download | pfsense-packages-27562d6eef959b08d16ef6e9b44e32e5df6cd793.tar.gz pfsense-packages-27562d6eef959b08d16ef6e9b44e32e5df6cd793.tar.bz2 pfsense-packages-27562d6eef959b08d16ef6e9b44e32e5df6cd793.zip |
diag_new_states - code style fixes
Fix indentation and bunch of missing spaces between function arguments.
Diffstat (limited to 'config')
-rw-r--r-- | config/diag_states_pt/diag_new_states.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/diag_states_pt/diag_new_states.php b/config/diag_states_pt/diag_new_states.php index 8c82ca4d..00b22e33 100644 --- a/config/diag_states_pt/diag_new_states.php +++ b/config/diag_states_pt/diag_new_states.php @@ -279,7 +279,7 @@ function writeStats($fname, &$data) { function readStats($fname, &$data) { $fname = "/tmp/" . $fname; if (file_exists($fname)) { - $file = fopen($fname,'r'); + $file = fopen($fname, 'r'); $data = unserialize(fread($file, filesize($fname))); fclose($file); } @@ -346,12 +346,12 @@ include("head.inc"); if ((!isset($sfilter) && (!isset($dfilter))) || ((isset($sfilter)) && ($entry['srcip'] == $sfilter)) || ((isset($dfilter)) && ($entry['dstip'] == $dfilter))) { - ?> + ?> <tr> - <td class="listlr"><?=displayIP($entry['srcip'],'srcip');?></td> + <td class="listlr"><?=displayIP($entry['srcip'], 'srcip');?></td> <td class="listr"><?=$entry['srcport'];?></td> <td class="listr"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_<?=$entry['dir'];?>.gif" width="11" height="11" style="margin-top: 2px" alt="" /></td> - <td class="listr"><?=displayIP($entry['dstip'],'dstip');?></td> + <td class="listr"><?=displayIP($entry['dstip'], 'dstip');?></td> <td class="listr"><?=$entry['dstport'];?></td> <td class="listr"><?=$entry['protocol'];?></td> <td class="listr" align="right"><?=$entry['packets'];?></td> |