You are here

function theme_signup_custom_data_table in Signup 5

Same name and namespace in other branches
  1. 5.2 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()
signup_nodeapi in ./signup.module
hook_nodeapi implementation

File

./signup.module, line 1437

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;
}