diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-12-29 16:14:37 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-12-29 16:14:37 +0000 |
commit | 50cac553d5ce048111964a48c70687b5755b15da (patch) | |
tree | af6c058fd9333abde37b44fdf9bed3857496ea3e | |
parent | bef0244c9a2d7c2f24b494433195ec2e1f76fb26 (diff) | |
download | brdo-50cac553d5ce048111964a48c70687b5755b15da.tar.gz brdo-50cac553d5ce048111964a48c70687b5755b15da.tar.bz2 |
- Removed table markup from watchdog module; should be done in admin.css.
-rw-r--r-- | modules/watchdog.module | 4 | ||||
-rw-r--r-- | modules/watchdog/watchdog.module | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module index bf852c2e5..9bd1de201 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -47,11 +47,11 @@ function watchdog_overview($type) { $result = db_query("SELECT w.*, u.name, u.uid FROM watchdog w LEFT JOIN users u ON w.uid = u.uid ". ($type ? $query[$type] : "") ." ORDER BY timestamp DESC LIMIT 1000"); - $output .= "<table border=\"1\" cellpadding=\"2\" cellspacing=\"2\">"; + $output .= "<table>"; $output .= " <tr><th>" . t("date") . "</th><th>" . t("message") . "</th><th>" . t("user") . "</th><th>" . t("operations") . "</th></tr>"; while ($watchdog = db_fetch_object($result)) { if ($background = $color[$watchdog->type]) { - $output .= " <tr bgcolor=\"$background\"><td>". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td align=\"center\">". format_name($watchdog) ."</a></td><td align=\"center\">". la(t("details"), array("mod" => "watchdog", "op" => "view", "id" => $watchdog->wid)) ."</td></tr>"; + $output .= " <tr bgcolor=\"$background\"><td nowrap=\"nowrap\">". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td align=\"center\">". format_name($watchdog) ."</a></td><td align=\"center\">". la(t("details"), array("mod" => "watchdog", "op" => "view", "id" => $watchdog->wid)) ."</td></tr>"; } } $output .= "</table>"; diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index bf852c2e5..9bd1de201 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -47,11 +47,11 @@ function watchdog_overview($type) { $result = db_query("SELECT w.*, u.name, u.uid FROM watchdog w LEFT JOIN users u ON w.uid = u.uid ". ($type ? $query[$type] : "") ." ORDER BY timestamp DESC LIMIT 1000"); - $output .= "<table border=\"1\" cellpadding=\"2\" cellspacing=\"2\">"; + $output .= "<table>"; $output .= " <tr><th>" . t("date") . "</th><th>" . t("message") . "</th><th>" . t("user") . "</th><th>" . t("operations") . "</th></tr>"; while ($watchdog = db_fetch_object($result)) { if ($background = $color[$watchdog->type]) { - $output .= " <tr bgcolor=\"$background\"><td>". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td align=\"center\">". format_name($watchdog) ."</a></td><td align=\"center\">". la(t("details"), array("mod" => "watchdog", "op" => "view", "id" => $watchdog->wid)) ."</td></tr>"; + $output .= " <tr bgcolor=\"$background\"><td nowrap=\"nowrap\">". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td align=\"center\">". format_name($watchdog) ."</a></td><td align=\"center\">". la(t("details"), array("mod" => "watchdog", "op" => "view", "id" => $watchdog->wid)) ."</td></tr>"; } } $output .= "</table>"; |