diff options
Diffstat (limited to 'modules/tracker.module')
-rw-r--r-- | modules/tracker.module | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/modules/tracker.module b/modules/tracker.module index 1fdd6c093..d40079cb3 100644 --- a/modules/tracker.module +++ b/modules/tracker.module @@ -8,7 +8,7 @@ function tracker_help($section = "admin/tracker/help") { case 'admin/tracker/help': $output = t("<p>The tracker module is a handy module for displaying the most recent posts. By following the <i>view recent posts</i> link in the user block, a user may quickly review all recent postings.</p>"); 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[] = "<li>". 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") : "") ."</li>\n"; + $comments[] = "<li>". 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") : "") ."</li>\n"; } if ($comments) { |