forum-topic-list.tpl.php

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

Версия 1.4.2.1 (checked in on 2008/10/22 at 18:22:51 by dries)

forum-topic-list.tpl.php Theme implementation to display a list of forum topics.

Available variables:

  • $header: The table header. This is pre-generated with click-sorting 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.
  • $topic->moved: A flag to indicate whether the topic has been moved to another forum.
  • $topic->title: The title of the topic. Safe to output.
  • $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->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.
  • $topic->created: An outputtable string represented when the topic was posted.
  • $topic->last_reply: An outputtable string representing when the topic was last replied to.
  • $topic->timestamp: The raw timestamp this topic was posted.

See also

template_preprocess_forum_topic_list()

@see theme_forum_topic_list()

Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему