summaryrefslogtreecommitdiff
path: root/modules/tracker
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-10-22 18:46:43 +0000
committerDries Buytaert <dries@buytaert.net>2002-10-22 18:46:43 +0000
commit66c5b70736553b2c84eb8835e7b4c3ad7c34c8f8 (patch)
tree605fc52b5bd8fa8e2411dee975e34c2e83276595 /modules/tracker
parent88d6ef3a2ad99a0872b00f40e84c083b098ad21c (diff)
downloadbrdo-66c5b70736553b2c84eb8835e7b4c3ad7c34c8f8.tar.gz
brdo-66c5b70736553b2c84eb8835e7b4c3ad7c34c8f8.tar.bz2
- Wrapped some hardcoded colors in "theme_invoke()"s; we can still create
a drupal_error() later on but I think we better get used to theme_invoke(). - Fixed translation bug. Patch by Moshe. - Fixed PHP warning. Patch by ax.
Diffstat (limited to 'modules/tracker')
-rw-r--r--modules/tracker/tracker.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module
index 32a8a0885..e663ea798 100644
--- a/modules/tracker/tracker.module
+++ b/modules/tracker/tracker.module
@@ -48,7 +48,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), "node", $comment->cid) ." ". t("by") ." ". format_name($comment) ." (". 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), "node", $comment->cid) ." ". t("by") ." ". format_name($comment) ." (". t("replies") .": ". comment_num_replies($comment->cid) .") ". (comment_is_new($comment) ? theme_invoke("theme_mark") : "") ."</li>\n";
}
$output .= " </ul>\n";
}