You are here

function advpoll_writeins_page in Advanced Poll 5

Same name and namespace in other branches
  1. 6.3 advpoll.pages.inc \advpoll_writeins_page()
  2. 6 advpoll.pages.inc \advpoll_writeins_page()
  3. 6.2 advpoll.pages.inc \advpoll_writeins_page()
  4. 7.3 includes/advpoll.pages.inc \advpoll_writeins_page()
  5. 7 includes/advpoll.pages.inc \advpoll_writeins_page()
  6. 7.2 includes/advpoll.pages.inc \advpoll_writeins_page()
1 string reference to 'advpoll_writeins_page'
advpoll_menu in ./advpoll.module
Implementation of hook_menu().

File

./advpoll.module, line 1554
Advanced Poll - a sophisticated polling module for voting, elections, and group decision-making.

Code

function advpoll_writeins_page() {
  $node = node_load(arg(1));
  drupal_set_title(check_plain($node->title));
  $output .= drupal_get_form('advpoll_writein_promote_form', $node);
  $output .= drupal_get_form('advpoll_writein_merge_form', $node);
  echo theme('page', $output);
}