You are here

function signup_theme in Signup 7

Same name and namespace in other branches
  1. 6.2 signup.module \signup_theme()
  2. 6 signup.module \signup_theme()

Implements hook_theme(), the theme registry().

File

./signup.module, line 20
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 signup_theme() {
  $path = drupal_get_path('module', 'signup');
  $theme_path = $path . '/theme';
  $inc_path = $path . '/includes';
  return array(
    'signup_admin_page' => array(
      'file' => 'admin.inc',
      'path' => $theme_path,
      'variables' => array(
        'filter_status_form' => NULL,
        'signup_admin_form' => NULL,
      ),
    ),
    'signup_filter_status_form' => array(
      'file' => 'admin.inc',
      'path' => $theme_path,
      'render element' => 'form',
    ),
    'signup_email_token_custom_data' => array(
      'file' => 'email.inc',
      'path' => $theme_path,
      'variables' => array(
        'signup_data' => NULL,
      ),
    ),
    'signup_custom_data_email' => array(
      'file' => 'email.inc',
      'path' => $theme_path,
      'variables' => array(
        'data' => NULL,
      ),
    ),
    'signup_custom_data_field_text' => array(
      'file' => 'email.inc',
      'path' => $theme_path,
      'variables' => array(
        'key' => NULL,
        'value' => NULL,
      ),
    ),
    'signup_broadcast_sender_copy' => array(
      'file' => 'email.inc',
      'path' => $theme_path,
      'variables' => array(
        'raw_message' => NULL,
        'cooked_message' => NULL,
      ),
    ),
    'signup_node_admin_page' => array(
      'file' => 'node.admin.inc',
      'path' => $theme_path,
      'variables' => array(
        'node' => NULL,
        'signup_node_admin_summary_form' => NULL,
        'signup_node_admin_details_form' => NULL,
        'signup_form' => NULL,
      ),
    ),
    'signup_node_admin_summary_form' => array(
      'file' => 'node.admin.inc',
      'path' => $theme_path,
      'render element' => 'form',
    ),
    'signup_custom_data' => array(
      'file' => 'node.admin.inc',
      'path' => $theme_path,
      'variables' => array(
        'data' => NULL,
      ),
    ),
    'signup_attended_text' => array(
      'file' => 'node.admin.inc',
      'path' => $theme_path,
      'variables' => array(
        'attended' => NULL,
      ),
    ),
    'signup_signups_closed' => array(
      'file' => 'node.inc',
      'path' => $theme_path,
      'variables' => array(
        'node' => NULL,
        'current_signup' => '',
      ),
    ),
    'signup_anonymous_user_login_text' => array(
      'file' => 'node.inc',
      'path' => $theme_path,
      'variables' => array(
        'anon_login_text' => NULL,
      ),
    ),
    'signup_node_output_header' => array(
      'file' => 'node.inc',
      'path' => $theme_path,
      'variables' => array(
        'node' => NULL,
      ),
    ),
    'signup_node_title' => array(
      'file' => 'node.inc',
      'path' => $theme_path,
      'variables' => array(
        'node' => NULL,
      ),
    ),
    'signup_user_form' => array(
      'file' => 'signup_form.inc',
      'path' => $theme_path,
      'variables' => array(
        'node' => NULL,
      ),
    ),
    'signup_anonymous_username' => array(
      'file' => 'signup_form.inc',
      'path' => $theme_path,
      'variables' => array(
        'form_data' => NULL,
        'email' => NULL,
      ),
    ),
    'signup_settings_view_label' => array(
      'file' => 'admin.settings.inc',
      'path' => $inc_path,
      'variables' => array(
        'view' => NULL,
        'display_id' => NULL,
      ),
    ),
  );
}