Creates a simple teaser that lists all the choices.
This is primarily used for RSS.
$node: The poll node object.
Poll choices in a simple teaser format.
function poll_teaser($node) {
$teaser = NULL;
if (is_array($node->choice)) {
foreach ($node->choice as $k => $choice) {
if ($choice['chtext'] != '') {
$teaser .= '* ' . check_plain($choice['chtext']) . "\n";
}
}
}
return $teaser;
}