You are here

function theme_answers_answer in Answers 5.2

1 theme call to theme_answers_answer()
answers_get_answers in ./answers.module

File

./answers.module, line 507
Enables the creation of question nodes that can be answered by posting answer nodes.

Code

function theme_answers_answer($node, $rendered, $odd_or_even) {
  if ($odd_or_even == '0') {
    return '<div class="questitem oddans ' . $node->type . '">' . $rendered . '<br></div>';
  }
  else {
    return '<div class="questitem evenans ' . $node->type . '">' . $rendered . '<br></div>';
  }
}