diff options
author | Phil Davis <phil.davis@inf.org> | 2015-05-26 22:50:36 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-05-26 22:50:36 +0545 |
commit | 4e3b667ceb8818babf58025e15e89f4703d9d606 (patch) | |
tree | d81fc8b8e9e14a9eb150910241b8303565b26077 /usr/local/www/diag_logs_dhcp.php | |
parent | 8882e40f519424186f56663a43756b127d81c85b (diff) | |
download | pfsense-4e3b667ceb8818babf58025e15e89f4703d9d606.zip pfsense-4e3b667ceb8818babf58025e15e89f4703d9d606.tar.gz |
Code style diag logs again
while making a fix today I noticed that I had done these early-on and
had not tabbed out the HTML nicely...
Diffstat (limited to 'usr/local/www/diag_logs_dhcp.php')
-rw-r--r-- | usr/local/www/diag_logs_dhcp.php | 47 |
1 files changed, 28 insertions, 19 deletions
diff --git a/usr/local/www/diag_logs_dhcp.php b/usr/local/www/diag_logs_dhcp.php index c60af86..f87845d 100644 --- a/usr/local/www/diag_logs_dhcp.php +++ b/usr/local/www/diag_logs_dhcp.php @@ -58,7 +58,7 @@ if ($_POST['clear']) { services_dhcpd_configure(); } -$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("DHCP")); +$pgtitle = array(gettext("Status"), gettext("System logs"), gettext("DHCP")); $shortcut_section = "dhcp"; include("head.inc"); @@ -67,7 +67,8 @@ include("head.inc"); <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="logs dhcp"> - <tr><td> + <tr> + <td> <?php $tab_array = array(); $tab_array[] = array(gettext("System"), false, "diag_logs.php"); @@ -83,23 +84,31 @@ include("head.inc"); $tab_array[] = array(gettext("Settings"), false, "diag_logs_settings.php"); display_top_tabs($tab_array); ?> - </td></tr> - <tr> - <td> - <div id="mainarea"> - <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");?>" /></form></td> - <td>NOTE: Clearing the log file will restart the DHCP daemon.</td></tr> - </table> - </div> - </td> - </tr> + </td> + </tr> + <tr> + <td> + <div id="mainarea"> + <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");?>" /> + </form> + </td> + <td>NOTE: Clearing the log file will restart the DHCP daemon.</td> + </tr> + </table> + </div> + </td> + </tr> </table> <?php include("fend.inc"); ?> </body> |