You are here

function theme_signup_node_admin_summary_form in Signup 5.2

Same name and namespace in other branches
  1. 6.2 theme/node.admin.inc \theme_signup_node_admin_summary_form()
  2. 6 theme/node.admin.inc \theme_signup_node_admin_summary_form()
  3. 7 theme/node.admin.inc \theme_signup_node_admin_summary_form()

Renders the HTML for the per-node signup summary administrative form.

File

./signup.module, line 2096
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_node_admin_summary_form($form) {
  $row = array(
    drupal_render($form['status']),
    drupal_render($form['total']),
    drupal_render($form['limit']),
    drupal_render($form),
  );
  $header = array(
    t('Status'),
    t('Total'),
    t('Limit'),
    t('Operations'),
  );
  $fieldset = array(
    '#title' => t('Signup summary'),
    '#collapsible' => TRUE,
    '#value' => theme('table', $header, array(
      $row,
    )),
  );
  return theme('fieldset', $fieldset);
}