summaryrefslogtreecommitdiff
path: root/modules/tracker.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-02-11 20:01:17 +0000
committerDries Buytaert <dries@buytaert.net>2003-02-11 20:01:17 +0000
commite90f3b883b0655ccba009f2fbef982696341a1a2 (patch)
tree0afa31bda8e395e9addfadae4eb62067392abe20 /modules/tracker.module
parent3d3a60740a63e8c803d0905b2727bb202e6de370 (diff)
downloadbrdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.gz
brdo-e90f3b883b0655ccba009f2fbef982696341a1a2.tar.bz2
- See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html.
Diffstat (limited to 'modules/tracker.module')
-rw-r--r--modules/tracker.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/tracker.module b/modules/tracker.module
index 74222598a..231f0afec 100644
--- a/modules/tracker.module
+++ b/modules/tracker.module
@@ -20,7 +20,7 @@ function tracker_link($type) {
return $links ? $links : array();
}
-function tracker_conf_options() {
+function tracker_settings() {
$period = array(3600 => format_interval(3600), 10800 => format_interval(10800), 21600 => format_interval(21600), 32400 => format_interval(32400), 43200 => format_interval(43200), 86400 => format_interval(86400), 172800 => format_interval(172800), 259200 => format_interval(259200), 604800 => format_interval(604800), 1209600 => format_interval(1209600), 2419200 => format_interval(2419200), 1000000000 => "All");
$output .= form_select("Show comments more recent than", "tracker_period", variable_get("tracker_period", 259200), $period, "Comments younger than this get displayed.");
return $output;
@@ -48,7 +48,7 @@ function tracker_comments($id = 0) {
$output .= "<ul>";
while ($comment = db_fetch_object($cresult)) {
- $output .= " <li>". l($comment->subject, "node/view/$node->nid#$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 .= " <li>". l($comment->subject, "node/view/$node->nid#$comment->cid") ." ". t("by") ." ". format_name($comment) ." (". t("replies") .": ". comment_num_replies($comment->cid) .") ". (comment_is_new($comment) ? theme("theme_mark") : "") ."</li>\n";
}
$output .= " </ul>\n";
}