diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-09-14 20:01:00 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-09-14 20:01:00 +0000 |
commit | 9c9905d9a077830e371d91b57527984c3cee96e3 (patch) | |
tree | f1c3324ff1815a92e1f75abb21ac263ababaf701 /modules/watchdog.module | |
parent | 5dfcdf0e28efc8bec416407c1c566058726cbb27 (diff) | |
download | brdo-9c9905d9a077830e371d91b57527984c3cee96e3.tar.gz brdo-9c9905d9a077830e371d91b57527984c3cee96e3.tar.bz2 |
#10648: Fix watchdog-related tablesort coloring bug in IE, add support for <tr> attributes to theme_table() and reduce specificy of watchdog coloring CSS rules.
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r-- | modules/watchdog.module | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module index c37ff3b2b..9be7a45f7 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -95,12 +95,17 @@ function watchdog_overview($type = '') { $result = pager_query($sql, 50); while ($watchdog = db_fetch_object($result)) { - $rows[] = array( - array('data' => format_date($watchdog->timestamp, 'small'), 'class' => "watchdog-$watchdog->type"), - array('data' => truncate_utf8(strip_tags($watchdog->message), 64), 'class' => "watchdog-$watchdog->type"), - array('data' => format_name($watchdog), 'class' => "watchdog-$watchdog->type"), - array('data' => $watchdog->link, 'class' => "watchdog-$watchdog->type"), - array('data' => l(t('details'), "admin/logs/view/$watchdog->wid"), 'class' => "watchdog-$watchdog->type") + $rows[] = array('data' => + array( + // Cells + format_date($watchdog->timestamp, 'small'), + truncate_utf8(strip_tags($watchdog->message), 64), + format_name($watchdog), + $watchdog->link, + l(t('details'), "admin/logs/view/$watchdog->wid") + ), + // Attributes for tr + 'class' => "watchdog-$watchdog->type" ); } |