You are here

function theme_advanced_forum_topic_header in Advanced Forum 5

Theme function for advanced_forum_forum_legend().

1 theme call to theme_advanced_forum_topic_header()
advanced_forum_preprocess_node in ./advanced_forum.module
Preprocesses template variables for the node template.

File

./advanced_forum.module, line 272
Enables the look and feel of other popular forum software.

Code

function theme_advanced_forum_topic_header($node, $comment_count) {
  $variables = array();
  $variables['node'] = $node;
  $variables['comment_count'] = $comment_count;

  // Pass the parameters into our preprocess function
  advanced_forum_call_preprocess('advanced_forum_topic_header', $variables);

  // Set the template file
  $forum_style = advanced_forum_get_current_style();
  return _phptemplate_callback("advanced_forum_topic_header", $variables, array(
    "{$forum_style}/advanced_forum-topic-header",
  ));
}