function theme_simpleanswer_content in Answers 5.2
1 theme call to theme_simpleanswer_content()
- simpleanswer_view in simpleanswer/
simpleanswer.module
File
- simpleanswer/
simpleanswer.module, line 104 - Adds a simple form to post a response/answer to questions using the answers module. This module does not display its content directly and requires the answers module to show its content.
Code
function theme_simpleanswer_content($node, $teaser = FALSE, $page = FALSE) {
$username = theme('username', user_load(array(
'uid' => $node->uid,
)));
return "<span style='float:left;padding-right: 7px;font-size: 2em;'>A:</span>" . check_markup($node->body, $node->format) . '<br />Answer by ' . $username;
}