summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_dhcp.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2013-11-04 20:52:29 +0000
committerColin Fleming <cj_fleming@sky.com>2013-11-04 20:52:29 +0000
commit0a6cb6b1693c76c13c96f2c5d3efd978fce8dc90 (patch)
tree1a74787f1925fc77b26413da6162a01c21f44b3f /usr/local/www/diag_logs_dhcp.php
parent8a0ae97fa0e249aa13538103e662aa6191ebde65 (diff)
downloadpfsense-0a6cb6b1693c76c13c96f2c5d3efd978fce8dc90.zip
pfsense-0a6cb6b1693c76c13c96f2c5d3efd978fce8dc90.tar.gz
Tidy up "diag_logs_dhcp.php" XHTML
Add SUMMARY to table statements Close BR and INPUT statements Move closing FORM into table cell
Diffstat (limited to 'usr/local/www/diag_logs_dhcp.php')
-rwxr-xr-xusr/local/www/diag_logs_dhcp.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/local/www/diag_logs_dhcp.php b/usr/local/www/diag_logs_dhcp.php
index 1988c91..26465bf 100755
--- a/usr/local/www/diag_logs_dhcp.php
+++ b/usr/local/www/diag_logs_dhcp.php
@@ -64,7 +64,7 @@ include("head.inc");
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="logs dhcp">
<tr><td>
<?php
$tab_array = array();
@@ -85,18 +85,17 @@ include("head.inc");
<tr>
<td>
<div id="mainarea">
- <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0">
+ <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0" summary="main area">
<tr>
<td colspan="2" class="listtopic">
<?php printf(gettext("Last %s DHCP service log entries"), $nentries);?></td>
</tr>
<?php dump_clog($dhcpd_logfile, $nentries); ?>
- <tr><td><br><form action="diag_logs_dhcp.php" method="post">
- <input name="clear" type="submit" class="formbtn" value="<?= gettext("Clear log");?>"></td>
+ <tr><td><br/><form action="diag_logs_dhcp.php" method="post">
+ <input name="clear" type="submit" class="formbtn" value="<?= gettext("Clear log");?>" /></form</td>
<td>NOTE: Clearing the log file will restart the DHCP daemon.</td></tr>
</table>
</div>
-</form>
</td>
</tr>
</table>
OpenPOWER on IntegriCloud