diff options
author | Phil Davis <phil.davis@inf.org> | 2015-12-14 20:20:16 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-12-14 20:20:16 +0545 |
commit | 947141fd21b4496d8963d1598d6ca6a2e000702c (patch) | |
tree | c4f39f94d05059417f3e5743fc7c826ea52657fc /src/usr/local/www/diag_sockets.php | |
parent | 9ba351c17e4c85e01832e38b6ba7b6a7898a290d (diff) | |
download | pfsense-947141fd21b4496d8963d1598d6ca6a2e000702c.zip pfsense-947141fd21b4496d8963d1598d6ca6a2e000702c.tar.gz |
Code style usr local www a-e
Diffstat (limited to 'src/usr/local/www/diag_sockets.php')
-rw-r--r-- | src/usr/local/www/diag_sockets.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/usr/local/www/diag_sockets.php b/src/usr/local/www/diag_sockets.php index 3a7d6e1..5cad1ac 100644 --- a/src/usr/local/www/diag_sockets.php +++ b/src/usr/local/www/diag_sockets.php @@ -100,26 +100,27 @@ $showAllOption = $showAll ? "" : "?showAll"; <thead> <?php foreach (explode("\n", $table) as $i => $line) { - if (trim($line) == "") + if (trim($line) == "") { continue; + } $j = 0; print("<tr>\n"); foreach (explode(' ', $line) as $entry) { - if ($entry == '' || $entry == "ADDRESS") + if ($entry == '' || $entry == "ADDRESS") { continue; + } if ($i == 0) { print("<th class=\"$class\">$entry</th>\n"); - } - else { + } else { print("<td class=\"$class\">$entry</td>\n"); } $j++; } print("</tr>\n"); - if($i == 0) { + if ($i == 0) { print("</thead>\n"); print("<tbody>\n"); } |