You are here

function statspro_include_link_to_advanced_help_pages in Statistics Pro 6.2

Includes link to ADvanced Help pages if the ADvanced Help module is available.

2 calls to statspro_include_link_to_advanced_help_pages()
statspro_main_admin_settings_form in ./statspro_admin_settings.inc
Main admin settings form.
statspro_overview_settings_form in ./statspro_overview.inc

File

./statspro_settings.inc, line 222

Code

function statspro_include_link_to_advanced_help_pages(&$form) {
  if (!module_exists('advanced_help')) {
    return;
  }
  $form['advanced_help_link_wrapper'] = array(
    '#type' => 'fieldset',
    '#title' => t('Help pages'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
    '#weight' => 110,
  );
  $message = "\n<p>" . t("Please see !help_page for extra info on using this\n        module.", array(
    '!help_page' => l('Statistics Pro help pages', 'admin/advanced_help/statspro'),
  )) . "</p>\n";
  $form['advanced_help_link_wrapper']['advanced_help_link'] = array(
    '#value' => $message,
  );
}