if($this->driver->isCollection()): ?>
=implode('
', array_map(array($this, 'escapeHtml'), $this->driver->getSummary())); ?>
else: ?>
$summAuthors = $this->driver->getPrimaryAuthors(); if (!empty($summAuthors)): ?>
=$this->transEsc('by')?>
$authorCount = count($summAuthors); foreach ($summAuthors as $i => $summAuthor): ?>
=$this->escapeHtml($summAuthor)?>=($i + 1 < $authorCount ? ';' : '') ?>
endforeach; ?>
endif; ?>
$journalTitle = $this->driver->getContainerTitle(); $summDate = $this->driver->getPublicationDates(); ?>
if (!empty($journalTitle)): ?>
=!empty($summAuthor) ? '
' : ''?>
=/* TODO: handle highlighting more elegantly here */ $this->transEsc('Published in') . '
' . $this->highlight($journalTitle) . '';?>
=!empty($summDate) ? ' (' . $this->escapeHtml($summDate[0]) . ')' : ''?>
elseif (!empty($summDate)): ?>
=!empty($summAuthor) ? '
' : ''?>
=$this->transEsc('Published') . ' ' . $this->escapeHtml($summDate[0])?>
endif; ?>
$summInCollection = $this->driver->getContainingCollections(); if (false && !empty($summInCollection)): ?>
foreach ($summInCollection as $collId => $collText): ?>
endforeach; ?>
endif; ?>
endif; ?>
if(!$this->driver->isCollection()) {
if ($snippet = $this->driver->getHighlightedSnippet()) {
if (!empty($snippet['caption'])) {
echo '
' . $this->transEsc($snippet['caption']) . ': ';
}
if (!empty($snippet['snippet'])) {
echo '
“...' . $this->highlight($snippet['snippet']) . '...
”';
}
}
} ?>
$listTags = ($this->usertags()->getMode() !== 'disabled') ? $this->driver->getTags(
null === $list_id ? true : $list_id, // get tags for all lists if no single list is selected
$user_id, 'tag'
) : array();
?>
if (count($listTags) > 0): ?>
=$this->transEsc('Your Tags')?>:
foreach ($listTags as $tag): ?>
=$this->escapeHtml($tag->tag)?>
endforeach; ?>
endif; ?>
$listNotes = $this->driver->getListNotes($list_id, $user_id); ?>
if (count($listNotes) > 0): ?>
=$this->transEsc('Notes')?>:
if (count($listNotes) > 1): ?>
endif; ?>
foreach ($listNotes as $note): ?>
=$this->escapeHtml($note)?>
endforeach; ?>
endif; ?>
if (count($this->lists) > 0): ?>
=$this->transEsc('Saved in')?>:
$i=0;foreach($this->lists as $current): ?>
=$this->escapeHtml($current->title)?> if($i++ < count($this->lists)-1): ?>, endif; ?>
endforeach; ?>
endif; ?>
if ($this->driver->supportsAjaxStatus()): ?>
=$this->transEsc('Call Number')?>:
=$this->transEsc('Loading')?>...
=$this->transEsc('Located')?>:
=$this->transEsc('Loading')?>...
else: ?>
$summCallNo = $this->driver->getCallNumber(); if (!empty($summCallNo)): ?>
=$this->transEsc('Call Number')?>: =$this->escapeHtml($summCallNo)?>
endif; ?>
endif; ?>
/* We need to find out if we're supposed to display an OpenURL link ($openUrlActive),
but even if we don't plan to display the link, we still want to get the $openUrl
value for use in generating a COinS (Z3988) tag -- see bottom of file.
*/
$openUrl = $this->openUrl($this->driver, 'results');
$openUrlActive = $openUrl->isActive();
// Account for replace_other_urls setting
$urls = $this->record($this->driver)->getLinkDetails($openUrlActive);
if ($openUrlActive || !empty($urls)):
?>
if ($openUrlActive): ?>
=$openUrl->renderTemplate()?>
endif;?>
if (!is_array($urls)) { $urls = array(); }
if(!$this->driver->isCollection()):
foreach ($urls as $current): ?>
if (strncmp("https://bibb-dspace.bibb.de/handle/BIBB", $current['url'], strlen("https://bibb-dspace.bibb.de/handle/BIBB")) == 0) continue; ?>
if (strncmp("https://bibb-dspace.bibb.de/jspui/handle/BIBB", $current['url'], strlen("https://bibb-dspace.bibb.de/jspui/handle/BIBB")) == 0) continue; ?>
if (strncmp($current['url'],"http://dispatch.opac.d-nb.de/", strlen("http://dispatch.opac.d-nb.de/")) == 0) : ?>
$title = $this->driver->getMainTitle(); ?>
$current['url'] = "https://zdb-katalog.de/list.xhtml?t=" .urlencode("\"" .$title ."\"") ."&key=tit" ; ?>
$current['desc'] = "\"" .$title ."\" in der ZDB"; ?>
endif; ?>
if (strncmp($current['url'],"urn:nbn:de:", strlen("urn:nbn:de:")) == 0) : ?>
$current['url'] = "https://nbn-resolving.org/" .urlencode($current['url']) ; ?>
$current['desc'] = "URN"; ?>
endif; ?>
if (strncmp(strtolower($current['url']),"http://dx.doi.org/", strlen("http://dx.doi.org/")) == 0) : ?>
$current['url'] = "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("http://dx.doi.org/")))) ; ?>
$current['desc'] = "DOI"; ?>
endif; ?>
if (strncmp(strtolower($current['url']),"doi:", strlen("doi:")) == 0) : ?>
$current['url'] = "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("doi:")))) ; ?>
$current['desc'] = "DOI"; ?>
endif; ?>
if (($start = strrpos($this->proxyUrl($current['url']), "(")) !== false) : ?>
=($current['url'] == $current['desc']) ? $this->transEsc(trim(substr($this->proxyUrl($current['url']),$start+1,strlen($this->proxyUrl($current['url']))-($start+2)))) : $this->escapeHtml($current['desc'])?>
endif; ?>
if (($start = strrpos($this->proxyUrl($current['url']), "[")) === false) : ?>
=($current['url'] == $current['desc']) ? $this->transEsc('Get full text') : $this->escapeHtml($current['desc'])?>
endif ; ?>
if (strlen($rightsImage)) : ?>

endif; ?>
endforeach; ?>
endif; ?>
endif; ?>
=$this->record($this->driver)->getFormatList() ?>
if (!$openUrlActive && empty($urls) && $this->driver->supportsAjaxStatus()): ?>
=$this->transEsc('Loading')?>...
endif; ?>
=$this->record($this->driver)->getPreviews()?>