You are here

function theme_webform_chart_form_help in Webform Chart 7

Same name and namespace in other branches
  1. 7.2 webform_chart.admin.inc \theme_webform_chart_form_help()

Theme function for administration help.

This checks for the existence / installation of requisite modules and provides download links as well.

1 theme call to theme_webform_chart_form_help()
_webform_chart_form_configure in ./webform_chart.admin.inc
Provides an administration form for the webform_chart module.

File

./webform_chart.admin.inc, line 154
Provides administration functions for the webform_chart module.

Code

function theme_webform_chart_form_help() {
  $basic_help = '<p>' . t('Chose a back-end to render webform data with. Available back ends include:') . '</p>';
  $helps = module_invoke_all('wfc_backend_help');
  array_unshift($helps, $basic_help);
  $output = '';
  foreach ($helps as $help) {
    $output .= '<div class="webform_chart_help_section">' . $help . '</div>';
  }
  return $output;
}