diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-08 17:58:52 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-08 17:58:52 +0000 |
commit | 216714b7b636eec7a989f958972739ba08f95136 (patch) | |
tree | 248802dbc96c9349882a33f59c347e44ae8662d0 | |
parent | fc6eaa5e8358da811aa4a300ee2cb0b5f590c1eb (diff) | |
download | brdo-216714b7b636eec7a989f958972739ba08f95136.tar.gz brdo-216714b7b636eec7a989f958972739ba08f95136.tar.bz2 |
- a couple of small improvements
-rw-r--r-- | modules/backend.class | 2 | ||||
-rw-r--r-- | modules/headline.module | 4 |
2 files changed, 3 insertions, 3 deletions
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]: <PRE>$data</PRE>"); + watchdog("error", "failed to retrieve headline data from '$this->site': <PRE>$data</PRE>"); } } } 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 .= "<TR>\n"; - $output .= " <TD><A HREF=\"$backend->url\">$backend->site</A></TD>\n"; - $output .= " <TD><A HREF=\"mailto:$backend->contact\">$backend->contact</A></TD>\n"; + $output .= " <TD>". format_url($backend->url, $backend->site) ."</TD>\n"; + $output .= " <TD>". format_email($backend->contact) ."</TD>\n"; $output .= " <TD ALIGN=\"center\">". ($backend->timestamp == 1 ? "failed" : format_interval(time() - $backend->timestamp) ." ago") ."</TD>\n"; $output .= " <TD ALIGN=\"center\"><A HREF=\"admin.php?mod=headline&op=refresh&id=$backend->id\">refresh</A></TD>\n"; $output .= " <TD ALIGN=\"center\"><A HREF=\"admin.php?mod=headline&op=delete&id=$backend->id\">delete</A></TD>\n"; |