diff options
Diffstat (limited to 'usr/local/www/diag_logs.php')
-rwxr-xr-x | usr/local/www/diag_logs.php | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/usr/local/www/diag_logs.php b/usr/local/www/diag_logs.php index f1e93f5..4dabe48 100755 --- a/usr/local/www/diag_logs.php +++ b/usr/local/www/diag_logs.php @@ -53,7 +53,8 @@ include("head.inc"); <?php include("fbegin.inc"); ?> <p class="pgtitle"><?=$pgtitle?></p> <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <tr><td> + <tr> + <td> <?php $tab_array = array(); $tab_array[0] = array("System", true, "diag_logs.php"); @@ -65,23 +66,28 @@ include("head.inc"); $tab_array[6] = array("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"> - <tr> - <td colspan="2" class="listtopic"> - Last <?=$nentries;?> system log entries</td> - </tr> - <?php dump_clog($system_logfile, $nentries); ?> - <tr><td><br><form action="diag_logs.php" method="post"> -<input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr> -</form> - </table> - </div> - </td> - </tr> + </td> + </tr> + <tr> + <td> + <div id="mainarea"> + <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td colspan="2" class="listtopic">Last <?=$nentries;?> system log entries</td> + </tr> + <?php dump_clog($system_logfile, $nentries); ?> + <tr> + <td> + <br> + <form action="diag_logs.php" method="post"> + <input name="clear" type="submit" class="formbtn" value="Clear log"> + </form> + </td> + </tr> + </table> + </div> + </td> + </tr> </table> <?php include("fend.inc"); ?> </body> |