You are here

function theme_signup_custom_data_table in Signup 5.2

Same name and namespace in other branches
  1. 5 signup.module \theme_signup_custom_data_table()

Renders custom signup user data into a table.

Parameters

$data: Array of custom user signup data.

Return value

The themed table with custom signup user data.

See also

theme_signup_user_form()

1 theme call to theme_signup_custom_data_table()
theme_signup_current_signup in ./signup.module
Controls the output of the users signup data and optional cancel button.

File

./signup.module, line 2502
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_custom_data_table($data) {
  $output = '';
  if (is_array($data)) {
    $header = array(
      array(
        'data' => t('Your signup information'),
        'colspan' => 2,
      ),
    );
    $rows = theme('signup_custom_data_rows', $data);
    $output .= theme('table', $header, $rows);
  }
  return $output;
}