Browse Source

Merge branch 'master' of github.com:Islandora/islandora

pull/105/head
root 14 years ago
parent
commit
9ef3dbc09e
  1. 3
      plugins/Exiftool.inc

3
plugins/Exiftool.inc

@ -33,7 +33,7 @@ class Exiftool {
function displayMetadata() { function displayMetadata() {
$output=''; $output='';
$exifDom = DOMDocument::loadXML($this->item->get_datastream_dissemination('EXIF')); $exifDom = DOMDocument::loadXML($this->item->get_datastream_dissemination('EXIF'));
if ($exifDom != NULL) {
$description = $exifDom->getElementsByTagNameNS('http://www.w3.org/1999/02/22-rdf-syntax-ns#','Description'); $description = $exifDom->getElementsByTagNameNS('http://www.w3.org/1999/02/22-rdf-syntax-ns#','Description');
if ($description->length > 0) { if ($description->length > 0) {
$description=$description->item(0); $description=$description->item(0);
@ -57,6 +57,7 @@ class Exiftool {
); );
$output = theme('fieldset', $fieldset); $output = theme('fieldset', $fieldset);
} }
}
return $output; return $output;
} }

Loading…
Cancel
Save