You are here

function theme_signup_current_signup in Signup 5.2

Controls the output of the users signup data and optional cancel button.

Parameters

$signup_data: Array containing information about the user's signup. Contains: 'signup_timestamp' - Integer timestamp when the user signed up. 'custom_data' - Array containing the user's custom signup data.

$cancel_signup_form: Optional HTML for a "Cancel signup" button if the user is allowed.

Return value

Themed output containing the user's current signup information.

1 theme call to theme_signup_current_signup()
_signup_print_current_signup in ./signup.module
Helper function to display the current user's signup information.

File

./signup.module, line 1032
The Signup module (http://drupal.org/project/signup) manages replies to nodes. In particular, it's good for event management. Signup supports sending reminder emails and automatically closing signups for nodes with a start time, via the Event…

Code

function theme_signup_current_signup($signup_data, $cancel_signup_form = '') {
  $output = theme('signup_custom_data_table', $signup_data['custom_data']);
  $output .= $cancel_signup_form;
  return $output;
}