From 951b553a9887df92d93ecc42e7e83ca568e26aae Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 9 Nov 2003 23:27:22 +0000 Subject: - Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX. --- modules/tracker/tracker.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'modules/tracker') diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 78d27c793..fcde4f1f6 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -61,12 +61,12 @@ function tracker_posts($id = 0) { } $type = ucfirst(module_invoke($node->type, "node", "name")); - $title = l($node->title, "node/view/$node->nid") ." ". (node_is_new($node->nid, $node->changed) ? theme("theme_mark") : ""); + $title = l($node->title, "node/view/$node->nid") ." ". (node_is_new($node->nid, $node->changed) ? theme("mark") : ""); $author = format_name($node); $comments = array(); while ($comment = db_fetch_object($cresult)) { - $comments[] = "
  • ". 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") : "") ."
  • \n"; + $comments[] = "
  • ". 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("mark") : "") ."
  • \n"; } if ($comments) { @@ -104,9 +104,9 @@ function tracker_page() { global $user; if (user_access("access content")) { - theme("header", t("Recent posts")); - theme("box", t("Recent posts"), tracker_posts(arg(1))); - theme("footer"); + print theme("header", t("Recent posts")); + print theme("box", t("Recent posts"), tracker_posts(arg(1))); + print theme("footer"); } } -- cgit v1.2.3