summaryrefslogtreecommitdiff
path: root/modules/forum/forum-topic-list.tpl.php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-30 18:58:12 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-30 18:58:12 +0000
commitd82fe113bc4093356c7ef5f8ee210ca4340dced8 (patch)
tree527b6d96b52efdfb3ee8b44d69af0f481c26940a /modules/forum/forum-topic-list.tpl.php
parent6d25504ce2bb5cda44f1f328720c46c6f6e2de4b (diff)
downloadbrdo-d82fe113bc4093356c7ef5f8ee210ca4340dced8.tar.gz
brdo-d82fe113bc4093356c7ef5f8ee210ca4340dced8.tar.bz2
#53905 by fax8, Gurpartap Singh and dvessel: give meaningful names to term variables in forum templates and add unique IDs for easier themeing
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>