summaryrefslogtreecommitdiff
path: root/modules/forum/forum-topic-list.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/forum/forum-topic-list.tpl.php')
-rw-r--r--modules/forum/forum-topic-list.tpl.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/forum/forum-topic-list.tpl.php b/modules/forum/forum-topic-list.tpl.php
index 71c4ef337..5995850e2 100644
--- a/modules/forum/forum-topic-list.tpl.php
+++ b/modules/forum/forum-topic-list.tpl.php
@@ -10,6 +10,7 @@
* information. If you need to change this, @see template_preprocess_forum_topic_list().
* - $pager: The pager to display beneath the table.
* - $topics: An array of topics to be displayed.
+ * - $topic_id: Numeric id for the current forum topic.
*
* Each $topic in $topics contains:
* - $topic->icon: The icon to display.
@@ -32,7 +33,7 @@
* @see theme_forum_topic_list()
*/
?>
-<table>
+<table id="forum-topic-<?php print $topic_id; ?>">
<thead>
<tr><?php print $header; ?></tr>
</thead>