Browse Source

Merge pull request #366 from ruebot/7.x-dcterms

add dcterms
pull/367/merge
Jordan Dukart 12 years ago
parent
commit
7177b350bc
  1. 1
      includes/dublin_core.inc

1
includes/dublin_core.inc

@ -133,6 +133,7 @@ class DublinCore {
$dc_array[$field]['label'] = $element_label; $dc_array[$field]['label'] = $element_label;
$dc_array[$field]['value'] = $value; $dc_array[$field]['value'] = $value;
$dc_array[$field]['class'] = drupal_strtolower(preg_replace('/[^A-Za-z0-9]/', '-', $field)); $dc_array[$field]['class'] = drupal_strtolower(preg_replace('/[^A-Za-z0-9]/', '-', $field));
$dc_array[$field]['dcterms'] = preg_replace('/^dc/', 'dcterms', $field);
} }
} }
} }

Loading…
Cancel
Save