'. l($node->title, "node/$node->nid") . '

'; // Add optional output for the start and ending dates for this node. $output .= theme('signup_event_dates', $node); return $output; } /** * You can alter this user signup form to suit your needs -- feel free * to alter any elements in this section, remove them, or add any * others. * * In order for the form to be rendered properly, the name of the form * element must be $form['signup_form_data']['NameOfDataField'], where * NameOfDataField is replaced with the actual name of the data field. * We suggest that the displayed name of the field (the '#title' * property) be the same as the name of the data field, but it's not * required. See below for examples. * * Fieldsets are not currently supported in this form. Any * '#default_value' will be filled in by default when the form is * presented to the user. Any field marked '#required' must be filled * in before the user can sign up. * * @return * Array defining the form to present to the user to signup for a node. */ function theme_signup_user_form() { global $user; // This line is required for this form to function -- DO NOT EDIT OR REMOVE. $form['signup_form_data']['#tree'] = TRUE; $form['signup_form_data']['Name'] = array( '#type' => 'textfield', '#title' => t('Name'), '#size' => 40, '#maxlength' => 64, '#required' => true, ); $form['signup_form_data']['Phone'] = array( '#type' => 'textfield', '#title' => t('Phone'), '#size' => 40, '#maxlength' => 64, ); // If the user is logged in, fill in their name by default. if ($user->uid) { $form['signup_form_data']['Name']['#default_value'] = $user->name; } return $form; }