From 5c9fa4dd8cd4d3d7deabcb35fde37e049def36d3 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 3 Apr 2007 16:45:36 +0000 Subject: [PATCH] Changed some of the syslog printing code git-svn-id: http://www.observium.org/svn/observer/trunk@18 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/dev-syslog.inc | 2 +- html/includes/print-syslog.inc | 4 ++-- html/pages/syslog.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/html/includes/dev-syslog.inc b/html/includes/dev-syslog.inc index ea740df5c..032032dc3 100644 --- a/html/includes/dev-syslog.inc +++ b/html/includes/dev-syslog.inc @@ -3,7 +3,7 @@ $query = "SELECT * FROM `syslog` WHERE `host` = '$_GET[id]' ORDER BY `datetime` DESC LIMIT 0,250"; $data = mysql_query($query); -echo(""); +echo("
"); while($entry = mysql_fetch_array($data)) { diff --git a/html/includes/print-syslog.inc b/html/includes/print-syslog.inc index e9cf49f50..c43e55f53 100644 --- a/html/includes/print-syslog.inc +++ b/html/includes/print-syslog.inc @@ -17,10 +17,10 @@ if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; } - -
$entry[datetime] + $entry[priority] + $entry[program] diff --git a/html/pages/syslog.php b/html/pages/syslog.php index 70c82fb52..3cc7a25ec 100644 --- a/html/pages/syslog.php +++ b/html/pages/syslog.php @@ -1,7 +1,7 @@