diff --git a/themes/finc/templates/RecordDriver/DefaultRecord/data-publicationDetails.phtml b/themes/finc/templates/RecordDriver/DefaultRecord/data-publicationDetails.phtml index 430b5d6189669ed4d87b7fcc17b4b232e5486780..dc57b5b2f4ed0814ac46145b1b6723de25897977 100644 --- a/themes/finc/templates/RecordDriver/DefaultRecord/data-publicationDetails.phtml +++ b/themes/finc/templates/RecordDriver/DefaultRecord/data-publicationDetails.phtml @@ -1,33 +1,33 @@ <!-- finc: RecordDriver - DefaultRecord - data-publicationDetails --> <?php if (!empty($data)): ?> <div itemscope itemtype="http://schema.org/publisher"> - <?php if (is_array($data)): ?> + <?php if(is_array($data)): ?> <?php foreach ($data as $field): ?> <span property="publisher" typeof="Organization"> - <?php $pubPlace = $field->getPlace(); + <?php $pubPlace = $field->getPlace(); if (!empty($pubPlace)): ?> <span property="location" typeof="Place"> - <span property="name"><?=$this->escapeHtml($pubPlace)?></span> - </span> + <span property="name"><?=$this->escapeHtml($pubPlace)?></span> + </span> <?php endif; ?> <?php $pubName = $field->getName(); - if (!empty($pubName)): ?> - <span property="name"><?=$this->escapeHtml($pubName)?></span> - <?php endif; ?> - </span> + if (!empty($pubName)): ?> + <span property="name"><?=$this->escapeHtml($pubName)?></span> + <?php endif; ?> + </span> <span property="datePublished"> - <?php /* do not show solr publish date #13993 - GG */ ?> - <?php /*$pubDateSort = $this->driver->tryMethod('getPublishDateSort');*/ ?> - <?php $pubDate = $field->getDate(); + <?php /* do not show solr publish date #13993 - GG */ ?> + <?php /*$pubDateSort = $this->driver->tryMethod('getPublishDateSort');*/ ?> + <?php $pubDate = $field->getDate(); if (!empty($pubDate)): ?> <?=$this->escapeHtml($pubDate)?> <?php /*else: ?> - <?=$this->escapeHtml($pubDateSort)*/ ?> + <?=$this->escapeHtml($pubDateSort)*/ ?> <?php endif; ?> - </span><br/> + </span><br/> <?php endforeach; ?> <?php else: ?> - <?=$this->escapeHtml($data)?> + <span property="publisher" typeof="Organization"><?=$data?></span> <?php endif; ?> </div> <?php endif ?>