From 22c889e7c05b1c2dd98ad5e6b3547234a3f6596f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 7 Oct 2003 18:16:41 +0000 Subject: - Help system improvements: eliminated the _system hook. Patch by Michael. - Bloggerapi module fixes. Patch by Kjartan. - Coding style fixes. Patch by Michael. --- modules/tracker/tracker.module | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'modules/tracker/tracker.module') diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 1fdd6c093..d40079cb3 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -8,7 +8,7 @@ function tracker_help($section = "admin/tracker/help") { case 'admin/tracker/help': $output = t("

The tracker module is a handy module for displaying the most recent posts. By following the view recent posts link in the user block, a user may quickly review all recent postings.

"); break; - case 'admin/system/modules': + case 'admin/system/modules#description': $output = t("Enables tracking of recent posts for users."); break; } @@ -16,13 +16,6 @@ function tracker_help($section = "admin/tracker/help") { return $output; } -function tracker_system($field) { - $output = ""; - - if ($field == "description") {$output = tracker_help("admin/system/modules"); }; - return $output; -} - function tracker_link($type) { $links = array(); @@ -73,7 +66,7 @@ function tracker_posts($id = 0) { $comments = array(); while ($comment = db_fetch_object($cresult)) { - $comments[] = "
  • ". t("%subject by %author", array("%subject" => l($comment->subject, "node/view/$node->nid#$comment->cid"), "%author" => format_name($comment))). " ". (node_is_new($comment->nid, $comment->timestamp) ? theme("theme_mark") : "") ."
  • \n"; + $comments[] = "
  • ". t("%subject by %author", array("%subject" => l($comment->subject, "node/view/$node->nid#$comment->cid"), "%author" => format_name($comment))) ." ". (node_is_new($comment->nid, $comment->timestamp) ? theme("theme_mark") : "") ."
  • \n"; } if ($comments) { -- cgit v1.2.3