From c71e1339584173f47cb7c1869426ef3cf9639ef3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 7 Jan 2002 22:08:52 +0000 Subject: - Added about 50 title tags. --- modules/comment/comment.module | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/comment') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 344bf2359..820e5ce41 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -58,7 +58,7 @@ function comment_tag_new($nid) { function comment_is_new($comment) { global $user; static $date; - + if (!$date) { if ($user->uid) { $history = db_fetch_object(db_query("SELECT timestamp FROM history WHERE uid = '$user->uid' AND nid = '$comment->nid'")); @@ -357,15 +357,15 @@ function comment_links($comment, $return = 1) { } if (user_access("administer comments")) { - $links[] = "cid\">type\">". t("administer") .""; + $links[] = "cid\" title=\"". t("Administer this comment.") ."\">type\">". t("administer") .""; } if (user_access("post comments")) { if (comment_access("edit", $comment)) { - $links[] = "cid\">type\">". t("edit your comment") .""; + $links[] = "cid\">type\" title=\"". t("Make changes to your comment.") ."\">". t("edit your comment") .""; } else { - $links[] = "nid&pid=$comment->cid\">type\">". t("reply to this comment") .""; + $links[] = "nid&pid=$comment->cid\" title=\"". t("Reply to this comment.") ."\">type\">". t("reply to this comment") .""; } } @@ -551,7 +551,7 @@ function comment_link($type, $node = 0, $main = 0) { $all = comment_num_all($node->nid); $new = comment_num_new($node->nid); - $links[] = "nid#comment\">". format_plural($all, "comment", "comments") . ($new ? ", $new ". t("new") : "") .""; + $links[] = "nid#comment\" title=\"". t("View this posting and all of its comments.") ."\">". format_plural($all, "comment", "comments") . ($new ? ", $new ". t("new") : "") .""; } } else { @@ -561,7 +561,7 @@ function comment_link($type, $node = 0, $main = 0) { */ if (user_access("post comments")) { - $links[] = "nid#comment\">". t("add new comment") .""; + $links[] = "nid#comment\" title=\"". t("Share your thoughts and opinions related to this posting.") ."\">". t("add new comment") .""; } } } -- cgit v1.2.3