function theme_oai_field_mapper_form in Views OAI-PMH 6.2
Same name and namespace in other branches
- 6 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()
3 theme calls to theme_oai_field_mapper_form()
- views_oai_pmh_plugin_row_dc::options_form in plugins/
views_oai_pmh_plugin_row_dc.inc - views_oai_pmh_plugin_row_etdms::options_form in plugins/
views_oai_pmh_plugin_row_etdms.inc - views_oai_pmh_plugin_row_misc::options_form in plugins/
views_oai_pmh_plugin_row_misc.inc - Build the Views options form.
File
- theme/
views_oai_pmh.theme.inc, line 261 - 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('OAI type element name'),
);
$output = theme('table', $header, $rows);
$output .= drupal_render($form);
return $output;
}