function ctools_export_ui::help_area in Chaos Tool Suite (ctools) 6
Add text on the top of the page.
1 call to ctools_export_ui::help_area()
- ctools_export_ui::list_page in plugins/
export_ui/ ctools_export_ui.class.php - Master entry point for handling a list.
File
- plugins/
export_ui/ ctools_export_ui.class.php, line 43
Class
- ctools_export_ui
- Base class for export UI.
Code
function help_area($form_state) {
// If needed add advanced help strings.
$output = '';
if (!empty($this->plugin['use advanced help'])) {
$config = $this->plugin['advanced help'];
if ($config['enabled']) {
$output = theme('advanced_help_topic', $config['module'], $config['topic']);
$output .= ' ' . $this->plugin['strings']['advanced help']['enabled'];
}
else {
$output = $this->plugin['strings']['advanced help']['disabled'];
}
}
return $output;
}