summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-06-15 11:04:59 +0000
committerDries Buytaert <dries@buytaert.net>2001-06-15 11:04:59 +0000
commitd547957b38c78f055538bdd3bc36c9f83caaabfd (patch)
tree073e2399d9bfcab2adba3778b2e200bff53d6e81
parent1045715f4486809993c679a2d09c993c15ef9d93 (diff)
downloadbrdo-d547957b38c78f055538bdd3bc36c9f83caaabfd.tar.gz
brdo-d547957b38c78f055538bdd3bc36c9f83caaabfd.tar.bz2
- Small visual update to watchdog.module.
- Updated CHANGELOG
-rw-r--r--CHANGELOG3
-rw-r--r--modules/watchdog.module2
-rw-r--r--modules/watchdog/watchdog.module2
3 files changed, 4 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 3270495d2..feaea1cad 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -6,7 +6,8 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable)
- removed FAQ and documentation module and merged them into a "book module".
- removed ban module and integrated it into account.module as "access control":
* access control is based on much more powerful regular expressions (regex) now rather than on MySQL pattern matching.
-- rewrote watchdog and submission throttle
+- rewrote watchdog and submission throttle:
+ * improved watchdog messages and added watchdog filter.
- rewrote headline code and renamed it to import.module and export.module:
* added various improvements, including a better parser, bundles and better control over individual feeds.
- rewrote section code and renamed it to structure.module:
diff --git a/modules/watchdog.module b/modules/watchdog.module
index 761ae43b9..8abe4dc3f 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -27,7 +27,7 @@ function watchdog_overview($type) {
$output .= " <TR><TH>date</TH><TH>message</TH><TH>user</TH><TH>operations</TH></TR>\n";
while ($watchdog = db_fetch_object($result)) {
if ($background = $color[$watchdog->type]) {
- $output .= " <TR BGCOLOR=\"$background\"><TD>". format_date($watchdog->timestamp, "small") ."</TD><TD>". substr(check_output($watchdog->message), 0, 50) ."</TD><TD ALIGN=\"center\">". format_username($watchdog->userid) ."</A></TD><TD ALIGN=\"center\"><A HREF=\"admin.php?mod=watchdog&op=view&id=$watchdog->id\">details</A></TD></TR>\n";
+ $output .= " <TR BGCOLOR=\"$background\"><TD>". format_date($watchdog->timestamp, "small") ."</TD><TD>". substr(check_output($watchdog->message), 0, 64) ."</TD><TD ALIGN=\"center\">". format_username($watchdog->userid) ."</A></TD><TD ALIGN=\"center\"><A HREF=\"admin.php?mod=watchdog&op=view&id=$watchdog->id\">details</A></TD></TR>\n";
}
}
$output .= "</TABLE>\n";
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index 761ae43b9..8abe4dc3f 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/watchdog.module
@@ -27,7 +27,7 @@ function watchdog_overview($type) {
$output .= " <TR><TH>date</TH><TH>message</TH><TH>user</TH><TH>operations</TH></TR>\n";
while ($watchdog = db_fetch_object($result)) {
if ($background = $color[$watchdog->type]) {
- $output .= " <TR BGCOLOR=\"$background\"><TD>". format_date($watchdog->timestamp, "small") ."</TD><TD>". substr(check_output($watchdog->message), 0, 50) ."</TD><TD ALIGN=\"center\">". format_username($watchdog->userid) ."</A></TD><TD ALIGN=\"center\"><A HREF=\"admin.php?mod=watchdog&op=view&id=$watchdog->id\">details</A></TD></TR>\n";
+ $output .= " <TR BGCOLOR=\"$background\"><TD>". format_date($watchdog->timestamp, "small") ."</TD><TD>". substr(check_output($watchdog->message), 0, 64) ."</TD><TD ALIGN=\"center\">". format_username($watchdog->userid) ."</A></TD><TD ALIGN=\"center\"><A HREF=\"admin.php?mod=watchdog&op=view&id=$watchdog->id\">details</A></TD></TR>\n";
}
}
$output .= "</TABLE>\n";