Revision 0a6cb6b1
Added by Colin Fleming almost 12 years ago
usr/local/www/diag_logs_dhcp.php | ||
---|---|---|
64 | 64 |
|
65 | 65 |
<body link="#0000CC" vlink="#0000CC" alink="#0000CC"> |
66 | 66 |
<?php include("fbegin.inc"); ?> |
67 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
67 |
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="logs dhcp">
|
|
68 | 68 |
<tr><td> |
69 | 69 |
<?php |
70 | 70 |
$tab_array = array(); |
... | ... | |
85 | 85 |
<tr> |
86 | 86 |
<td> |
87 | 87 |
<div id="mainarea"> |
88 |
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
88 |
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0" summary="main area">
|
|
89 | 89 |
<tr> |
90 | 90 |
<td colspan="2" class="listtopic"> |
91 | 91 |
<?php printf(gettext("Last %s DHCP service log entries"), $nentries);?></td> |
92 | 92 |
</tr> |
93 | 93 |
<?php dump_clog($dhcpd_logfile, $nentries); ?> |
94 |
<tr><td><br><form action="diag_logs_dhcp.php" method="post"> |
|
95 |
<input name="clear" type="submit" class="formbtn" value="<?= gettext("Clear log");?>"></td>
|
|
94 |
<tr><td><br/><form action="diag_logs_dhcp.php" method="post">
|
|
95 |
<input name="clear" type="submit" class="formbtn" value="<?= gettext("Clear log");?>" /></form</td>
|
|
96 | 96 |
<td>NOTE: Clearing the log file will restart the DHCP daemon.</td></tr> |
97 | 97 |
</table> |
98 | 98 |
</div> |
99 |
</form> |
|
100 | 99 |
</td> |
101 | 100 |
</tr> |
102 | 101 |
</table> |
Also available in: Unified diff
Tidy up "diag_logs_dhcp.php" XHTML
Add SUMMARY to table statements
Close BR and INPUT statements
Move closing FORM into table cell