diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-07 18:16:41 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-07 18:16:41 +0000 |
commit | 22c889e7c05b1c2dd98ad5e6b3547234a3f6596f (patch) | |
tree | 8b63c79053762af3284384a7e8c54a2d3e9b0d45 /modules/tracker/tracker.module | |
parent | fbc674f14301fd92f97f2506a72c22b7d51c1c43 (diff) | |
download | brdo-22c889e7c05b1c2dd98ad5e6b3547234a3f6596f.tar.gz brdo-22c889e7c05b1c2dd98ad5e6b3547234a3f6596f.tar.bz2 |
- Help system improvements: eliminated the _system hook. Patch by Michael.
- Bloggerapi module fixes. Patch by Kjartan.
- Coding style fixes. Patch by Michael.
Diffstat (limited to 'modules/tracker/tracker.module')
-rw-r--r-- | modules/tracker/tracker.module | 11 |
1 files changed, 2 insertions, 9 deletions
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("<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) { |