From 216714b7b636eec7a989f958972739ba08f95136 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 8 Mar 2001 17:58:52 +0000 Subject: - a couple of small improvements --- modules/backend.class | 2 +- modules/headline.module | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/backend.class b/modules/backend.class index 679c149a6..03f4a5c0d 100644 --- a/modules/backend.class +++ b/modules/backend.class @@ -95,7 +95,7 @@ class backend { $this->timestamp = time(); } else { - watchdog("error", "failed to retrieve headline data from $url[host]:
$data
"); + watchdog("error", "failed to retrieve headline data from '$this->site':
$data
"); } } } diff --git a/modules/headline.module b/modules/headline.module index 4ab0668e7..da9f71e45 100644 --- a/modules/headline.module +++ b/modules/headline.module @@ -113,8 +113,8 @@ function headline_admin_display() { $backend = new backend($channel->id); $output .= "\n"; - $output .= " url\">$backend->site\n"; - $output .= " contact\">$backend->contact\n"; + $output .= " ". format_url($backend->url, $backend->site) ."\n"; + $output .= " ". format_email($backend->contact) ."\n"; $output .= " ". ($backend->timestamp == 1 ? "failed" : format_interval(time() - $backend->timestamp) ." ago") ."\n"; $output .= " id\">refresh\n"; $output .= " id\">delete\n"; -- cgit v1.2.3