You are here

function invite_stats_block_configure in Invite 7.2

Implements hook_block_configure().

File

modules/invite_stats/invite_stats.module, line 111
Displays some statistics about sent invitations.

Code

function invite_stats_block_configure($delta = '') {
  $form = array();
  if ($delta == 'top_inviters') {
    $form['invite_num_ranks'] = array(
      '#type' => 'textfield',
      '#title' => t('Number of inviters'),
      '#default_value' => variable_get('invite_num_ranks', 5),
      '#size' => 3,
      '#maxlength' => 3,
      '#description' => t('Show this number of inviters in the Top inviters and User rank blocks.'),
      '#required' => TRUE,
    );
  }
  return $form;
}