From 354e0c1f83c83bd134cd5d682f5ddcb2316f7c75 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Fri, 29 Jul 2005 04:12:19 +0000 Subject: - #23651: Display referrer info with watchdog messages. --- modules/watchdog.module | 1 + modules/watchdog/watchdog.module | 1 + 2 files changed, 2 insertions(+) (limited to 'modules') diff --git a/modules/watchdog.module b/modules/watchdog.module index 64a580fef..68f460c35 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -141,6 +141,7 @@ function watchdog_event($id) { $output .= ' '. t('Date') .''. format_date($watchdog->timestamp, 'large') .''; $output .= ' '. t('User') .''. format_name($watchdog) .''; $output .= ' '. t('Location') ."". l($watchdog->location, $watchdog->location) .""; + $output .= ' '. t('Referrer') ."". l($watchdog->referer, $watchdog->referer) .""; $output .= ' '. t('Message') ."$watchdog->message"; $output .= ' '. t('Severity') .''. $severity[$watchdog->severity] .''; $output .= ' '. t('Hostname') ."$watchdog->hostname"; diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 64a580fef..68f460c35 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -141,6 +141,7 @@ function watchdog_event($id) { $output .= ' '. t('Date') .''. format_date($watchdog->timestamp, 'large') .''; $output .= ' '. t('User') .''. format_name($watchdog) .''; $output .= ' '. t('Location') ."". l($watchdog->location, $watchdog->location) .""; + $output .= ' '. t('Referrer') ."". l($watchdog->referer, $watchdog->referer) .""; $output .= ' '. t('Message') ."$watchdog->message"; $output .= ' '. t('Severity') .''. $severity[$watchdog->severity] .''; $output .= ' '. t('Hostname') ."$watchdog->hostname"; -- cgit v1.2.3