diff --git a/modules/watchdog.module b/modules/watchdog.module
index f968df964fa..5bcc38f9ba7 100644
--- a/modules/watchdog.module
+++ b/modules/watchdog.module
@@ -36,14 +36,14 @@ 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 .= "
\n";
- $output .= " date | message | user | operations |
\n";
+ $output .= "";
+ $output .= " date | message | user | operations |
";
while ($watchdog = db_fetch_object($result)) {
if ($background = $color[$watchdog->type]) {
- $output .= " ". format_date($watchdog->timestamp, "small") ." | ". substr(check_output($watchdog->message), 0, 64) ." | ". format_name($watchdog) ." | wid\">details |
\n";
+ $output .= " ". format_date($watchdog->timestamp, "small") ." | ". substr(check_output($watchdog->message), 0, 64) ." | ". format_name($watchdog) ." | wid\">details |
";
}
}
- $output .= "
\n";
+ $output .= "
";
return $output;
}
@@ -52,14 +52,14 @@ function watchdog_view($id) {
$result = db_query("SELECT w.*, u.name, u.uid FROM watchdog w LEFT JOIN users u ON w.uid = u.uid WHERE w.wid = '$id'");
if ($watchdog = db_fetch_object($result)) {
- $output .= "\n";
- $output .= " Type: | ". check_output($watchdog->type) ." |
\n";
- $output .= " Date: | ". format_date($watchdog->timestamp, "large") ." |
\n";
- $output .= " User: | ". format_name($watchdog) ." |
\n";
- $output .= " Location: | ". check_output($watchdog->location). " |
\n";
- $output .= " Message: | ". check_output($watchdog->message) ." |
\n";
- $output .= " Hostname: | ". check_output($watchdog->hostname) ." |
\n";
- $output .= "
\n";
+ $output .= "";
+ $output .= " Type: | ". check_output($watchdog->type) ." |
";
+ $output .= " Date: | ". format_date($watchdog->timestamp, "large") ." |
";
+ $output .= " User: | ". format_name($watchdog) ." |
";
+ $output .= " Location: | ". check_output($watchdog->location) ." |
";
+ $output .= " Message: | ". check_output($watchdog->message) ." |
";
+ $output .= " Hostname: | ". check_output($watchdog->hostname) ." |
";
+ $output .= "
";
return $output;
}
@@ -70,7 +70,7 @@ function watchdog_admin() {
if (user_access("administer watchdog")) {
- print "user messages | regular messages | special messages | warning messages | error messages | httpd messages | overview | help
\n";
+ print "user messages | regular messages | special messages | warning messages | error messages | httpd messages | overview | help
";
switch ($op) {
case "help":
diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module
index f968df964fa..5bcc38f9ba7 100644
--- a/modules/watchdog/watchdog.module
+++ b/modules/watchdog/watchdog.module
@@ -36,14 +36,14 @@ 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 .= "\n";
- $output .= " date | message | user | operations |
\n";
+ $output .= "";
+ $output .= " date | message | user | operations |
";
while ($watchdog = db_fetch_object($result)) {
if ($background = $color[$watchdog->type]) {
- $output .= " ". format_date($watchdog->timestamp, "small") ." | ". substr(check_output($watchdog->message), 0, 64) ." | ". format_name($watchdog) ." | wid\">details |
\n";
+ $output .= " ". format_date($watchdog->timestamp, "small") ." | ". substr(check_output($watchdog->message), 0, 64) ." | ". format_name($watchdog) ." | wid\">details |
";
}
}
- $output .= "
\n";
+ $output .= "
";
return $output;
}
@@ -52,14 +52,14 @@ function watchdog_view($id) {
$result = db_query("SELECT w.*, u.name, u.uid FROM watchdog w LEFT JOIN users u ON w.uid = u.uid WHERE w.wid = '$id'");
if ($watchdog = db_fetch_object($result)) {
- $output .= "\n";
- $output .= " Type: | ". check_output($watchdog->type) ." |
\n";
- $output .= " Date: | ". format_date($watchdog->timestamp, "large") ." |
\n";
- $output .= " User: | ". format_name($watchdog) ." |
\n";
- $output .= " Location: | ". check_output($watchdog->location). " |
\n";
- $output .= " Message: | ". check_output($watchdog->message) ." |
\n";
- $output .= " Hostname: | ". check_output($watchdog->hostname) ." |
\n";
- $output .= "
\n";
+ $output .= "";
+ $output .= " Type: | ". check_output($watchdog->type) ." |
";
+ $output .= " Date: | ". format_date($watchdog->timestamp, "large") ." |
";
+ $output .= " User: | ". format_name($watchdog) ." |
";
+ $output .= " Location: | ". check_output($watchdog->location) ." |
";
+ $output .= " Message: | ". check_output($watchdog->message) ." |
";
+ $output .= " Hostname: | ". check_output($watchdog->hostname) ." |
";
+ $output .= "
";
return $output;
}
@@ -70,7 +70,7 @@ function watchdog_admin() {
if (user_access("administer watchdog")) {
- print "user messages | regular messages | special messages | warning messages | error messages | httpd messages | overview | help
\n";
+ print "user messages | regular messages | special messages | warning messages | error messages | httpd messages | overview | help
";
switch ($op) {
case "help":