poll_results

Definition

poll_results()
poll/poll.module, line 472

Description

Callback for the 'results' tab for polls you can vote on

Code

<?php
function poll_results() {
  if ($node = node_load(arg(1))) {
    drupal_set_title(check_plain($node->title));
    return node_show($node, 0);
  }
  else {
    drupal_not_found();
  }
}
?>