You are here

function biblio_export_form in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 includes/biblio.import.export.inc \biblio_export_form()
  2. 7 includes/biblio.import.export.inc \biblio_export_form()
  3. 7.2 includes/biblio.import.export.inc \biblio_export_form()
1 string reference to 'biblio_export_form'
biblio_menu in ./biblio.module
Implementation of hook_menu().

File

./biblio.import.export.inc, line 365
Functions that are used to import and export biblio data.

Code

function biblio_export_form() {
  $form['biblio_filter_exports'] = array(
    '#type' => 'checkbox',
    '#default_value' => variable_get('biblio_filter_exports', 0),
    '#title' => 'Filter exported data',
    '#description' => t('If selected, the data exported to file will be filtered according to the settings for the "Data Fields" section for each format found here ') . l('admin/settings/biblio/fields/typemap', 'admin/settings/biblio/fields/typemap'),
  );
  $form['pot'] = array(
    '#type' => 'fieldset',
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
    '#title' => t('POT Export'),
    '#description' => t('Here you may export a ".pot" file which contains the titles and hints from the database which are not normally captured by translation extractors)'),
  );
  $form['pot']['button'] = array(
    '#type' => 'submit',
    '#value' => t('Export translation data'),
  );
  $form['save'] = array(
    '#type' => 'submit',
    '#value' => t('Save'),
  );
  return $form;
}