summaryrefslogtreecommitdiff
path: root/modules/watchdog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-15 19:06:25 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-15 19:06:25 +0000
commiteb030cb9d8839bd08cb2bd1e4f954efe37047303 (patch)
treedcd7f9e913cbf5707208bfc36376e38632eb05c8 /modules/watchdog.module
parenta0e0ea93371646a28c3dc71b0b077035ab6569d6 (diff)
downloadbrdo-eb030cb9d8839bd08cb2bd1e4f954efe37047303.tar.gz
brdo-eb030cb9d8839bd08cb2bd1e4f954efe37047303.tar.bz2
- Improvements: XHTML-ifications. Patch by GmbH.
Diffstat (limited to 'modules/watchdog.module')
-rw-r--r--modules/watchdog.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/watchdog.module b/modules/watchdog.module
index fec7bd867..97cbf14ec 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -57,14 +57,14 @@ function watchdog_overview($type) {
while ($watchdog = db_fetch_object($result)) {
if ($background = $color[$watchdog->type]) {
- $data .= " <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) ."</td><td align=\"center\">$watchdog->link</td><td align=\"center\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>";
+ $data .= " <tr bgcolor=\"$background\"><td>". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td style=\"text-align: center;\">". format_name($watchdog) ."</td><td style=\"text-align: center;\">$watchdog->link</td><td style=\"text-align: center;\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>";
}
}
$output .= "<table>";
$output .= " <tr><th>" . t("date") . "</th><th>" . t("event") . "</th><th>" . t("user") . "</th><th colspan=\"2\">" . t("operations") . "</th></tr>";
- $output .= ($data ? $data : "<tr><td align=\"center\" colspan=\"4\" nowrap=\"nowrap\">". t("No system messages currently available.") ."</td></tr>");
- $output .= (($pager = pager_display(NULL, 50, 0, "admin")) ? "<tr><td align=\"center\" colspan=\"4\">$pager</td></tr>" : "");
+ $output .= ($data ? $data : "<tr><td style=\"text-align: center;\" colspan=\"4\">". t("No system messages currently available.") ."</td></tr>");
+ $output .= (($pager = pager_display(NULL, 50, 0, "admin")) ? "<tr><td style=\"text-align: center;\" colspan=\"4\">$pager</td></tr>" : "");
$output .= "</table>";
return $output;