diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-01-14 15:59:59 +0000 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-01-14 15:59:59 +0000 |
commit | 5c0ab3cd34fb5135c16639e3eb3a2a870ce3ce32 (patch) | |
tree | ae4ea269f6b99756f25f3649238b523a42123322 /src/usr/local/www/diag_states_summary.php | |
parent | ebfbb1b30c52dd9b9385dc3717c8dbb1cdafc9f2 (diff) | |
download | pfsense-5c0ab3cd34fb5135c16639e3eb3a2a870ce3ce32.zip pfsense-5c0ab3cd34fb5135c16639e3eb3a2a870ce3ce32.tar.gz |
All simple php echo to short
Short version is far more used than long php echo. This brings all code to same standard where possible.
Diffstat (limited to 'src/usr/local/www/diag_states_summary.php')
-rw-r--r-- | src/usr/local/www/diag_states_summary.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/diag_states_summary.php b/src/usr/local/www/diag_states_summary.php index 052680d..a8a9cfd 100644 --- a/src/usr/local/www/diag_states_summary.php +++ b/src/usr/local/www/diag_states_summary.php @@ -196,17 +196,17 @@ function print_summary_table($label, $iparr, $sort = TRUE) { } ?> <tr> - <td<?= $rowSpan ?>><?php echo $ip; ?></td> - <td<?= $rowSpan ?> class="text-center"><?php echo $ipinfo['seen']; ?></td> + <td<?= $rowSpan ?>><?=$ip;?></td> + <td<?= $rowSpan ?> class="text-center"><?=$ipinfo['seen'];?></td> <?php foreach ($ipinfo['protos'] as $proto => $protoinfo): ?> <?php if ($protocolCount > 1 && $i > 0): ?> </tr><tr> <?php endif; ?> - <td><?php echo $proto; ?></td> - <td class="text-center" ><?php echo $protoinfo['seen']; ?></td> - <td class="text-center" ><span title="<?php echo build_port_info($protoinfo['srcports'], $proto); ?>"><?php echo count($protoinfo['srcports']); ?></span></td> - <td class="text-center" ><span title="<?php echo build_port_info($protoinfo['dstports'], $proto); ?>"><?php echo count($protoinfo['dstports']); ?></span></td> + <td><?=$proto;?></td> + <td class="text-center" ><?=$protoinfo['seen'];?></td> + <td class="text-center" ><span title="<?=build_port_info($protoinfo['srcports'], $proto);?>"><?=count($protoinfo['srcports']);?></span></td> + <td class="text-center" ><span title="<?=build_port_info($protoinfo['dstports'], $proto);?>"><?=count($protoinfo['dstports']);?></span></td> <?php $i++; endforeach; ?> </tr> <?php endforeach; ?> |