diff options
author | Colin Fleming <cj_fleming@sky.com> | 2014-05-17 12:06:15 +0100 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2014-05-17 12:06:15 +0100 |
commit | 9bc2519aa4cfdf3458c6215e7a9b2625054f1b90 (patch) | |
tree | e3ff4863b4bcec620236b31dcec3440471489502 | |
parent | 024068017f98572f6bd41b7ba542fc36fccee39a (diff) | |
download | pfsense-9bc2519aa4cfdf3458c6215e7a9b2625054f1b90.zip pfsense-9bc2519aa4cfdf3458c6215e7a9b2625054f1b90.tar.gz |
Tidy up "diag_logs filter" XHTML
Change ONCLICK to lowercase
Tidy up closing TD tags
Add dummy row to TBODY, but don't display it
Add missing closing TD and closing TR tags
-rwxr-xr-x | usr/local/www/diag_logs_filter_dynamic.php | 15 | ||||
-rw-r--r-- | usr/local/www/diag_logs_filter_summary.php | 4 |
2 files changed, 10 insertions, 9 deletions
diff --git a/usr/local/www/diag_logs_filter_dynamic.php b/usr/local/www/diag_logs_filter_dynamic.php index 6f2dde2..02ec32e 100755 --- a/usr/local/www/diag_logs_filter_dynamic.php +++ b/usr/local/www/diag_logs_filter_dynamic.php @@ -127,16 +127,16 @@ include("head.inc"); <thead> <tr> <td colspan="6" class="listtopic"> - <?php printf(gettext("Last %s records"),$nentries);?>; <?=gettext("Pause:");?><input style="vertical-align:middle;" type="checkbox" onClick="javascript:toggle_pause();" /> + <?php printf(gettext("Last %s records"),$nentries);?>; <?=gettext("Pause:");?><input style="vertical-align:middle;" type="checkbox" onclick="javascript:toggle_pause();" /> </td> </tr> <tr> - <td width="10%" class="listhdrr"><?=gettext("Act");?></ td> - <td width="10%" class="listhdrr"><?=gettext("Time");?></ td> - <td width="15%" class="listhdrr"><?=gettext("If");?></ td> - <td width="25%" class="listhdrr"><?=gettext("Source");?></ td> - <td width="25%" class="listhdrr"><?=gettext("Destination");?></ td> - <td width="15%" class="listhdrr"><?=gettext("Proto");?></ td> + <td width="10%" class="listhdrr"><?=gettext("Act");?></td> + <td width="10%" class="listhdrr"><?=gettext("Time");?></td> + <td width="15%" class="listhdrr"><?=gettext("If");?></td> + <td width="25%" class="listhdrr"><?=gettext("Source");?></td> + <td width="25%" class="listhdrr"><?=gettext("Destination");?></td> + <td width="15%" class="listhdrr"><?=gettext("Proto");?></td> </tr> </thead> <tbody id="filter-log-entries"> @@ -162,6 +162,7 @@ include("head.inc"); <td class="listMRr nowrap"><?php echo htmlspecialchars($filterent['proto']);?></td> </tr> <?php endforeach; ?> + <tr style="display:none;"><td></td></tr> </tbody> </table> </div> diff --git a/usr/local/www/diag_logs_filter_summary.php b/usr/local/www/diag_logs_filter_summary.php index 46caf66..349555c 100644 --- a/usr/local/www/diag_logs_filter_summary.php +++ b/usr/local/www/diag_logs_filter_summary.php @@ -142,7 +142,7 @@ function pie_block($summary, $stat, $num) { print "</script>\n"; print "<table cellpadding=\"3\" cellspacing=\"0\" border=\"0\" summary=\"pie chart\">"; print "<tr><th><font size=\"+1\">{$fields[$stat]}</font></th></tr>"; - print "<tr><td><div id=\"piechart{$stat}\" style=\"width:450px;height:300px\"></div>"; + print "<tr><td><div id=\"piechart{$stat}\" style=\"width:450px;height:300px\"></div></td></tr>"; print "</table>\n"; } @@ -233,4 +233,4 @@ foreach(array_keys($fields) as $field) { </table> <?php include("fend.inc"); ?> </body> -</html>
\ No newline at end of file +</html> |