You are here

function signup_node_admin_add_user_page in Signup 7

Same name and namespace in other branches
  1. 6.2 includes/signup_form.inc \signup_node_admin_add_user_page()
  2. 6 includes/signup_form.inc \signup_node_admin_add_user_page()

@todo Please document this function.

See also

http://drupal.org/node/1354

1 string reference to 'signup_node_admin_add_user_page'
signup_menu in ./signup.module
Implements hook_menu().

File

includes/signup_form.inc, line 205
Code for the form when users sign up.

Code

function signup_node_admin_add_user_page($node) {
  drupal_set_title($node->title);
  $output = '';
  if ($node->signup_status) {
    $output = drupal_get_form('signup_form', $node, 'admin', FALSE);
  }
  return $output;
}