From d6ce51e4ce39c143732f69de9a5590428d6e3c6c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 10 Feb 2001 11:59:06 +0000 Subject: - added a "search framework" which allows for easy searching (to be continued) - tidyied up some existing code --- modules/watchdog.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/watchdog.module') diff --git a/modules/watchdog.module b/modules/watchdog.module index 576284272..81593d4c0 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -36,7 +36,7 @@ function watchdog_display($order = "date") { $output .= " \n"; while ($watchdog = db_fetch_object($result)) { - $output .= " level] ."\">". format_date($watchdog->timestamp) ."". substr(check_output($watchdog->message), 0, 44) ."". format_username($watchdog->userid, 1) ."id\">details\n"; + $output .= " level] ."\">". format_date($watchdog->timestamp) ."". substr(check_output($watchdog->message), 0, 44) ."". format_username($watchdog->userid) ."id\">details\n"; } $output .= "\n"; @@ -51,7 +51,7 @@ function watchdog_view($id) { $output .= "\n"; $output .= " \n"; $output .= " \n"; - $output .= " \n"; + $output .= " \n"; $output .= " \n"; $output .= " \n"; $output .= " \n"; -- cgit v1.2.3
Level:$watchdog->level
Date:". format_date($watchdog->timestamp, "extra large") ."
User:". format_username($watchdog->userid, 1) ."
User:". format_username($watchdog->userid) ."
Location:$watchdog->location
Message:$watchdog->message
Hostname:$watchdog->hostname