summaryrefslogtreecommitdiff
path: root/modules/forum/forum-topic-list.tpl.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-08 07:58:47 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-08 07:58:47 +0000
commitc4e1242e92f3bcedc15a663821e080dcea4be4b8 (patch)
tree59215bf056869efb33af429e78aed6660dc80efe /modules/forum/forum-topic-list.tpl.php
parentf5b02199c737d7a2de051d479de703a2176b1cbe (diff)
downloadbrdo-c4e1242e92f3bcedc15a663821e080dcea4be4b8.tar.gz
brdo-c4e1242e92f3bcedc15a663821e080dcea4be4b8.tar.bz2
#412518 by catch, bangpound, and yched: Convert taxonomy_node_* to field API (with upgrade path). Say buh-bye to old, crusty code.
Diffstat (limited to 'modules/forum/forum-topic-list.tpl.php')
-rw-r--r--modules/forum/forum-topic-list.tpl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/forum/forum-topic-list.tpl.php b/modules/forum/forum-topic-list.tpl.php
index 9757b6049..36211c851 100644
--- a/modules/forum/forum-topic-list.tpl.php
+++ b/modules/forum/forum-topic-list.tpl.php
@@ -20,7 +20,7 @@
* - $topic->message: If the topic has been moved, this contains an
* explanation and a link.
* - $topic->zebra: 'even' or 'odd' string used for row class.
- * - $topic->num_comments: The number of replies on this topic.
+ * - $topic->comment_count: The number of replies on this topic.
* - $topic->new_replies: A flag to indicate whether there are unread comments.
* - $topic->new_url: If there are unread replies, this is a link to them.
* - $topic->new_text: Text containing the translated, properly pluralized count.
@@ -53,7 +53,7 @@
<td colspan="3"><?php print $topic->message; ?></td>
<?php else: ?>
<td class="replies">
- <?php print $topic->num_comments; ?>
+ <?php print $topic->comment_count; ?>
<?php if ($topic->new_replies): ?>
<br />
<a href="<?php print $topic->new_url; ?>"><?php print $topic->new_text; ?></a>