You are here

function beautytips_drupal_help_admin_info in BeautyTips 6.2

Same name and namespace in other branches
  1. 8 includes/drupal_help.inc \beautytips_drupal_help_admin_info()
  2. 7.2 includes/drupal_help.inc \beautytips_drupal_help_admin_info()

File

includes/drupal_help.inc, line 3

Code

function beautytips_drupal_help_admin_info() {
  $form['beautytips_help'] = array(
    '#type' => 'fieldset',
    '#title' => 'Help Link Tooltips',
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );
  $form['beautytips_help']['beautytips_drupal_help'] = array(
    '#type' => 'checkbox',
    '#title' => 'Display Help link popups',
    '#default_value' => variable_get('beautytips_drupal_help', FALSE),
  );
  if (module_exists('advanced_help')) {
    $form['beautytips_help']['beautytips_advanced_help'] = array(
      '#type' => 'checkbox',
      '#title' => 'Display Advanced Help link popups',
      '#default_value' => variable_get('beautytips_advanced_help', FALSE),
    );
  }
  return $form;
}