function theme_oai_field_mapper_form in Views OAI-PMH 6
Same name and namespace in other branches
- 6.2 theme/views_oai_pmh.theme.inc \theme_oai_field_mapper_form()
- 7 theme/views_oai_pmh.theme.inc \theme_oai_field_mapper_form()
- 7.2 theme/views_oai_pmh.theme.inc \theme_oai_field_mapper_form()
2 theme calls to theme_oai_field_mapper_form()
File
- theme/
views_oai_pmh.theme.inc, line 153 - Theme related functions for processing our output style plugins.
Code
function theme_oai_field_mapper_form($form) {
// $form = $variables['form'];
foreach (element_children($form) as $key) {
$rows[] = array(
drupal_render($form[$key]['drupal_label']),
drupal_render($form[$key]),
);
}
$header = array(
t('Drupal field label'),
t('Dublin Core element name'),
);
$output = theme('table', $header, $rows);
$output .= drupal_render($form);
return $output;
}