diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-12 15:40:57 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-12 15:40:57 +0000 |
commit | f86a944979de75225dc3ddd00920ebedbfe307ed (patch) | |
tree | f2a1ebeb51fea0ee7ccdc5019c7fa1856893e48c /modules/tracker.module | |
parent | 497ab799ef0cdb40068d84c0bd2eccd2f7a3a480 (diff) | |
download | brdo-f86a944979de75225dc3ddd00920ebedbfe307ed.tar.gz brdo-f86a944979de75225dc3ddd00920ebedbfe307ed.tar.bz2 |
- applied Stevens link patch.
- fixed block permissions.
- fixed user admin page errors: http://www.drupal.org/node.php?id=173.
- cleaned up common.inc a bit: removed format_info, path_img, field_merge.
Diffstat (limited to 'modules/tracker.module')
-rw-r--r-- | modules/tracker.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/tracker.module b/modules/tracker.module index 2ddc4440c..7f415e2dd 100644 --- a/modules/tracker.module +++ b/modules/tracker.module @@ -9,7 +9,7 @@ function tracker_help() { function tracker_link($type) { if ($type == "menu.view") { - $links[] = lm(t("view new comments"), array("mod" => "tracker"), t("Display an overview of the recent comments.")); + $links[] = lm(t("view new comments"), array("mod" => "tracker"), "", array("title" => t("Display an overview of the recent comments."))); } return $links ? $links : array(); @@ -39,7 +39,7 @@ function tracker_comments($id = 0) { $output .= "<ul>"; while ($comment = db_fetch_object($cresult)) { - $output .= " <li>". l(check_output($comment->subject), array("id" => $node->nid, "cid" => $comment->cid, "pid" => $comment->pid ."#". $comment->cid)) ." by ". lm(check_output($comment->name), array("mod" => "user", "op" => "view", "id" => $comment->uid)) ." (". t("replies") .": ". comment_num_replies($comment->cid) .") ". (comment_is_new($comment) ? "<span style=\"color: red;\">*</span>" : "") ."</li>\n"; + $output .= " <li>". l(check_output($comment->subject), array("id" => $node->nid, "cid" => $comment->cid, "pid" => $comment->pid), $comment->cid) ." by ". lm(check_output($comment->name), array("mod" => "user", "op" => "view", "id" => $comment->uid)) ." (". t("replies") .": ". comment_num_replies($comment->cid) .") ". (comment_is_new($comment) ? "<span style=\"color: red;\">*</span>" : "") ."</li>\n"; } $output .= " </ul>\n"; } @@ -50,8 +50,8 @@ function tracker_comments($id = 0) { function tracker_menu() { global $user; - $links[] = lm(t("your recent comments"), array("mod" => "tracker", "id" => $user->uid), t("Display an overview of your recent comments.")); - $links[] = lm(t("all recent comments"), array("mod" => "tracker"), t("Display an overview of all the recent comments.")); + $links[] = lm(t("your recent comments"), array("mod" => "tracker", "id" => $user->uid), "", array("title" => t("Display an overview of your recent comments."))); + $links[] = lm(t("all recent comments"), array("mod" => "tracker"), "", array("title" => t("Display an overview of all the recent comments."))); return "<div align=\"center\">". implode(" · ", $links) ."</div>"; } |