function galleria_form_optionset_export in Galleria 7
Export option sets
1 string reference to 'galleria_form_optionset_export'
- galleria_menu in ./
galleria.module - Implements hook_menu().
File
- includes/
galleria.admin.inc, line 994 - Administrative page callbacks for the galleria module.
Code
function galleria_form_optionset_export() {
$output = '';
// Check for an appropriate export tool
if (module_exists('bulk_export') || module_exists('features')) {
$output .= 'Use any of the following to export your option sets.';
$output .= '<ul>';
if (module_exists('bulk_export')) {
$output .= '<li>' . l('Bulk Export', 'admin/structure/bulk-export') . '</li>';
}
if (module_exists('features')) {
$output .= '<li>' . l('Features', 'admin/structure/features') . '</li>';
}
$output .= '</ul>';
}
else {
$output .= t('Enable the <a href="http://drupal.org/project/ctools">Bulk Export module</a> or the <a href="http://drupal.org/project/features">Features module</a> to export your option sets.');
}
return $output;
}