$summAuthors = $this->driver->getPrimaryAuthorsWithHighlighting(); if (!empty($summAuthors)): ?>
=$this->transEsc('by')?>
$authorCount = count($summAuthors); foreach ($summAuthors as $i => $summAuthor): ?>
=$this->highlight($summAuthor)?>=$i + 1 < $authorCount ? ',' : ''?>
endforeach; ?>
endif; ?>
| Format |
=$this->transEsc("Location")?> |
=$this->transEsc('Call Number')?> |
=$this->transEsc("Availability")?> |
| =$this->record($this->driver)->getFormatList() ?> |
if ($this->driver->supportsAjaxStatus()): ?>
=$this->transEsc('Loading')?>...
endif; ?>
|
$summCallNo = $this->driver->getCallNumber(); if (!empty($summCallNo)): ?>
=$this->escapeHtml($summCallNo)?>
endif; ?>
|
if (!$openUrlActive && empty($urls) && $this->driver->supportsAjaxStatus()): ?>
=$this->transEsc('Loading')?>...
endif; ?>
|
if($this->driver->isCollection()): ?>
=implode('
', array_map(array($this, 'escapeHtml'), $this->driver->getSummary())); ?>
else: ?>
$journalTitle = $this->driver->getContainerTitle(); $summDate = $this->driver->getPublicationDates(); ?>
if (!empty($journalTitle)): ?>
=!empty($summAuthor) ? '
' : ''?>
=$this->transEsc('Published in')?>
$containerSource = $this->driver->getSourceIdentifier(); ?>
$containerID = $this->driver->getContainerRecordID(); ?>
/* TODO: handle highlighting more elegantly here: */?>
record($this->driver)->getLink('journaltitle', str_replace(array('{{{{START_HILITE}}}}', '{{{{END_HILITE}}}}'), '', $journalTitle)))?>">=$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 (!empty($summInCollection)): ?>
foreach ($summInCollection as $collId => $collText): ?>
endforeach; ?>
endif; ?>
endif; ?>
if(!$this->driver->isCollection()): ?>
if ($snippet = $this->driver->getHighlightedSnippet()): ?>
if (!empty($snippet['caption'])): ?>
=$this->transEsc($snippet['caption']) ?>: ';
endif; ?>
if (!empty($snippet['snippet'])): ?>
“...=$this->highlight($snippet['snippet']) ?>...
”
endif; ?>
endif; ?>
endif; ?>
/* Display information on duplicate records if available */
if ($dedupData = $this->driver->getDedupData()): ?>
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): ?>
=($current['url'] == $current['desc']) ? $this->transEsc('Get full text') : $this->escapeHtml($current['desc'])?>
endforeach; ?>
endif; ?>
endif; ?>
=$this->record($this->driver)->getPreviews()?>
/* Display qrcode if appropriate: */ ?>
if ($QRCode = $this->record($this->driver)->getQRCode("results")): ?>
// Add JS Variables for QrCode
$this->jsTranslations()->addStrings(array('qrcode_hide' => 'qrcode_hide', 'qrcode_show' => 'qrcode_show'));
?>
=$this->transEsc('qrcode_show')?>
endif; ?>
if ($this->cart()->isActiveInSearch() && $this->params->getOptions()->supportsCart() && $this->cart()->isActive()): ?>
=$this->render('record/cart-buttons.phtml', ['id' => $this->driver->getUniqueId(), 'source' => $this->driver->getSourceIdentifier()]); ?>
endif; ?>
/* Hierarchy tree link */ ?>
$trees = $this->driver->tryMethod('getHierarchyTrees'); if (!empty($trees)): ?>
foreach ($trees as $hierarchyID => $hierarchyTitle): ?>
endforeach; ?>
endif; ?>
=$this->driver->supportsCoinsOpenUrl()?'
':''?>