You are here

function biblio_admin_type_mapper_page in Bibliography Module 6

1 string reference to 'biblio_admin_type_mapper_page'
biblio_menu in ./biblio.module
Implementation of hook_menu().

File

./biblio.admin.inc, line 924

Code

function biblio_admin_type_mapper_page() {
  $formats = array(
    'BibTex' => 'bibtex',
    'RIS' => 'ris',
    'EndNote Tagged' => 'tagged',
    'EndNote 7 XML' => 'endnote7',
    'EndNote X3 XML' => 'endnote8',
    'CrossRef XML' => 'unixref',
  );
  foreach ($formats as $key => $value) {
    $rows[] = array(
      $key,
      l('edit', 'admin/settings/biblio/fields/typemap/' . $value),
      l('edit', 'admin/settings/biblio/fields/fieldmap/' . $value),
    );
  }
  $header = array(
    t('Format'),
    t('Publication Types'),
    t('Data Fields'),
  );
  return theme('table', $header, $rows);
}