Browse Source

Make titles consistent between table and XSLT views

pull/185/head
Mitch MacKenzie 12 years ago
parent
commit
0e0aaec229
  1. 5
      ObjectDetails.inc

5
ObjectDetails.inc

@ -139,7 +139,8 @@ function fedora_repository_object_details_table($item) {
$xmlstr = $item->get_datastream_dissemination($dsid);
if (empty($xmlstr) && variable_get('islandora_object_details_table_default_dc', FALSE) && $dsid != 'DC' && $dsid != 'QDC') {
$xmlstr = $item->get_datastream_dissemination('DC');
$dsid = 'DC';
$xmlstr = $item->get_datastream_dissemination($dsid);
}
if (empty($xmlstr)) {
return t('Error - could not find datastream @dsid on object @pid<br/>Please contact the site administrator.',
@ -150,7 +151,7 @@ function fedora_repository_object_details_table($item) {
$headers = array(
array(
'data' => t('@dsid Metadata', array('@dsid' => $dsid)),
'data' => t('Metadata (@dsid)', array('@dsid' => $dsid)),
'colspan' => 2,
),
);

Loading…
Cancel
Save