Backup-Dateien entfernt und .gitignore angelegt
This commit is contained in:
parent
ff7bc66b00
commit
4a95d65ba6
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Backup-Dateien
|
||||
*.bak
|
||||
*.20*
|
||||
*.old
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,22 +0,0 @@
|
||||
<? if (!empty($this->authors)): ?><?=$this->escapeHtml($this->authors)?> <? endif; ?>
|
||||
<? if (!empty($this->date)): ?>(<?=$this->escapeHtml($this->date)?>). <? endif; ?>
|
||||
<?=$this->escapeHtml($this->title)?><? if ($this->periodAfterTitle): ?>.<? endif ?>
|
||||
<span style="font-style:italic;">
|
||||
<?=$this->escapeHtml($this->journal)?>
|
||||
<? if (!empty($this->volume) || !empty($this->issue) || !empty($this->pageRange)): ?>,
|
||||
<? endif; ?>
|
||||
<? if (!empty($this->volume)): ?>
|
||||
<?=$this->escapeHtml($this->volume)?>
|
||||
<? endif; ?>
|
||||
</span>
|
||||
<? if (!empty($this->issue)): ?>
|
||||
(
|
||||
<?=$this->escapeHtml($this->issue)?>
|
||||
)
|
||||
<? endif; ?>
|
||||
<? if (!empty($this->volume) || !empty($this->issue)): ?>
|
||||
,
|
||||
<? endif; ?>
|
||||
<? //if (!empty($this->pageRange)) echo strstr($this->pageRange, '-') ? 'pp. ' : 'p. '; ?>
|
||||
<?=$this->escapeHtml($this->pageRange)?>. <? if (isset($this->doi)): ?>doi:<?=$this->escapeHtml($this->doi)?><? endif; ?>
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
<? if (!empty($this->authors)): ?><?=$this->escapeHtml($this->authors)?> <? endif; ?>
|
||||
<span style="font-style:italic;"><?=$this->escapeHtml($this->title)?></span><? if ($this->periodAfterTitle): ?>.<? endif ?>
|
||||
<? if (!empty($this->edition)): ?>(<?=$this->escapeHtml($this->edition)?>). <? endif; ?>
|
||||
<? if (!empty($this->publisher)): ?><?=$this->escapeHtml($this->publisher)?> <? endif; ?>
|
||||
<? if (!empty($this->year)): ?><?=$this->escapeHtml($this->year)?>. <? endif; ?>
|
||||
|
||||
@ -1,101 +0,0 @@
|
||||
<div class="media" vocab="http://schema.org/" resource="#record" typeof="<?=$this->driver->getSchemaOrgFormats()?> Product">
|
||||
<?
|
||||
|
||||
$urls = $this->driver->getOnlineLinks($expand=true);
|
||||
$displayDownloadButton = false;
|
||||
if (isset($urls)) {
|
||||
foreach($urls as $current) {
|
||||
if (strcmp($current['desc'], "Inhaltsverzeichnis") == 0 || strncmp($current['desc'],"Volltext über anderen Anbieter", strlen("Volltext über anderen Anbieter")) == 0) continue;
|
||||
$displayDownloadButton = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$url = is_array($urls) ? $urls[0] : $urls;
|
||||
$QRCode = $this->record($this->driver)->getQRCode("core");
|
||||
$coverDetails = $this->record($this->driver)->getCoverDetails('core', 'medium', $this->record($this->driver)->getThumbnail('large'));
|
||||
$cover = $coverDetails['html'];
|
||||
$preview = $this->record($this->driver)->getPreviews();
|
||||
$filetypes = $this->driver->getFileType();
|
||||
$filetype = strlen($filetypes[0] > 0) ? $filetypes[0] : '' ;
|
||||
if (strlen(trim($filetype)) == 0) $filetype = "PDF";
|
||||
if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF";
|
||||
?>
|
||||
<? if ($QRCode || $cover || $preview): ?>
|
||||
<div class="media-left <?=$this->escapeHtmlAttr($coverDetails['size'])?> img-col">
|
||||
<? /* Display thumbnail if appropriate: */ ?>
|
||||
<? if($cover): ?>
|
||||
<?=$cover?>
|
||||
<? endif; ?>
|
||||
|
||||
<? /* Display qrcode if appropriate: */ ?>
|
||||
<? if($QRCode): ?>
|
||||
<span class="hidden-xs">
|
||||
<br/><img alt="<?=$this->transEsc('QR Code')?>" class="qrcode" src="<?=$this->escapeHtmlAttr($QRCode);?>"/>
|
||||
</span>
|
||||
<? endif; ?>
|
||||
|
||||
<br />
|
||||
<? if(strlen($url['url']) > 10): ?>
|
||||
<form action="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($url['url'])))?>">
|
||||
<? //if (strcmp($url['desc'], "Inhaltsverzeichnis") != 0 && strncmp(strcmp($url['desc'],"Volltext über anderen Anbieter", strlen("Volltext über anderen Anbieter")) !=0)) : ?>
|
||||
<? if ($displayDownloadButton) : ?>
|
||||
<button type="submit" class="btn btn-lg" style="height:30px;width:130px; background-color:#ffce53;color:#5e6c78;"><i class="fa fa-download" aria-hidden="true"></i> - <?= $filetype ?></button>
|
||||
<? endif; ?>
|
||||
</form>
|
||||
<? endif ; ?>
|
||||
|
||||
<? // if you have a preview tab but want to move or remove the preview link
|
||||
// from this area of the record view, this can be split into
|
||||
// getPreviewData() (should stay here) and
|
||||
// getPreviewLink() (can go in your desired tab) ?>
|
||||
<? if ($preview): ?>
|
||||
<div class="record-previews">
|
||||
<?=$preview?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<div class="media-body">
|
||||
|
||||
<h3 property="name"><?=$this->escapeHtml($this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection())?></h3>
|
||||
|
||||
<? $summary = $this->driver->getSummary(); $summary = isset($summary[0]) ? $this->escapeHtml($summary[0]) : false; ?>
|
||||
<? if ($summary): ?>
|
||||
<p><?=$this->truncate($summary, 300)?></p>
|
||||
|
||||
<? if(strlen($summary) > 300): ?>
|
||||
<p><a href='<?=$this->recordLink()->getTabUrl($this->driver, 'Description')?>#tabnav'><?=$this->transEsc('Full description')?></a></p>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if ($this->userlist()->getMode() !== 'disabled'): ?>
|
||||
<? /* Display the lists that this record is saved to */ ?>
|
||||
<div class="savedLists">
|
||||
<strong><?=$this->transEsc("Saved in")?>:</strong>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
|
||||
<?/* Display Main Details */?>
|
||||
<?
|
||||
$formatter = $this->recordDataFormatter();
|
||||
$coreFields = $formatter->getData($driver, $formatter->getDefaults('core'));
|
||||
//print_r($coreFields);
|
||||
?>
|
||||
|
||||
<? if (!empty($coreFields)) : ?>
|
||||
<table class="table table-striped" summary="<?=$this->transEsc('Bibliographic Details')?>">
|
||||
<? foreach ($coreFields as $key => $current): ?>
|
||||
<? if (strcmp($key,"Language") == 0): ?>
|
||||
<?$tr = "Language::" .$current['value'] ; ?>
|
||||
<tr><th><?=$this->transEsc($key)?>:</th><td><?=$this->translate("$tr")?></td></tr>
|
||||
<? continue; ?>
|
||||
<? endif; ?>
|
||||
<tr><th><?=$this->transEsc($key)?>:</th><td><?=$current['value']?></td></tr>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
</table>
|
||||
|
||||
<?/* End Main Details */?>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,102 +0,0 @@
|
||||
<?
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->driver->getOnlineLinks($expand=true); // extend links with PIDs in case links are empty
|
||||
// print_r($urls);
|
||||
$displayDownloadButton = false;
|
||||
if (isset($urls)) {
|
||||
foreach($urls as $current) {
|
||||
if (strcmp($current['desc'], "Inhaltsverzeichnis") == 0 || strncmp($current['desc'],"Volltext über anderen Anbieter", strlen("Volltext über anderen Anbieter")) == 0) continue;
|
||||
$displayDownloadButton = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$title = $this->driver->getMainTitle() ;
|
||||
$id = $this->driver->getUniqueID();
|
||||
$data = $this->driver->getRawData();
|
||||
$license = isset($data['rightsuri']) ? $data['rightsuri'] : [] ;
|
||||
$parts = explode("/", $license[0]);
|
||||
$rightsImage = $rightsLink = '';
|
||||
$aLinks = $this->driver->getAdditionalLinks();
|
||||
$additionalLinks= [];
|
||||
foreach ($aLinks as $aLink) {
|
||||
$x = explode("|",$aLink);
|
||||
$additionalLinks[] = [ "link" => $x[0], "description" => $x[1] ] ;
|
||||
}
|
||||
$filetypes = $this->driver->getFileType();
|
||||
$filetype = $filetypes[0];
|
||||
if (strlen($filetype) == 0) $filetype = "PDF";
|
||||
if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF";
|
||||
|
||||
if (isset($parts) && count($parts) > 1) {
|
||||
$rightsImage = "/vufind/themes/bibb/images/".$parts[4].".png";
|
||||
$rightsLink = $license[0];
|
||||
}
|
||||
|
||||
$pdfLogo = "/vufind/themes/bibb_new/images/pdf.png";
|
||||
if (strlen($rightsLink == 0)) {
|
||||
$right = isset($data['license'][0]) ? $data['license'][0] : '' ;
|
||||
if (strcmp($right,"Urheberrecht") == 0 || strcmp($right,"Deutsches Urheberrecht") == 0) {
|
||||
$rightsLink = "http://www.gesetze-im-internet.de/urhg";
|
||||
$rightsImage = "/vufind/themes/bibb_new/images/urheberrechtDe.png";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
<? foreach ($urls as $current): ?>
|
||||
<? if (strlen($rightsImage)) : ?>
|
||||
|
||||
<a href="<?= $rightsLink ?>"><img src="<?= $rightsImage ?>" alt="License" style="height:35px" name="<? echo $this->escapeHtmlAttr($this->driver->getUniqueID()); ?>"></a>
|
||||
<? $rightsImage = ''; ?>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<? if ($displayDownloadButton) : ?>
|
||||
<? // if ((strcmp($current['desc'], "Inhaltsverzeichnis") != 0) && strcmp(strcmp($current['desc'],"Volltext über anderen Anbieter") !=0)) : ?>
|
||||
<form action="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>">
|
||||
<button type="submit" class="btn btn-lg" style="height:30px;width:130px; background-color:#ffce53;color:#5e6c78;"><i class="fa fa-download" aria-hidden="true"></i> - <?=$filetype?></button>
|
||||
<? if (strncmp($current['desc'], "DESC", strlen("DESC")) == 0) : ?>
|
||||
<? $current['desc'] = "(" .substr($current['desc'], strlen("DESC:")) .")" ?>
|
||||
<? endif ; ?>
|
||||
<span style="color: #14416b; font-size: 15px;"><?= $this->escapeHtml($current['desc'])?></span>
|
||||
|
||||
</form>
|
||||
<? else : ?>
|
||||
<a href="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" target="_blank"><?=$this->escapeHtml($current['desc'])?></a>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<!-- <a><button type="submit" style="background:#fff; border:none;"><span style="color: #14416b; font-size: 20px"><?=$this->escapeHtml($current['desc'])?></span> <img src='/vufind/themes/bibb_new/images/pdf.png' style="no-repeat; float right"></button> </a>
|
||||
-->
|
||||
|
||||
<a class="feedbackLink" style="color: #14416b; font-size: 13px;" data-lightbox onclick='Copy2Clipboard("<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" )'><i class="fa fa-clipboard" aria-hidden="true"> </i><?=$this->transEsc('Copy to Clipboard')?></a>
|
||||
<br />
|
||||
|
||||
<a class="feedbackLink" style="color: #14416b; font-size: 13px;" data-lightbox href="<?=$this->url('feedback-home') ."?function=feedback&comments=Titel: " .urlencode($title) ." (ID: " .$id ."): Link ist nicht korrekt!" ?>"> <i class="fa fa-chain-broken" aria-hidden="true"></i> <?=$this->transEsc('Report broken link')?></a>
|
||||
<br />
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
|
||||
<? if (count($additionalLinks) > 0) : ?>
|
||||
<span style="color: #14416b; font-size: 15px;">Weitere Links</span><br />
|
||||
<? foreach ($additionalLinks as $additionalLink): ?>
|
||||
|
||||
<a class="feedbackLink" target="new" style="color: #14416b; font-size: 13px;" href="<?=$this->escapeHtmlAttr($this->proxyUrl($additionalLink['link']))?>"><i class="fa fa-link" aria-hidden="true"> </i><?= $additionalLink['description'] ?></a>
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
<? endif ; ?>
|
||||
|
||||
<? if ($openUrlActive): ?>
|
||||
<?=$openUrl->renderTemplate()?><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<script>
|
||||
function Copy2Clipboard(CopyText) {
|
||||
|
||||
navigator.clipboard.writeText(CopyText);
|
||||
|
||||
}
|
||||
</script>
|
||||
@ -1,113 +0,0 @@
|
||||
<?
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->driver->getOnlineLinks($expand=true); // extend links with PIDs in case links are empty
|
||||
// print_r($urls);
|
||||
$displayDownloadButton = false;
|
||||
if (isset($urls)) {
|
||||
foreach($urls as $current) {
|
||||
if (strcmp($current['desc'], "Inhaltsverzeichnis") == 0 || strncmp($current['desc'],"Volltext über anderen Anbieter", strlen("Volltext über anderen Anbieter")) == 0) continue;
|
||||
$displayDownloadButton = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$title = $this->driver->getMainTitle() ;
|
||||
$id = $this->driver->getUniqueID();
|
||||
$data = $this->driver->getRawData();
|
||||
$license = '';
|
||||
if (isset($data['rightsuri'])) {
|
||||
if (is_array($data['rightsuri'])) {
|
||||
$license = $data['rightsuri'][0];
|
||||
} else {
|
||||
$license = $data['rightsuri'];
|
||||
}
|
||||
// } else {
|
||||
// $license = [];
|
||||
}
|
||||
|
||||
// $license = isset($data['rightsuri']) ? $data['rightsuri'] : [] ;
|
||||
$parts = explode("/", $license[0]);
|
||||
$rightsImage = $rightsLink = '';
|
||||
$aLinks = $this->driver->getAdditionalLinks();
|
||||
$additionalLinks= [];
|
||||
foreach ($aLinks as $aLink) {
|
||||
$x = explode("|",$aLink);
|
||||
$additionalLinks[] = [ "link" => $x[0], "description" => $x[1] ] ;
|
||||
}
|
||||
$filetypes = $this->driver->getFileType();
|
||||
$filetype = isset($filetypes[0]) ? $filetypes[0] : 'PDF';
|
||||
if (strlen($filetype) == 0) $filetype = "PDF";
|
||||
if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF";
|
||||
|
||||
if (isset($parts) && count($parts) > 1) {
|
||||
$rightsImage = "/vufind/themes/bibb/images/".$parts[4].".png";
|
||||
$rightsLink = $license[0];
|
||||
}
|
||||
|
||||
$pdfLogo = "/vufind/themes/bibb_new/images/pdf.png";
|
||||
if (strlen($rightsLink == 0)) {
|
||||
$right = isset($data['license'][0]) ? $data['license'][0] : '' ;
|
||||
if (strcmp($right,"Urheberrecht") == 0 || strcmp($right,"Deutsches Urheberrecht") == 0) {
|
||||
$rightsLink = "http://www.gesetze-im-internet.de/urhg";
|
||||
$rightsImage = "/vufind/themes/bibb_new/images/urheberrechtDe.png";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
<? foreach ($urls as $current): ?>
|
||||
<? if (strlen($rightsImage)) : ?>
|
||||
|
||||
<a href="<?= $rightsLink ?>"><img src="<?= $rightsImage ?>" alt="License" style="height:35px" name="<? echo $this->escapeHtmlAttr($this->driver->getUniqueID()); ?>"></a>
|
||||
<? $rightsImage = ''; ?>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<? if ($displayDownloadButton) : ?>
|
||||
<? // if ((strcmp($current['desc'], "Inhaltsverzeichnis") != 0) && strcmp(strcmp($current['desc'],"Volltext über anderen Anbieter") !=0)) : ?>
|
||||
<form action="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>">
|
||||
<button type="submit" class="btn btn-lg" style="height:30px;width:130px; background-color:#ffce53;color:#5e6c78;"><i class="fa fa-download" aria-hidden="true"></i> - <?=$filetype?></button>
|
||||
<? if (strncmp($current['desc'], "DESC", strlen("DESC")) == 0) : ?>
|
||||
<? $current['desc'] = "(" .substr($current['desc'], strlen("DESC:")) .")" ?>
|
||||
<? endif ; ?>
|
||||
<span style="color: #14416b; font-size: 15px;"><?= $this->escapeHtml($current['desc'])?></span>
|
||||
|
||||
</form>
|
||||
<? else : ?>
|
||||
<a href="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" target="_blank"><?=$this->escapeHtml($current['desc'])?></a>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<!-- <a><button type="submit" style="background:#fff; border:none;"><span style="color: #14416b; font-size: 20px"><?=$this->escapeHtml($current['desc'])?></span> <img src='/vufind/themes/bibb_new/images/pdf.png' style="no-repeat; float right"></button> </a>
|
||||
-->
|
||||
|
||||
<a class="feedbackLink" style="color: #14416b; font-size: 13px;" data-lightbox onclick='Copy2Clipboard("<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" )'><i class="fa fa-clipboard" aria-hidden="true"> </i><?=$this->transEsc('Copy to Clipboard')?></a>
|
||||
<br />
|
||||
|
||||
<a class="feedbackLink" style="color: #14416b; font-size: 13px;" data-lightbox href="<?=$this->url('feedback-home') ."?function=feedback&comments=Titel: " .urlencode($title) ." (ID: " .$id ."): Link ist nicht korrekt!" ?>"> <i class="fa fa-chain-broken" aria-hidden="true"></i> <?=$this->transEsc('Report broken link')?></a>
|
||||
<br />
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
|
||||
<? if (count($additionalLinks) > 0) : ?>
|
||||
<span style="color: #14416b; font-size: 15px;">Weitere Links</span><br />
|
||||
<? foreach ($additionalLinks as $additionalLink): ?>
|
||||
|
||||
<a class="feedbackLink" target="new" style="color: #14416b; font-size: 13px;" href="<?=$this->escapeHtmlAttr($this->proxyUrl($additionalLink['link']))?>"><i class="fa fa-link" aria-hidden="true"> </i><?= $additionalLink['description'] ?></a>
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
<? endif ; ?>
|
||||
|
||||
<? if ($openUrlActive): ?>
|
||||
<?=$openUrl->renderTemplate()?><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<script>
|
||||
function Copy2Clipboard(CopyText) {
|
||||
|
||||
navigator.clipboard.writeText(CopyText);
|
||||
|
||||
}
|
||||
</script>
|
||||
@ -1,113 +0,0 @@
|
||||
<?
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->driver->getOnlineLinks($expand=true); // extend links with PIDs in case links are empty
|
||||
// print_r($urls);
|
||||
$displayDownloadButton = false;
|
||||
if (isset($urls)) {
|
||||
foreach($urls as $current) {
|
||||
if (strcmp($current['desc'], "Inhaltsverzeichnis") == 0 || strncmp($current['desc'],"Volltext über anderen Anbieter", strlen("Volltext über anderen Anbieter")) == 0) continue;
|
||||
$displayDownloadButton = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$title = $this->driver->getMainTitle() ;
|
||||
$id = $this->driver->getUniqueID();
|
||||
$data = $this->driver->getRawData();
|
||||
$license = '';
|
||||
if (isset($data['rightsuri'])) {
|
||||
if (is_array($data['rightsuri'])) {
|
||||
$license = $data['rightsuri'][0];
|
||||
} else {
|
||||
$license = $data['rightsuri'];
|
||||
}
|
||||
} else {
|
||||
$license = [];
|
||||
}
|
||||
|
||||
// $license = isset($data['rightsuri']) ? $data['rightsuri'] : [] ;
|
||||
$parts = @explode("/", $license[0]);
|
||||
$rightsImage = $rightsLink = '';
|
||||
$aLinks = $this->driver->getAdditionalLinks();
|
||||
$additionalLinks= [];
|
||||
foreach ($aLinks as $aLink) {
|
||||
$x = explode("|",$aLink);
|
||||
$additionalLinks[] = [ "link" => $x[0], "description" => $x[1] ] ;
|
||||
}
|
||||
$filetypes = $this->driver->getFileType();
|
||||
$filetype = isset($filetypes[0]) ? $filetypes[0] : 'PDF';
|
||||
if (strlen($filetype) == 0) $filetype = "PDF";
|
||||
if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF";
|
||||
|
||||
if (isset($parts) && count($parts) > 1) {
|
||||
$rightsImage = "/vufind/themes/bibb/images/" .$parts[4].".png";
|
||||
$rightsLink = $license[0];
|
||||
}
|
||||
|
||||
$pdfLogo = "/vufind/themes/bibb/images/pdf.png";
|
||||
if (strlen($rightsLink == 0)) {
|
||||
$right = isset($data['license'][0]) ? $data['license'][0] : '' ;
|
||||
if (strcmp($right,"Urheberrecht") == 0 || strcmp($right,"Deutsches Urheberrecht") == 0) {
|
||||
$rightsLink = "http://www.gesetze-im-internet.de/urhg";
|
||||
$rightsImage = "/vufind/themes/bibb/images/urheberrechtDe.png";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
<? foreach ($urls as $current): ?>
|
||||
<? if (strlen($rightsImage)) : ?>
|
||||
|
||||
<a href="<?= $rightsLink ?>"><img src="<?= $rightsImage ?>" alt="License" style="height:35px" name="<? echo $this->escapeHtmlAttr($this->driver->getUniqueID()); ?>"></a>
|
||||
<? $rightsImage = ''; ?>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<? if ($displayDownloadButton) : ?>
|
||||
<? // if ((strcmp($current['desc'], "Inhaltsverzeichnis") != 0) && strcmp(strcmp($current['desc'],"Volltext über anderen Anbieter") !=0)) : ?>
|
||||
<form action="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>">
|
||||
<button type="submit" class="btn btn-lg" style="height:30px;width:130px; background-color:#ffce53;color:#5e6c78;"><i class="fa fa-download" aria-hidden="true"></i> - <?=$filetype?></button>
|
||||
<? if (strncmp($current['desc'], "DESC", strlen("DESC")) == 0) : ?>
|
||||
<? $current['desc'] = "(" .substr($current['desc'], strlen("DESC:")) .")" ?>
|
||||
<? endif ; ?>
|
||||
<span style="color: #14416b; font-size: 15px;"><?= $this->escapeHtml($current['desc'])?></span>
|
||||
|
||||
</form>
|
||||
<? else : ?>
|
||||
<a href="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" target="_blank"><?=$this->escapeHtml($current['desc'])?></a>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<!-- <a><button type="submit" style="background:#fff; border:none;"><span style="color: #14416b; font-size: 20px"><?=$this->escapeHtml($current['desc'])?></span> <img src='/vufind/themes/bibb_new/images/pdf.png' style="no-repeat; float right"></button> </a>
|
||||
-->
|
||||
|
||||
<a class="feedbackLink" style="color: #14416b; font-size: 13px;" data-lightbox onclick='Copy2Clipboard("<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" )'><i class="fa fa-clipboard" aria-hidden="true"> </i><?=$this->transEsc('Copy to Clipboard')?></a>
|
||||
<br />
|
||||
|
||||
<a class="feedbackLink" style="color: #14416b; font-size: 13px;" data-lightbox href="<?=$this->url('feedback-home') ."?function=feedback&comments=Titel: " .urlencode($title) ." (ID: " .$id ."): Link ist nicht korrekt!" ?>"> <i class="fa fa-chain-broken" aria-hidden="true"></i> <?=$this->transEsc('Report broken link')?></a>
|
||||
<br />
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
|
||||
<? if (count($additionalLinks) > 0) : ?>
|
||||
<span style="color: #14416b; font-size: 15px;">Weitere Links</span><br />
|
||||
<? foreach ($additionalLinks as $additionalLink): ?>
|
||||
|
||||
<a class="feedbackLink" target="new" style="color: #14416b; font-size: 13px;" href="<?=$this->escapeHtmlAttr($this->proxyUrl($additionalLink['link']))?>"><i class="fa fa-link" aria-hidden="true"> </i><?= $additionalLink['description'] ?></a>
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
<? endif ; ?>
|
||||
|
||||
<? if ($openUrlActive): ?>
|
||||
<?=$openUrl->renderTemplate()?><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<script>
|
||||
function Copy2Clipboard(CopyText) {
|
||||
|
||||
navigator.clipboard.writeText(CopyText);
|
||||
|
||||
}
|
||||
</script>
|
||||
@ -1,342 +0,0 @@
|
||||
<?
|
||||
$urls = $this->driver->getOnlineLinks($expand=true);
|
||||
$aLinks = $this->driver->getAdditionalLinks();
|
||||
$displayDownloadButton = false;
|
||||
if (isset($urls)) {
|
||||
foreach($urls as $current) {
|
||||
if (strcmp($current['desc'], "Inhaltsverzeichnis") == 0 || strncmp($current['desc'],"Volltext über anderen Anbieter", strlen("Volltext über anderen Anbieter")) == 0) continue;
|
||||
$displayDownloadButton = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// $url = is_array($urls) ? $urls[0] : $urls;
|
||||
|
||||
$coverDetails = $this->record($this->driver)->getCoverDetails('result-list', 'medium', $this->recordLink()->getUrl($this->driver));
|
||||
$cover = $coverDetails['html'];
|
||||
$thumbnail = false;
|
||||
$data = $this->driver->getRawData();
|
||||
$id = $data['id'];
|
||||
$voevzlink = '';
|
||||
if (isset($data['voevzlink'])) {
|
||||
if (is_array($data['voevzlink'])) {
|
||||
$voevzlink = $data['voevzlink'][0];
|
||||
} else {
|
||||
$voevzlink = $data['voevzlink'];
|
||||
}
|
||||
}
|
||||
// $voevzlink = is_array($data['voevzlink']) ? $data['voevzlink'][0] : $data['voevzlink']; // isset($data['voevzlink'][0]) ? $data['voevzlink'][0] : '' ;
|
||||
$license = isset($data['rightsuri']) ? $data['rightsuri'] : '' ;
|
||||
// $license = isset($data['rightsuri'][0]) ? $data['rightsuri'][0] : '' ;
|
||||
$parts = explode("/", $license);
|
||||
$rightsImage = $rightsLink = '';
|
||||
$orderText = '';
|
||||
$filetypes = $this->driver->getFileType();
|
||||
$filetype = strlen($filetypes[0]) > 0 ? $filetypes[0] : '';
|
||||
if (strlen(trim($filetype)) == 0) $filetype = "PDF";
|
||||
if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF";
|
||||
if (isset($parts) && count($parts) > 1) {
|
||||
$rightsImage = "/vufind/themes/bibb/images/".$parts[4].".png";
|
||||
$rightsLink = $license;
|
||||
}
|
||||
// if (strpos($license,"igo") !== false)
|
||||
// $rightsImage = "/vufind/themes/bibb/images/igo.png";
|
||||
if (strlen($rightsLink) == 0) {
|
||||
$right = isset($data['license'][0]) ? $data['license'][0] : '' ;
|
||||
if (strcmp($right,"Urheberrecht") == 0 || strcmp($right,"Deutsches Urheberrecht") == 0) {
|
||||
$rightsLink = "http://www.gesetze-im-internet.de/urhg";
|
||||
$rightsImage = "/vufind/themes/bibb_new/images/urheberrechtDe.png";
|
||||
}
|
||||
}
|
||||
|
||||
$thumbnailAlignment = $this->record($this->driver)->getThumbnailAlignment('result');
|
||||
|
||||
// Collect data for the article requestform
|
||||
$formatArray = $this->driver->getFormatsFiltered();
|
||||
|
||||
(! in_array("Electronic resource", $formatArray) && (in_array("Journal article", $formatArray) || in_array("Paper in edited volumes", $formatArray))) ? $displayRequestForm = 1 : $displayRequestForm = 0 ;
|
||||
if ($displayRequestForm == 1) {
|
||||
if (in_array("Journal article", $formatArray)) $orderText = 'Artikel';
|
||||
if (in_array("Paper in edited volumes", $formatArray)) $orderText = 'Beitrag';
|
||||
$articleTitle = $this->record($this->driver)->getTitleHtml();
|
||||
$journalTitle = $this->driver->getContainerTitle();
|
||||
$journalVolume = $this->driver->getContainerVolume();
|
||||
$journalIssue = $this->driver->getContainerIssue();
|
||||
$journalStartPage = $this->driver->getContainerStartPage();
|
||||
$outText = '';
|
||||
if (strlen($journalTitle)) $outText .= "erschienen in : " .$journalTitle;
|
||||
if (strlen($journalVolume)) $outText .= " / " .$journalVolume;
|
||||
if (strlen($journalIssue)) $outText .= ", " .$journalIssue ;
|
||||
if (strlen($journalStartPage)) $outText .= " (" .$journalStartPage .")";
|
||||
}
|
||||
|
||||
if ($cover):
|
||||
ob_start(); ?>
|
||||
<div class="media-<?=$thumbnailAlignment ?> <?=$this->escapeHtmlAttr($coverDetails['size'])?>">
|
||||
<?=$cover ?>
|
||||
</div>
|
||||
<? $thumbnail = ob_get_contents(); ?>
|
||||
<? ob_end_clean(); ?>
|
||||
<? endif; ?>
|
||||
|
||||
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueID())?>" class="hiddenId" />
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getSourceIdentifier())?>" class="hiddenSource" />
|
||||
<div class="media">
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'left'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
|
||||
<div class="media-body">
|
||||
<div class="result-body">
|
||||
|
||||
<div class="title-container">
|
||||
<a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="title getFull" data-view="<?=$this->params->getOptions()->getListViewOption() ?>">
|
||||
<?=$this->record($this->driver)->getTitleHtml()?>
|
||||
<? $subTitle = $this->driver->getTitleSection(); ?>
|
||||
<? if (!empty($subTitle)): ?>
|
||||
<br> <?=$subTitle?>
|
||||
<? endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="author">
|
||||
<? $summAuthors = $this->driver->getPrimaryAuthorsWithHighlighting(); if (!empty($summAuthors)): ?>
|
||||
<?=$this->transEsc('by')?>
|
||||
<? $authorCount = count($summAuthors); foreach ($summAuthors as $i => $summAuthor): ?>
|
||||
<a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>"><?=$this->highlight($summAuthor)?></a><?=$i + 1 < $authorCount ? ';' : ''?>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<table width="99%">
|
||||
<tr>
|
||||
<th width="35%"></th>
|
||||
<td width="20%"></td>
|
||||
<td width="15%"></td>
|
||||
<td width="*"></td>
|
||||
</tr>
|
||||
<tbody class="result-table">
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Format")?></th>
|
||||
<th><?=$this->transEsc("Stock")?></th>
|
||||
<th> </th>
|
||||
<th><?=$this->transEsc("Availability")?></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?=$this->record($this->driver)->getFormatList() ?></td>
|
||||
<td>
|
||||
<? $Collections = $this->driver->getCollection() ; if (!empty ($Collections)) : ?>
|
||||
<? foreach($Collections as $Collection) : ?>
|
||||
<? if (strcmp($Collection,"VET Repository") == 0) : ?> <? $img = "VET_Repository_small.png"; ?> <? endif; ?>
|
||||
<? if (!strcmp($Collection,"VET Repository") == 0) : ?> <? $img = "BIBB_library_small.png"; ?> <? endif; ?>
|
||||
<img src="/vufind/themes/bibb/images/<?=$img?>">
|
||||
<? endforeach ; ?>
|
||||
<? endif; ?>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<? $summCallNo = $this->driver->getCallNumber(); if (!empty($summCallNo)): ?>
|
||||
<?=$this->escapeHtml($summCallNo)?>
|
||||
<? endif; ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<? $openUrl = $this->openUrl($this->driver, 'results');
|
||||
$openUrlActive = $openUrl->isActive();
|
||||
$urls = $this->record($this->driver)->getLinkDetails($openUrlActive);
|
||||
|
||||
$urls = $this->driver->getOnlineLinks($expand=true); // extend links with PIDs in case links are empty
|
||||
?>
|
||||
|
||||
<? if (!is_array($urls)) $urls = array();
|
||||
if(!$this->driver->isCollection()):
|
||||
foreach ($urls as $current): ?>
|
||||
<? if (strlen($rightsImage)) : ?>
|
||||
<a href="<?= $rightsLink ?>"><img src="<?= $rightsImage ?>" alt="License" style="zoom: 0.2" name="<? echo $this->escapeHtmlAttr($this->driver->getUniqueID()); ?>" onmouseover="this.style.zoom='0.8'" onmouseout="this.style.zoom='0.2'" /></a>
|
||||
<? $rightsImage = ''; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<a href="<?=$this->escapeHtmlAttr($this->proxyUrl($current['url']))?>" class="fulltext" target="new"><i class="fa fa-external-link" aria-hidden="true"></i> <?=($current['url'] == $current['desc']) ? $this->transEsc('Get full text') : str_replace("DESC:","",$this->escapeHtml($current['desc']))?></a><br/>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (!$openUrlActive && empty($urls) && $this->driver->supportsAjaxStatus()): ?>
|
||||
<span class="status ajax-availability hidden">
|
||||
<span class="label label-default"><?=$this->transEsc('Loading')?>...</span>
|
||||
</span>
|
||||
|
||||
<? endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="published">
|
||||
<? if($this->driver->isCollection()): ?>
|
||||
<?=implode('<br>', array_map(array($this, 'escapeHtml'), $this->driver->getSummary())); ?>
|
||||
<? else: ?>
|
||||
|
||||
<? $journalTitle = $this->driver->getContainerTitle(); $summDate = $this->driver->getPublicationDates(); ?>
|
||||
<? if (!empty($journalTitle)): ?>
|
||||
<?=!empty($summAuthor) ? '<br />' : ''?>
|
||||
<?=$this->transEsc('Published in')?>
|
||||
<? $containerSource = $this->driver->getSourceIdentifier(); ?>
|
||||
<? $containerID = $this->driver->getContainerRecordID(); ?>
|
||||
<? /* TODO: handle highlighting more elegantly here: */?>
|
||||
<a href="<?=($containerID ? $this->recordLink()->getUrl("$containerSource|$containerID") : $this->record($this->driver)->getLink('journaltitle', str_replace(array('{{{{START_HILITE}}}}', '{{{{END_HILITE}}}}'), '', $journalTitle)))?>"><?=$this->highlight($journalTitle) ?></a>
|
||||
<?=!empty($summDate) ? ' (' . $this->escapeHtml($summDate[0]) . ')' : ''?>
|
||||
<? elseif (!empty($summDate)): ?>
|
||||
<?=!empty($summAuthor) ? '<br />' : ''?>
|
||||
<?=$this->transEsc('Published') . ' ' . $this->escapeHtml($summDate[0])?>
|
||||
<? endif; ?>
|
||||
<? $summInCollection = $this->driver->getContainingCollections(); if (!empty($summInCollection)): ?>
|
||||
<? foreach ($summInCollection as $collId => $collText): ?>
|
||||
<div>
|
||||
<b><?=$this->transEsc("in_collection_label")?></b>
|
||||
<a class="collectionLinkText" href="<?=$this->url('collection', array('id' => $collId))?>?recordID=<?=urlencode($this->driver->getUniqueID())?>">
|
||||
<?=$this->escapeHtml($collText)?>
|
||||
</a>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<? if(!$this->driver->isCollection()): ?>
|
||||
<? if ($snippet = $this->driver->getHighlightedSnippet()): ?>
|
||||
<? if (!empty($snippet['caption'])): ?>
|
||||
<strong><?=$this->transEsc($snippet['caption']) ?>:</strong> ';
|
||||
<? endif; ?>
|
||||
<? if (!empty($snippet['snippet'])): ?>
|
||||
<span class="quotestart">“</span>...<?=$this->highlight($snippet['snippet']) ?>...<span class="quoteend">”</span><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<?
|
||||
/* Display information on duplicate records if available */
|
||||
if ($dedupData = $this->driver->getDedupData()): ?>
|
||||
<div class="dedupInformation">
|
||||
<?
|
||||
$i = 0;
|
||||
foreach ($dedupData as $source => $current) {
|
||||
if (++$i == 1) {
|
||||
?><span class="currentSource"><a href="<?=$this->recordLink()->getUrl($this->driver)?>"><?=$this->transEsc("source_$source", array(), $source)?></a></span><?
|
||||
} else {
|
||||
if ($i == 2) {
|
||||
?> <span class="otherSources">(<?=$this->transEsc('Other Sources')?>: <?
|
||||
} else {
|
||||
?>, <?
|
||||
}
|
||||
?><a href="<?=$this->recordLink()->getUrl($current['id'])?>"><?=$this->transEsc("source_$source", array(), $source)?></a><?
|
||||
}
|
||||
}
|
||||
if ($i > 1) {
|
||||
?>)</span><?
|
||||
}?>
|
||||
</div>
|
||||
<? 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; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<div class="result-previews">
|
||||
<?=$this->record($this->driver)->getPreviews()?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="add-result">
|
||||
<div class="favorites">
|
||||
<? if ($this->userlist()->getMode() !== 'disabled'): ?>
|
||||
<? /* Add to favorites */ ?>
|
||||
<a href="<?=$this->recordLink()->getActionUrl($this->driver, 'Save')?>" data-lightbox class="save-record result-link-label" data-id="<?=$this->escapeHtmlAttr($this->driver->getUniqueId()) ?>"><?=$this->transEsc('Add to favorites')?></a>
|
||||
<i class="result-link-icon fa fa-fw fa-star" aria-hidden="true"></i><br/>
|
||||
<? /* Saved lists */ ?>
|
||||
<div class="savedLists">
|
||||
<strong><?=$this->transEsc("Saved in")?>:</strong>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="result-links hidden-print">
|
||||
<? /* 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'));
|
||||
?>
|
||||
<span class="hidden-xs">
|
||||
<a href="<?=$this->escapeHtmlAttr($QRCode);?>" class="qrcodeLink"><?=$this->transEsc('qrcode_show')?></a><i class="fa fa-fw fa-qrcode" aria-hidden="true"></i>
|
||||
<div class="qrcode hidden">
|
||||
<script type="text/template" class="qrCodeImgTag">
|
||||
<img alt="<?=$this->transEsc('QR Code')?>" src="<?=$this->escapeHtmlAttr($QRCode);?>"/>
|
||||
</script>
|
||||
</div><br/>
|
||||
</span>
|
||||
<? 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()]); ?><br/>
|
||||
<? endif; ?>
|
||||
|
||||
<? /* Hierarchy tree link */ ?>
|
||||
<? $trees = $this->driver->tryMethod('getHierarchyTrees'); if (!empty($trees)): ?>
|
||||
<? foreach ($trees as $hierarchyID => $hierarchyTitle): ?>
|
||||
<div class="hierarchyTreeLink">
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($hierarchyID)?>" class="hiddenHierarchyId" />
|
||||
|
||||
<a class="hierarchyTreeLinkText result-link-label" data-lightbox href="<?=$this->recordLink()->getTabUrl($this->driver, 'HierarchyTree')?>?hierarchy=<?=urlencode($hierarchyID)?>#tabnav" title="<?=$this->transEsc('hierarchy_tree')?>" data-lightbox-href="<?=$this->recordLink()->getTabUrl($this->driver, 'AjaxTab')?>?hierarchy=<?=urlencode($hierarchyID)?>" data-lightbox-post="tab=hierarchytree">
|
||||
<?=$this->transEsc('hierarchy_view_context')?><? if (count($trees) > 1): ?>: <?=$this->escapeHtml($hierarchyTitle)?><? endif; ?>
|
||||
</a>
|
||||
<i class="result-link-icon fa fa-fw fa-sitemap" aria-hidden="true"></i>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if ($displayRequestForm > 0) : ?>
|
||||
<br />
|
||||
<? if ($orderText == 'Artikel') : ?>
|
||||
<a class="feedbackLink" data-lightbox href="<?=$this->url('feedback-home') ."?function=requestArticle&comments=Artikel: " .urlencode($articleTitle) .", " .urlencode($outText) ." (ID: " .$id .")"?>"><?=$this->transEsc('Request article')?></a> <i class="fa fa-newspaper" style="color:#44801e;" aria-hidden="true"></i>
|
||||
<? endif; ?>
|
||||
<? if ($orderText == 'Beitrag') : ?>
|
||||
<a class="feedbackLink" data-lightbox href="<?=$this->url('feedback-home') ."?function=requestPaper&comments=Beitrag: " .urlencode($articleTitle) .", " .urlencode($outText) ." (ID: " .$id .")"?>"><?=$this->transEsc('Request Paper in edited volumes')?></a> <i class="fa fa-newspaper" style="color:#44801e;" aria-hidden="true"></i>
|
||||
<? endif; ?>
|
||||
|
||||
<? endif; ?>
|
||||
|
||||
<? if (strlen(trim($current['url'])) > 0) : ?>
|
||||
<br />
|
||||
<form action="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" target="_blank">
|
||||
<? if ($displayDownloadButton) : ?>
|
||||
<button type="submit" class="btn btn-lg" style="height:30px;width:130px; background-color:#ffce53;color:#5e6c78;"><i class="fa fa-download" aria-hidden="true"></i> - <?=$filetype?></button>
|
||||
<? endif; ?>
|
||||
<? if(count($aLinks) > 0) : ?>
|
||||
<br /> <br />
|
||||
<span style="font-size:80%; font-weight:bold";><strong><?= "Weitere Links s. Treffer" ?> </span>
|
||||
<? endif ; ?>
|
||||
|
||||
</form>
|
||||
<? endif; ?>
|
||||
|
||||
|
||||
<?=$this->driver->supportsCoinsOpenUrl()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenUrl()).'"></span>':''?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'right'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
</div>
|
||||
@ -1,226 +0,0 @@
|
||||
<?
|
||||
$coverDetails = $this->record($this->driver)->getCoverDetails('result-list', 'medium', $this->recordLink()->getUrl($this->driver));
|
||||
$cover = $coverDetails['html'];
|
||||
$thumbnail = false;
|
||||
$thumbnailAlignment = $this->record($this->driver)->getThumbnailAlignment('result');
|
||||
if ($cover):
|
||||
ob_start(); ?>
|
||||
|
||||
|
||||
<div class="media-<?=$thumbnailAlignment ?> <?=$this->escapeHtmlAttr($coverDetails['size'])?>">
|
||||
<?=$cover ?>
|
||||
</div>
|
||||
<? $thumbnail = ob_get_contents(); ?>
|
||||
<? ob_end_clean(); ?>
|
||||
<? endif; ?>
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueID())?>" class="hiddenId" />
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getSourceIdentifier())?>" class="hiddenSource" />
|
||||
<div class="media">
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'left'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
<div class="media-body">
|
||||
<div class="result-body">
|
||||
|
||||
<div class="title-container">
|
||||
<a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="title getFull" data-view="<?=$this->params->getOptions()->getListViewOption() ?>">
|
||||
<?=$this->record($this->driver)->getTitleHtml()?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="author">
|
||||
<? $summAuthors = $this->driver->getPrimaryAuthorsWithHighlighting(); if (!empty($summAuthors)): ?>
|
||||
<?=$this->transEsc('by')?>
|
||||
<? $authorCount = count($summAuthors); foreach ($summAuthors as $i => $summAuthor): ?>
|
||||
<a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>"><?=$this->highlight($summAuthor)?></a><?=$i + 1 < $authorCount ? ';' : ''?>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<table class="result-table">
|
||||
<tr>
|
||||
<th>Format</th>
|
||||
<th><?=$this->transEsc("Location")?></th>
|
||||
<th><?=$this->transEsc('Call Number')?></th>
|
||||
<th><?=$this->transEsc("Availability")?></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?=$this->record($this->driver)->getFormatList() ?></td>
|
||||
<td>
|
||||
<div class="callnumAndLocation ajax-availability hidden">
|
||||
<? if ($this->driver->supportsAjaxStatus()): ?>
|
||||
<span class="location ajax-availability hidden">
|
||||
<?=$this->transEsc('Loading')?>...
|
||||
</span>
|
||||
<div class="locationDetails"></div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<? $summCallNo = $this->driver->getCallNumber(); if (!empty($summCallNo)): ?>
|
||||
</strong> <?=$this->escapeHtml($summCallNo)?>
|
||||
<? endif; ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<? if (!$openUrlActive && empty($urls) && $this->driver->supportsAjaxStatus()): ?>
|
||||
<span class="status ajax-availability hidden">
|
||||
<span class="label label-default"><?=$this->transEsc('Loading')?>...</span>
|
||||
</span>
|
||||
|
||||
<? endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="published">
|
||||
<? if($this->driver->isCollection()): ?>
|
||||
<?=implode('<br>', array_map(array($this, 'escapeHtml'), $this->driver->getSummary())); ?>
|
||||
<? else: ?>
|
||||
|
||||
<? $journalTitle = $this->driver->getContainerTitle(); $summDate = $this->driver->getPublicationDates(); ?>
|
||||
<? if (!empty($journalTitle)): ?>
|
||||
<?=!empty($summAuthor) ? '<br />' : ''?>
|
||||
<?=$this->transEsc('Published in')?>
|
||||
<? $containerSource = $this->driver->getSourceIdentifier(); ?>
|
||||
<? $containerID = $this->driver->getContainerRecordID(); ?>
|
||||
<? /* TODO: handle highlighting more elegantly here: */?>
|
||||
<a href="<?=($containerID ? $this->recordLink()->getUrl("$containerSource|$containerID") : $this->record($this->driver)->getLink('journaltitle', str_replace(array('{{{{START_HILITE}}}}', '{{{{END_HILITE}}}}'), '', $journalTitle)))?>"><?=$this->highlight($journalTitle) ?></a>
|
||||
<?=!empty($summDate) ? ' (' . $this->escapeHtml($summDate[0]) . ')' : ''?>
|
||||
<? elseif (!empty($summDate)): ?>
|
||||
<?=!empty($summAuthor) ? '<br />' : ''?>
|
||||
<?=$this->transEsc('Published') . ' ' . $this->escapeHtml($summDate[0])?>
|
||||
<? endif; ?>
|
||||
<? $summInCollection = $this->driver->getContainingCollections(); if (!empty($summInCollection)): ?>
|
||||
<? foreach ($summInCollection as $collId => $collText): ?>
|
||||
<div>
|
||||
<b><?=$this->transEsc("in_collection_label")?></b>
|
||||
<a class="collectionLinkText" href="<?=$this->url('collection', array('id' => $collId))?>?recordID=<?=urlencode($this->driver->getUniqueID())?>">
|
||||
<?=$this->escapeHtml($collText)?>
|
||||
</a>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<? if(!$this->driver->isCollection()): ?>
|
||||
<? if ($snippet = $this->driver->getHighlightedSnippet()): ?>
|
||||
<? if (!empty($snippet['caption'])): ?>
|
||||
<strong><?=$this->transEsc($snippet['caption']) ?>:</strong> ';
|
||||
<? endif; ?>
|
||||
<? if (!empty($snippet['snippet'])): ?>
|
||||
<span class="quotestart">“</span>...<?=$this->highlight($snippet['snippet']) ?>...<span class="quoteend">”</span><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<?
|
||||
/* Display information on duplicate records if available */
|
||||
if ($dedupData = $this->driver->getDedupData()): ?>
|
||||
<div class="dedupInformation">
|
||||
<?
|
||||
$i = 0;
|
||||
foreach ($dedupData as $source => $current) {
|
||||
if (++$i == 1) {
|
||||
?><span class="currentSource"><a href="<?=$this->recordLink()->getUrl($this->driver)?>"><?=$this->transEsc("source_$source", array(), $source)?></a></span><?
|
||||
} else {
|
||||
if ($i == 2) {
|
||||
?> <span class="otherSources">(<?=$this->transEsc('Other Sources')?>: <?
|
||||
} else {
|
||||
?>, <?
|
||||
}
|
||||
?><a href="<?=$this->recordLink()->getUrl($current['id'])?>"><?=$this->transEsc("source_$source", array(), $source)?></a><?
|
||||
}
|
||||
}
|
||||
if ($i > 1) {
|
||||
?>)</span><?
|
||||
}?>
|
||||
</div>
|
||||
<? 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): ?>
|
||||
<br/>
|
||||
<?=$openUrl->renderTemplate()?>
|
||||
<? endif; ?>
|
||||
<? if (!is_array($urls)) $urls = array();
|
||||
if(!$this->driver->isCollection()):
|
||||
foreach ($urls as $current): ?>
|
||||
<a href="<?=$this->escapeHtmlAttr($this->proxyUrl($current['url']))?>" class="fulltext" target="new"><i class="fa fa-external-link" aria-hidden="true"></i> <?=($current['url'] == $current['desc']) ? $this->transEsc('Get full text') : $this->escapeHtml($current['desc'])?></a><br/>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<div class="result-previews">
|
||||
<?=$this->record($this->driver)->getPreviews()?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="add-result">
|
||||
<div class="favorites">
|
||||
<? if ($this->userlist()->getMode() !== 'disabled'): ?>
|
||||
<? /* Add to favorites */ ?>
|
||||
<a href="<?=$this->recordLink()->getActionUrl($this->driver, 'Save')?>" data-lightbox class="save-record result-link-label" data-id="<?=$this->escapeHtmlAttr($this->driver->getUniqueId()) ?>"><?=$this->transEsc('Add to favorites')?></a>
|
||||
<i class="result-link-icon fa fa-fw fa-star" aria-hidden="true"></i><br/>
|
||||
<? /* Saved lists */ ?>
|
||||
<div class="savedLists">
|
||||
<strong><?=$this->transEsc("Saved in")?>:</strong>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="result-links hidden-print">
|
||||
<? /* 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'));
|
||||
?>
|
||||
<span class="hidden-xs">
|
||||
<a href="<?=$this->escapeHtmlAttr($QRCode);?>" class="qrcodeLink"><?=$this->transEsc('qrcode_show')?></a><i class="fa fa-fw fa-qrcode" aria-hidden="true"></i>
|
||||
<div class="qrcode hidden">
|
||||
<script type="text/template" class="qrCodeImgTag">
|
||||
<img alt="<?=$this->transEsc('QR Code')?>" src="<?=$this->escapeHtmlAttr($QRCode);?>"/>
|
||||
</script>
|
||||
</div><br/>
|
||||
</span>
|
||||
<? 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()]); ?><br/>
|
||||
<? endif; ?>
|
||||
|
||||
|
||||
|
||||
<? /* Hierarchy tree link */ ?>
|
||||
<? $trees = $this->driver->tryMethod('getHierarchyTrees'); if (!empty($trees)): ?>
|
||||
<? foreach ($trees as $hierarchyID => $hierarchyTitle): ?>
|
||||
<div class="hierarchyTreeLink">
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($hierarchyID)?>" class="hiddenHierarchyId" />
|
||||
|
||||
<a class="hierarchyTreeLinkText result-link-label" data-lightbox href="<?=$this->recordLink()->getTabUrl($this->driver, 'HierarchyTree')?>?hierarchy=<?=urlencode($hierarchyID)?>#tabnav" title="<?=$this->transEsc('hierarchy_tree')?>" data-lightbox-href="<?=$this->recordLink()->getTabUrl($this->driver, 'AjaxTab')?>?hierarchy=<?=urlencode($hierarchyID)?>" data-lightbox-post="tab=hierarchytree">
|
||||
<?=$this->transEsc('hierarchy_view_context')?><? if (count($trees) > 1): ?>: <?=$this->escapeHtml($hierarchyTitle)?><? endif; ?>
|
||||
</a>
|
||||
<i class="result-link-icon fa fa-fw fa-sitemap" aria-hidden="true"></i>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<?=$this->driver->supportsCoinsOpenUrl()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenUrl()).'"></span>':''?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'right'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
</div>
|
||||
@ -1,47 +0,0 @@
|
||||
<?
|
||||
$openUrl = $this->openUrl($this->driver, 'record');
|
||||
$openUrlActive = $openUrl->isActive();
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->record($this->driver)->getLinkDetails($openUrlActive);
|
||||
$title = $this->driver->getMainTitle();
|
||||
if (strpos($title,':') !== false) {
|
||||
$title = trim(strstr($title,':', true));
|
||||
}
|
||||
|
||||
// $title = $this->driver->getMainTitle() ;
|
||||
?>
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
<? foreach ($urls as $current): ?>
|
||||
<? if (strncmp($current['url'],"https://bibb-dspace.bibb.de/", strlen("https://bibb-dspace.bibb.de/")) == 0) : ?>
|
||||
<? continue; ?>
|
||||
<?endif ; ?>
|
||||
|
||||
<? if (strncmp($current['url'],"www.bibb.de", strlen("www.bibb.de")) == 0) : ?>
|
||||
<? $current['url'] = "https://" .$current['url']; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (strncmp($current['url'],"http://dispatch.opac.d-nb.de/", strlen("http://dispatch.opac.d-nb.de/")) == 0) : ?>
|
||||
<? $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'] = "http://nbn-resolving.org/process-urn-form?identifier=" .urlencode($current['url']) ."&verb=full" ; ?>
|
||||
<? $current['desc'] = "DNB contents"; ?>
|
||||
<? endif; ?>
|
||||
<? if (($start = strpos($current['url'], "(")) !== false) : ?>
|
||||
<? $current['desc'] = substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) ; ?>
|
||||
<? $current['url'] = trim(substr($current['url'],0, $start)); ?>
|
||||
<? endif; ?>
|
||||
<? if (($start = strpos($current['url'], "[")) !== false) : ?>
|
||||
<? $current['desc'] = substr($current['url'],$start+1, strrpos($current['url'],"]") - $start -1) ; ?>
|
||||
<? $current['url'] = trim(substr($current['url'],0, $start)); ?>
|
||||
<? endif; ?>
|
||||
|
||||
<a href="<?=$this->escapeHtmlAttr($this->proxyUrl($current['url']))?>"><?=$this->escapeHtml($current['desc'])?></a><br/>
|
||||
|
||||
<? endforeach; ?>
|
||||
<? if ($openUrlActive): ?>
|
||||
<?=$openUrl->renderTemplate()?><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
@ -1,87 +0,0 @@
|
||||
<?
|
||||
$openUrl = $this->openUrl($this->driver, 'record');
|
||||
$openUrlActive = $openUrl->isActive();
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->record($this->driver)->getLinkDetails($openUrlActive);
|
||||
$title = $this->driver->getMainTitle() ;
|
||||
$id = $this->driver->getUniqueID();
|
||||
// $data = $this->driver->getRawData();
|
||||
/* if (isset($data['rightsuri'])) {
|
||||
$license = $data['rightsuri'];
|
||||
$parts = explode("/", $license[0]);
|
||||
$rightsImage = '';
|
||||
if (isset($parts) && count($parts) > 1) {
|
||||
$rightsImage = "/vufind/themes/bibb/images/".$parts[4].".png";
|
||||
}
|
||||
}
|
||||
*/
|
||||
// if ($title) $title = trim(strstr($title,":", true));
|
||||
|
||||
|
||||
?>
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
|
||||
<? foreach ($urls as $current): ?>
|
||||
<? if (strncmp($current['url'],"https://bibb-dspace.bibb.de/handle", strlen("https://bibb-dspace.bibb.de/handle")) == 0) : ?>
|
||||
<? continue; ?>
|
||||
<?endif ; ?>
|
||||
<? if (strncmp($current['url'],"https://bibb-dspace.bibb.de/jspui/handle", strlen("https://bibb-dspace.bibb.de/jspui/handle")) == 0) : ?>
|
||||
<? continue; ?>
|
||||
<?endif ; ?>
|
||||
|
||||
<? if (strncmp($current['url'],"https://bibb-dspace.bibb.de/rest/bitstreams", strlen("https://bibb-dspace.bibb.de/rest/bitstreams")) == 0) : ?>
|
||||
<? $current['desc'] = "Volltext"; ?>
|
||||
<?endif ; ?>
|
||||
|
||||
|
||||
<? //Looking for "(" and ")" and separation of the link and the label MUST be located here!! ?>
|
||||
<? if (($start = strrpos($current['url'], "(")) !== false) : ?>
|
||||
<? $current['desc'] = substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) ; ?>
|
||||
<? $current['url'] = trim(substr($current['url'],0, $start)); ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (($start = strrpos($current['url'], "[")) !== false) : ?>
|
||||
<? $current['desc'] = substr($current['url'],$start+1, strrpos($current['url'],"]") - $start -1) ; ?>
|
||||
<? $current['url'] = trim(substr($current['url'],0, $start)); ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (strncmp($current['url'],"www.bibb.de", strlen("www.bibb.de")) == 0) : ?>
|
||||
<? $current['url'] = "https://" .$current['url']; ?>
|
||||
<? 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 (strncmp($current['url'],"http://dispatch.opac.d-nb.de/", strlen("http://dispatch.opac.d-nb.de/")) == 0) : ?>
|
||||
<? $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'] = "http://nbn-resolving.org/" .urlencode($current['url']) ; ?>
|
||||
<? $current['desc'] = "URN"; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<a href="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>"><?=$this->escapeHtml($current['desc'])?></a>
|
||||
|
||||
<? if (strlen($rightsImage)) : ?>
|
||||
<img src="<?= $rightsImage ?>" alt="License" style="zoom: 0.18" name="<? echo $this->escapeHtmlAttr($this->driver->getUniqueID())?>"
|
||||
onmouseover="this.style.zoom='0.22'" onmouseout="this.style.zoom='0.18'" />
|
||||
<? $rightsImage = ''; ?>
|
||||
<? endif; ?>
|
||||
<br />
|
||||
|
||||
<a class="feedbackLink" style="color: #14416b; font-size: 13px;" data-lightbox href="<?=$this->url('feedback-home') ."?function=feedback&comments=Titel: " .urlencode($title) ." (ID: " .$id ."): Link ist nicht korrekt!" ?>"> <i class="fa fa-chain-broken" aria-hidden="true"></i> <?=$this->transEsc('Report broken link')?></a>
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
<? if ($openUrlActive): ?>
|
||||
<?=$openUrl->renderTemplate()?><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
@ -1,99 +0,0 @@
|
||||
<?
|
||||
$account = $this->auth()->getManager();
|
||||
|
||||
$openUrl = $this->openUrl($this->driver, 'record');
|
||||
$openUrlActive = $openUrl->isActive();
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->record($this->driver)->getLinkDetails($openUrlActive);
|
||||
$title = $this->driver->getMainTitle() ;
|
||||
$id = $this->driver->getUniqueID();
|
||||
$accessRestrictions = $this->driver->getAccessRestrictions();
|
||||
// $data = $this->driver->getRawData();
|
||||
/* if (isset($data['rightsuri'])) {
|
||||
$license = $data['rightsuri'];
|
||||
$parts = explode("/", $license[0]);
|
||||
$rightsImage = '';
|
||||
if (isset($parts) && count($parts) > 1) {
|
||||
$rightsImage = "/vufind/themes/bibb/images/".$parts[4].".png";
|
||||
}
|
||||
}
|
||||
*/
|
||||
// if ($title) $title = trim(strstr($title,":", true));
|
||||
|
||||
|
||||
?>
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
|
||||
<? foreach ($urls as $current): ?>
|
||||
<? if (strncmp($current['url'],"https://bibb-dspace.bibb.de/handle", strlen("https://bibb-dspace.bibb.de/handle")) == 0) : ?>
|
||||
<? continue; ?>
|
||||
<?endif ; ?>
|
||||
<? if (strncmp($current['url'],"https://bibb-dspace.bibb.de/jspui/handle", strlen("https://bibb-dspace.bibb.de/jspui/handle")) == 0) : ?>
|
||||
<? continue; ?>
|
||||
<?endif ; ?>
|
||||
|
||||
<? if (strncmp($current['url'],"https://bibb-dspace.bibb.de/rest/bitstreams", strlen("https://bibb-dspace.bibb.de/rest/bitstreams")) == 0) : ?>
|
||||
<? $current['desc'] = "Volltext"; ?>
|
||||
<?endif ; ?>
|
||||
|
||||
|
||||
<? //Looking for "(" and ")" and separation of the link and the label MUST be located here!! ?>
|
||||
<? if (($start = strrpos($current['url'], "(")) !== false) : ?>
|
||||
<? $current['desc'] = substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) ; ?>
|
||||
<? $current['url'] = trim(substr($current['url'],0, $start)); ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (($start = strrpos($current['url'], "[")) !== false) : ?>
|
||||
<? $current['desc'] = substr($current['url'],$start+1, strrpos($current['url'],"]") - $start -1) ; ?>
|
||||
<? $current['url'] = trim(substr($current['url'],0, $start)); ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (strncmp($current['url'],"www.bibb.de", strlen("www.bibb.de")) == 0) : ?>
|
||||
<? $current['url'] = "https://" .$current['url']; ?>
|
||||
<? 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 (strncmp($current['url'],"http://dispatch.opac.d-nb.de/", strlen("http://dispatch.opac.d-nb.de/")) == 0) : ?>
|
||||
<? $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'] = "http://nbn-resolving.org/" .urlencode($current['url']) ; ?>
|
||||
<? $current['desc'] = "URN"; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? $LoginRequired = false ; ?>
|
||||
<? if (((strpos($current['url'],"search.ebscohost.com/login.aspx") !== false) || (strpos($current['url'], "econtent.hogrefe.com"))) !== false || strlen($accessRestrictions[0]) > 0) : ?>
|
||||
<? $LoginRequired = true ; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (($LoginRequired == true) && ! $account->isLoggedIn()) : ?>
|
||||
<?=$this->escapeHtml($current['desc'])?>
|
||||
<? else: ?>
|
||||
<a href="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" target="_blank"><?=$this->escapeHtml($current['desc'])?></a>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (strlen($rightsImage)) : ?>
|
||||
<img src="<?= $rightsImage ?>" alt="License" style="zoom: 0.18" name="<? echo $this->escapeHtmlAttr($this->driver->getUniqueID())?>"
|
||||
onmouseover="this.style.zoom='0.22'" onmouseout="this.style.zoom='0.18'" />
|
||||
<? $rightsImage = ''; ?>
|
||||
<? endif; ?>
|
||||
<br />
|
||||
|
||||
<a class="feedbackLink" style="color: #14416b; font-size: 13px;" data-lightbox href="<?=$this->url('feedback-home') ."?function=feedback&comments=Titel: " .urlencode($title) ." (ID: " .$id ."): Link ist nicht korrekt!" ?>"> <i class="fa fa-chain-broken" aria-hidden="true"></i> <?=$this->transEsc('Report broken link')?></a>
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
<? if ($openUrlActive): ?>
|
||||
<?=$openUrl->renderTemplate()?><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
@ -1,301 +0,0 @@
|
||||
<?
|
||||
$coverDetails = $this->record($this->driver)->getCoverDetails('result-list', 'medium', $this->recordLink()->getUrl($this->driver));
|
||||
$cover = $coverDetails['html'];
|
||||
$thumbnail = false;
|
||||
$thumbnailAlignment = $this->record($this->driver)->getThumbnailAlignment('result');
|
||||
if ($cover):
|
||||
ob_start(); ?>
|
||||
|
||||
<? // Create links to place a hold or recall an item
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
try {
|
||||
$holdings = $this->driver->getRealTimeHoldings();
|
||||
} catch (\VuFind\Exception\ILS $e) {
|
||||
$holdings = ['holdings' => []];
|
||||
$offlineMode = 'ils-offline';
|
||||
}
|
||||
$availableLinks = [] ;
|
||||
$checkedOutLinks = [] ;
|
||||
if (strcmp($offlineMode,'ils-offline') != 0) {
|
||||
|
||||
foreach ($holdings['holdings'] as $holding) {
|
||||
foreach ($holding['items'] as $row) {
|
||||
if (strcmp($row['status'],'status_in_acquisition') != 0 && strcmp($row['status'],'status_internal_administration') != 0 ) {
|
||||
if (strtolower($row['reserve']) == 'x') continue;
|
||||
if (! isset($row['barcode']) || $row['barcode'] == "") continue;
|
||||
if (! isset($row['link']) || $row['link'] == '') continue;
|
||||
}
|
||||
$check = isset($row['check']) && $row['check'];
|
||||
if (strcmp($row['status'], "status_internal_administration") != 0 && strcmp($row['status'],'status_internal_administration') != 0 ) {
|
||||
$link = ' class="';
|
||||
if ($check) $link .= 'checkRequest ';
|
||||
$link .= 'placehold" ' ;
|
||||
if (!empty($row['linkLightbox'])) $link .= 'data-lightbox ';
|
||||
$link .= "href=\"" .$this->recordLink()->getRequestUrl($row['link']) ."\">";
|
||||
if ($check) {
|
||||
$link .= $this->transEsc("Check Hold") ;
|
||||
} else {
|
||||
if (strcmp($row['status'], "Available") == 0) {
|
||||
$link .= $this->transEsc("Place a Hold") ;
|
||||
$availableLinks[] = $link ;
|
||||
} else {
|
||||
$link .= $this->transEsc("Recall This") ;
|
||||
$checkedOutLinks[] = $link ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<div class="media-<?=$thumbnailAlignment ?> <?=$this->escapeHtmlAttr($coverDetails['size'])?>">
|
||||
<?=$cover ?>
|
||||
</div>
|
||||
<? $thumbnail = ob_get_contents(); ?>
|
||||
<? ob_end_clean(); ?>
|
||||
<? endif; ?>
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueID())?>" class="hiddenId" />
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getSourceIdentifier())?>" class="hiddenSource" />
|
||||
<div class="media">
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'left'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
<div class="media-body">
|
||||
<div class="result-body">
|
||||
|
||||
<div class="title-container">
|
||||
<a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="title getFull" data-view="<?=$this->params->getOptions()->getListViewOption() ?>">
|
||||
<?=$this->record($this->driver)->getTitleHtml()?>
|
||||
<? $subTitle = $this->driver->getTitleSection(); ?>
|
||||
<? if (!empty($subTitle)): ?>
|
||||
<br> <?=$subTitle?>
|
||||
<? endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="author">
|
||||
<? $summAuthors = $this->driver->getPrimaryAuthorsWithHighlighting(); if (!empty($summAuthors)): ?>
|
||||
<?=$this->transEsc('by')?>
|
||||
<? $authorCount = count($summAuthors); foreach ($summAuthors as $i => $summAuthor): ?>
|
||||
<a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>"><?=$this->highlight($summAuthor)?></a><?=$i + 1 < $authorCount ? ';' : ''?>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<table width="99%">
|
||||
<tr>
|
||||
<th width="35%"></th>
|
||||
<td width="20%"></td>
|
||||
<td width="15%"></td>
|
||||
<td width="*"></td>
|
||||
</tr>
|
||||
<tbody class="result-table">
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Format")?></th>
|
||||
<th><?=$this->transEsc("Stock")?></th>
|
||||
<th><?=$this->transEsc('Call Number')?></th>
|
||||
<th><?=$this->transEsc("Availability")?></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?=$this->record($this->driver)->getFormatList() ?></td>
|
||||
<td> <img src="/vufind/themes/bibb/images/BIBB_library_small.png"> </td>
|
||||
|
||||
<td>
|
||||
<? $summCallNo = $this->driver->getCallNumber(); if (!empty($summCallNo)): ?>
|
||||
<?=$this->escapeHtml($summCallNo)?>
|
||||
<? endif; ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<? if (!$openUrlActive && empty($urls) && $this->driver->supportsAjaxStatus() ): ?>
|
||||
<span class="status ajax-availability hidden">
|
||||
<span class="label label-default"><?=$this->transEsc('Loading')?>...</span>
|
||||
</span>
|
||||
|
||||
<? endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="published">
|
||||
<? if($this->driver->isCollection()): ?>
|
||||
<?=implode('<br>', array_map(array($this, 'escapeHtml'), $this->driver->getSummary())); ?>
|
||||
<? else: ?>
|
||||
|
||||
<? $journalTitle = $this->driver->getContainerTitle(); $summDate = $this->driver->getPublicationDates(); ?>
|
||||
<? if (!empty($journalTitle)): ?>
|
||||
<?=!empty($summAuthor) ? '<br />' : ''?>
|
||||
<?=$this->transEsc('Published in')?>
|
||||
<? $containerSource = $this->driver->getSourceIdentifier(); ?>
|
||||
<? $containerID = $this->driver->getContainerRecordID(); ?>
|
||||
<? /* TODO: handle highlighting more elegantly here: */?>
|
||||
<a href="<?=($containerID ? $this->recordLink()->getUrl("$containerSource|$containerID") : $this->record($this->driver)->getLink('journaltitle', str_replace(array('{{{{START_HILITE}}}}', '{{{{END_HILITE}}}}'), '', $journalTitle)))?>"><?=$this->highlight($journalTitle) ?></a>
|
||||
<?=!empty($summDate) ? ' (' . $this->escapeHtml($summDate[0]) . ')' : ''?>
|
||||
<? elseif (!empty($summDate)): ?>
|
||||
<?=!empty($summAuthor) ? '<br />' : ''?>
|
||||
<?=$this->transEsc('Published') . ' ' . $this->escapeHtml($summDate[0])?>
|
||||
<? endif; ?>
|
||||
<? $summInCollection = $this->driver->getContainingCollections(); if (!empty($summInCollection)): ?>
|
||||
<? foreach ($summInCollection as $collId => $collText): ?>
|
||||
<div>
|
||||
<b><?=$this->transEsc("in_collection_label")?></b>
|
||||
<a class="collectionLinkText" href="<?=$this->url('collection', array('id' => $collId))?>?recordID=<?=urlencode($this->driver->getUniqueID())?>">
|
||||
<?=$this->escapeHtml($collText)?>
|
||||
</a>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<? if(!$this->driver->isCollection()): ?>
|
||||
<? if ($snippet = $this->driver->getHighlightedSnippet()): ?>
|
||||
<? if (!empty($snippet['caption'])): ?>
|
||||
<strong><?=$this->transEsc($snippet['caption']) ?>:</strong> ';
|
||||
<? endif; ?>
|
||||
<? if (!empty($snippet['snippet'])): ?>
|
||||
<span class="quotestart">“</span>...<?=$this->highlight($snippet['snippet']) ?>...<span class="quoteend">”</span><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<?
|
||||
/* Display information on duplicate records if available */
|
||||
if ($dedupData = $this->driver->getDedupData()): ?>
|
||||
<div class="dedupInformation">
|
||||
<?
|
||||
$i = 0;
|
||||
foreach ($dedupData as $source => $current) {
|
||||
if (++$i == 1) {
|
||||
?><span class="currentSource"><a href="<?=$this->recordLink()->getUrl($this->driver)?>"><?=$this->transEsc("source_$source", array(), $source)?></a></span><?
|
||||
} else {
|
||||
if ($i == 2) {
|
||||
?> <span class="otherSources">(<?=$this->transEsc('Other Sources')?>: <?
|
||||
} else {
|
||||
?>, <?
|
||||
}
|
||||
?><a href="<?=$this->recordLink()->getUrl($current['id'])?>"><?=$this->transEsc("source_$source", array(), $source)?></a><?
|
||||
}
|
||||
}
|
||||
if ($i > 1) {
|
||||
?>)</span><?
|
||||
}?>
|
||||
</div>
|
||||
<? 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): ?>
|
||||
<br/>
|
||||
<?=$openUrl->renderTemplate()?>
|
||||
<? endif; ?>
|
||||
<? if (!is_array($urls)) $urls = array();
|
||||
if(!$this->driver->isCollection()):
|
||||
foreach ($urls as $current): ?>
|
||||
<? 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();
|
||||
if (strpos($title,':') !== false) {
|
||||
$title = trim(strstr($title,":", true));
|
||||
} ?>
|
||||
<? $current['url'] = "https://zdb-katalog.de/list.xhtml?t=" .urlencode("\"" .$title ."\"") ."&key=tit" ; ?>
|
||||
<? $current['desc'] = "\"" .$title ."\" in der ZDB"; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (($start = strpos($this->proxyUrl($current['url']), "(")) !== false) : ?>
|
||||
<a href="<?=$this->escapeHtmlAttr(trim(substr($this->proxyUrl($current['url']),0, $start-1)))?>" class="fulltext" target="new"><i class="fa fa-external-link" aria-hidden="true"></i> <?=($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'])?></a><br/>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (($start = strpos($this->proxyUrl($current['url']), "(")) === false) : ?>
|
||||
<a href="<?=$this->escapeHtmlAttr($this->proxyUrl($current['url']))?>" class="fulltext" target="new"><i class="fa fa-external-link" aria-hidden="true"></i> <?=($current['url'] == $current['desc']) ? $this->transEsc('Get full text') : $this->escapeHtml($current['desc'])?></a><br/>
|
||||
<? endif ; ?>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<div class="result-previews">
|
||||
<?=$this->record($this->driver)->getPreviews()?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="add-result">
|
||||
<div class="favorites">
|
||||
<? if ($this->userlist()->getMode() !== 'disabled'): ?>
|
||||
<? /* Add to favorites */ ?>
|
||||
<a href="<?=$this->recordLink()->getActionUrl($this->driver, 'Save')?>" data-lightbox class="save-record result-link-label" data-id="<?=$this->escapeHtmlAttr($this->driver->getUniqueId()) ?>"><?=$this->transEsc('Add to favorites')?></a>
|
||||
<i class="result-link-icon fa fa-fw fa-star" aria-hidden="true"></i><br/>
|
||||
<? /* Saved lists */ ?>
|
||||
<div class="savedLists">
|
||||
<strong><?=$this->transEsc("Saved in")?>:</strong>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="result-links hidden-print">
|
||||
<? /* 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'));
|
||||
?>
|
||||
<span class="hidden-xs">
|
||||
<a href="<?=$this->escapeHtmlAttr($QRCode);?>" class="qrcodeLink"><?=$this->transEsc('qrcode_show')?></a><i class="fa fa-fw fa-qrcode" aria-hidden="true"></i>
|
||||
<div class="qrcode hidden">
|
||||
<script type="text/template" class="qrCodeImgTag">
|
||||
<img alt="<?=$this->transEsc('QR Code')?>" src="<?=$this->escapeHtmlAttr($QRCode);?>"/>
|
||||
</script>
|
||||
</div><br/>
|
||||
</span>
|
||||
<? 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()]); ?><br/>
|
||||
<? endif; ?>
|
||||
|
||||
|
||||
|
||||
<? /* Hierarchy tree link */ ?>
|
||||
<? $trees = $this->driver->tryMethod('getHierarchyTrees'); if (!empty($trees)): ?>
|
||||
<? foreach ($trees as $hierarchyID => $hierarchyTitle): ?>
|
||||
<div class="hierarchyTreeLink">
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($hierarchyID)?>" class="hiddenHierarchyId" />
|
||||
|
||||
<a class="hierarchyTreeLinkText result-link-label" data-lightbox href="<?=$this->recordLink()->getTabUrl($this->driver, 'HierarchyTree')?>?hierarchy=<?=urlencode($hierarchyID)?>#tabnav" title="<?=$this->transEsc('hierarchy_tree')?>" data-lightbox-href="<?=$this->recordLink()->getTabUrl($this->driver, 'AjaxTab')?>?hierarchy=<?=urlencode($hierarchyID)?>" data-lightbox-post="tab=hierarchytree">
|
||||
<?=$this->transEsc('hierarchy_view_context')?><? if (count($trees) > 1): ?>: <?=$this->escapeHtml($hierarchyTitle)?><? endif; ?>
|
||||
</a>
|
||||
<i class="result-link-icon fa fa-fw fa-sitemap" aria-hidden="true"></i>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
|
||||
|
||||
<? //Display Links to place a hold or to recall an item ?>
|
||||
<? if (!empty($availableLinks)) : ?>
|
||||
</br>
|
||||
<a <?=$availableLinks[0] ?> </a><i class="fa fa-book fa-lg" style="color:#44801e;"></i>
|
||||
<?endif; ?>
|
||||
<? if (empty($availableLinks) && !empty($checkedOutLinks)) : ?>
|
||||
</br>
|
||||
<a <?=$checkedOutLinks[0] ?> </a><i class="fa fa-book fa-lg" style="color:#44801e;"></i>
|
||||
<?endif; ?>
|
||||
|
||||
<?=$this->driver->supportsCoinsOpenUrl()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenUrl()).'"></span>':''?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'right'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
</div>
|
||||
@ -1,323 +0,0 @@
|
||||
<?
|
||||
$account = $this->auth()->getManager();
|
||||
$coverDetails = $this->record($this->driver)->getCoverDetails('result-list', 'medium', $this->recordLink()->getUrl($this->driver));
|
||||
$cover = $coverDetails['html'];
|
||||
$thumbnail = false;
|
||||
$thumbnailAlignment = $this->record($this->driver)->getThumbnailAlignment('result');
|
||||
$eBook = in_array("eBook",$this->driver->getFormats()) ? true : false;
|
||||
$accessRestrictions = $this->driver->getAccessRestrictions();
|
||||
$itemNote = "check in eBook platform after login";
|
||||
if ($cover):
|
||||
ob_start(); ?>
|
||||
|
||||
<? // Create links to place a hold or recall an item
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
try {
|
||||
$holdings = $this->driver->getRealTimeHoldings();
|
||||
} catch (\VuFind\Exception\ILS $e) {
|
||||
$holdings = ['holdings' => []];
|
||||
$offlineMode = 'ils-offline';
|
||||
}
|
||||
$availableLinks = [] ;
|
||||
$checkedOutLinks = [] ;
|
||||
if (strcmp($offlineMode,'ils-offline') != 0) {
|
||||
|
||||
foreach ($holdings['holdings'] as $holding) {
|
||||
foreach ($holding['items'] as $row) {
|
||||
if (strcmp($row['status'],'status_in_acquisition') != 0 && strcmp($row['status'],'status_internal_administration') != 0 ) {
|
||||
if (strtolower($row['reserve']) == 'x') continue;
|
||||
if (! isset($row['barcode']) || $row['barcode'] == "") continue;
|
||||
if (! isset($row['link']) || $row['link'] == '') continue;
|
||||
}
|
||||
if ($eBook) {
|
||||
if (isset($row['item_notes'])) {
|
||||
$itemNote = $row['item_notes'];
|
||||
}
|
||||
}
|
||||
$check = isset($row['check']) && $row['check'];
|
||||
if (strcmp($row['status'], "status_internal_administration") != 0 && strcmp($row['status'],'status_internal_administration') != 0 ) {
|
||||
$link = ' class="';
|
||||
if ($check) $link .= 'checkRequest ';
|
||||
$link .= 'placehold" ' ;
|
||||
if (!empty($row['linkLightbox'])) $link .= 'data-lightbox ';
|
||||
$link .= "href=\"" .$this->recordLink()->getRequestUrl($row['link']) ."\">";
|
||||
if ($check) {
|
||||
$link .= $this->transEsc("Check Hold") ;
|
||||
} else {
|
||||
if (strcmp($row['status'], "Available") == 0) {
|
||||
$link .= $this->transEsc("Place a Hold") ;
|
||||
$availableLinks[] = $link ;
|
||||
} else {
|
||||
$link .= $this->transEsc("Recall This") ;
|
||||
$checkedOutLinks[] = $link ;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<div class="media-<?=$thumbnailAlignment ?> <?=$this->escapeHtmlAttr($coverDetails['size'])?>">
|
||||
<?=$cover ?>
|
||||
</div>
|
||||
<? $thumbnail = ob_get_contents(); ?>
|
||||
<? ob_end_clean(); ?>
|
||||
<? endif; ?>
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getUniqueID())?>" class="hiddenId" />
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($this->driver->getSourceIdentifier())?>" class="hiddenSource" />
|
||||
<div class="media">
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'left'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
<div class="media-body">
|
||||
<div class="result-body">
|
||||
|
||||
<div class="title-container">
|
||||
<a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="title getFull" data-view="<?=$this->params->getOptions()->getListViewOption() ?>">
|
||||
<?=$this->record($this->driver)->getTitleHtml()?>
|
||||
<? $subTitle = $this->driver->getTitleSection(); ?>
|
||||
<? if (!empty($subTitle)): ?>
|
||||
<br> <?=$subTitle?>
|
||||
<? endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="author">
|
||||
<? $summAuthors = $this->driver->getPrimaryAuthorsWithHighlighting(); if (!empty($summAuthors)): ?>
|
||||
<?=$this->transEsc('by')?>
|
||||
<? $authorCount = count($summAuthors); foreach ($summAuthors as $i => $summAuthor): ?>
|
||||
<a href="<?=$this->record($this->driver)->getLink('author', $this->highlight($summAuthor, null, true, false))?>"><?=$this->highlight($summAuthor)?></a><?=$i + 1 < $authorCount ? ';' : ''?>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<table width="99%">
|
||||
<tr>
|
||||
<th width="35%"></th>
|
||||
<td width="20%"></td>
|
||||
<td width="15%"></td>
|
||||
<td width="*"></td>
|
||||
</tr>
|
||||
<tbody class="result-table">
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Format")?></th>
|
||||
<th><?=$this->transEsc("Stock")?></th>
|
||||
<th><?=$this->transEsc('Call Number')?></th>
|
||||
<th><?=$this->transEsc("Availability")?></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<? // $format = $this->driver->getFormats(); print_r($format) ; ?>
|
||||
<? $eBook = in_array("eBook",$this->driver->getFormats()) ? true : false ?>
|
||||
<td><?=$this->record($this->driver)->getFormatList() ?></td>
|
||||
<td> <img src="/vufind/themes/bibb/images/BIBB_library_small.png"> </td>
|
||||
|
||||
<td>
|
||||
<? $summCallNo = $this->driver->getCallNumber(); if (!empty($summCallNo)): ?>
|
||||
<?=$this->escapeHtml($summCallNo)?>
|
||||
<? endif; ?>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<? if (!$eBook && !$openUrlActive && empty($urls) && $this->driver->supportsAjaxStatus() ): ?>
|
||||
<span class="status ajax-availability hidden">
|
||||
<span class="label label-default"><?=$this->transEsc('Loading')?>...</span>
|
||||
</span>
|
||||
<?endif ; ?>
|
||||
<? if ($eBook) : ?>
|
||||
<?=$this->transEsc($itemNote)?>
|
||||
<? endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="published">
|
||||
<? if($this->driver->isCollection()): ?>
|
||||
<?=implode('<br>', array_map(array($this, 'escapeHtml'), $this->driver->getSummary())); ?>
|
||||
<? else: ?>
|
||||
|
||||
<? $journalTitle = $this->driver->getContainerTitle(); $summDate = $this->driver->getPublicationDates(); ?>
|
||||
<? if (!empty($journalTitle)): ?>
|
||||
<?=!empty($summAuthor) ? '<br />' : ''?>
|
||||
<?=$this->transEsc('Published in')?>
|
||||
<? $containerSource = $this->driver->getSourceIdentifier(); ?>
|
||||
<? $containerID = $this->driver->getContainerRecordID(); ?>
|
||||
<? /* TODO: handle highlighting more elegantly here: */?>
|
||||
<a href="<?=($containerID ? $this->recordLink()->getUrl("$containerSource|$containerID") : $this->record($this->driver)->getLink('journaltitle', str_replace(array('{{{{START_HILITE}}}}', '{{{{END_HILITE}}}}'), '', $journalTitle)))?>"><?=$this->highlight($journalTitle) ?></a>
|
||||
<?=!empty($summDate) ? ' (' . $this->escapeHtml($summDate[0]) . ')' : ''?>
|
||||
<? elseif (!empty($summDate)): ?>
|
||||
<?=!empty($summAuthor) ? '<br />' : ''?>
|
||||
<?=$this->transEsc('Published') . ' ' . $this->escapeHtml($summDate[0])?>
|
||||
<? endif; ?>
|
||||
<? $summInCollection = $this->driver->getContainingCollections(); if (!empty($summInCollection)): ?>
|
||||
<? foreach ($summInCollection as $collId => $collText): ?>
|
||||
<div>
|
||||
<b><?=$this->transEsc("in_collection_label")?></b>
|
||||
<a class="collectionLinkText" href="<?=$this->url('collection', array('id' => $collId))?>?recordID=<?=urlencode($this->driver->getUniqueID())?>">
|
||||
<?=$this->escapeHtml($collText)?>
|
||||
</a>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<? if(!$this->driver->isCollection()): ?>
|
||||
<? if ($snippet = $this->driver->getHighlightedSnippet()): ?>
|
||||
<? if (!empty($snippet['caption'])): ?>
|
||||
<strong><?=$this->transEsc($snippet['caption']) ?>:</strong> ';
|
||||
<? endif; ?>
|
||||
<? if (!empty($snippet['snippet'])): ?>
|
||||
<span class="quotestart">“</span>...<?=$this->highlight($snippet['snippet']) ?>...<span class="quoteend">”</span><br/>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<?
|
||||
/* Display information on duplicate records if available */
|
||||
if ($dedupData = $this->driver->getDedupData()): ?>
|
||||
<div class="dedupInformation">
|
||||
<?
|
||||
$i = 0;
|
||||
foreach ($dedupData as $source => $current) {
|
||||
if (++$i == 1) {
|
||||
?><span class="currentSource"><a href="<?=$this->recordLink()->getUrl($this->driver)?>"><?=$this->transEsc("source_$source", array(), $source)?></a></span><?
|
||||
} else {
|
||||
if ($i == 2) {
|
||||
?> <span class="otherSources">(<?=$this->transEsc('Other Sources')?>: <?
|
||||
} else {
|
||||
?>, <?
|
||||
}
|
||||
?><a href="<?=$this->recordLink()->getUrl($current['id'])?>"><?=$this->transEsc("source_$source", array(), $source)?></a><?
|
||||
}
|
||||
}
|
||||
if ($i > 1) {
|
||||
?>)</span><?
|
||||
}?>
|
||||
</div>
|
||||
<? 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): ?>
|
||||
<br/>
|
||||
<?=$openUrl->renderTemplate()?>
|
||||
<? endif; ?>
|
||||
<? if (!is_array($urls)) $urls = array();
|
||||
if(!$this->driver->isCollection()):
|
||||
foreach ($urls as $current): ?>
|
||||
<? 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();
|
||||
if (strpos($title,':') !== false) {
|
||||
$title = trim(strstr($title,":", true));
|
||||
} ?>
|
||||
<? $current['url'] = "https://zdb-katalog.de/list.xhtml?t=" .urlencode("\"" .$title ."\"") ."&key=tit" ; ?>
|
||||
<? $current['desc'] = "\"" .$title ."\" in der ZDB"; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (($start = strpos($this->proxyUrl($current['url']), "(")) !== false) : ?>
|
||||
<a href="<?=$this->escapeHtmlAttr(trim(substr($this->proxyUrl($current['url']),0, $start-1)))?>" class="fulltext" target="new"><i class="fa fa-external-link" aria-hidden="true"></i> <?=($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'])?></a><br/>
|
||||
<? endif; ?>
|
||||
|
||||
<? $LoginRequired = false ; ?>
|
||||
<? if (((strpos($current['url'],"search.ebscohost.com/login.aspx") !== false) || (strpos($current['url'], "econtent.hogrefe.com"))) !== false || strlen($accessRestrictions[0]) > 0) : ?>
|
||||
<? $LoginRequired = true ; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (($LoginRequired == true) && ! $account->isLoggedIn()) : ?>
|
||||
<?=$this->escapeHtml($current['desc'])?>
|
||||
<? else: ?>
|
||||
<a href="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" target="_blank"><?=$this->escapeHtml($current['desc'])?></a>
|
||||
<? endif; ?>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<div class="result-previews">
|
||||
<?=$this->record($this->driver)->getPreviews()?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="add-result">
|
||||
<div class="favorites">
|
||||
<? if ($this->userlist()->getMode() !== 'disabled'): ?>
|
||||
<? /* Add to favorites */ ?>
|
||||
<a href="<?=$this->recordLink()->getActionUrl($this->driver, 'Save')?>" data-lightbox class="save-record result-link-label" data-id="<?=$this->escapeHtmlAttr($this->driver->getUniqueId()) ?>"><?=$this->transEsc('Add to favorites')?></a>
|
||||
<i class="result-link-icon fa fa-fw fa-star" aria-hidden="true"></i><br/>
|
||||
<? /* Saved lists */ ?>
|
||||
<div class="savedLists">
|
||||
<strong><?=$this->transEsc("Saved in")?>:</strong>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="result-links hidden-print">
|
||||
<? /* 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'));
|
||||
?>
|
||||
<span class="hidden-xs">
|
||||
<a href="<?=$this->escapeHtmlAttr($QRCode);?>" class="qrcodeLink"><?=$this->transEsc('qrcode_show')?></a><i class="fa fa-fw fa-qrcode" aria-hidden="true"></i>
|
||||
<div class="qrcode hidden">
|
||||
<script type="text/template" class="qrCodeImgTag">
|
||||
<img alt="<?=$this->transEsc('QR Code')?>" src="<?=$this->escapeHtmlAttr($QRCode);?>"/>
|
||||
</script>
|
||||
</div><br/>
|
||||
</span>
|
||||
<? 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()]); ?><br/>
|
||||
<? endif; ?>
|
||||
|
||||
|
||||
|
||||
<? /* Hierarchy tree link */ ?>
|
||||
<? $trees = $this->driver->tryMethod('getHierarchyTrees'); if (!empty($trees)): ?>
|
||||
<? foreach ($trees as $hierarchyID => $hierarchyTitle): ?>
|
||||
<div class="hierarchyTreeLink">
|
||||
<input type="hidden" value="<?=$this->escapeHtmlAttr($hierarchyID)?>" class="hiddenHierarchyId" />
|
||||
|
||||
<a class="hierarchyTreeLinkText result-link-label" data-lightbox href="<?=$this->recordLink()->getTabUrl($this->driver, 'HierarchyTree')?>?hierarchy=<?=urlencode($hierarchyID)?>#tabnav" title="<?=$this->transEsc('hierarchy_tree')?>" data-lightbox-href="<?=$this->recordLink()->getTabUrl($this->driver, 'AjaxTab')?>?hierarchy=<?=urlencode($hierarchyID)?>" data-lightbox-post="tab=hierarchytree">
|
||||
<?=$this->transEsc('hierarchy_view_context')?><? if (count($trees) > 1): ?>: <?=$this->escapeHtml($hierarchyTitle)?><? endif; ?>
|
||||
</a>
|
||||
<i class="result-link-icon fa fa-fw fa-sitemap" aria-hidden="true"></i>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
|
||||
|
||||
<? //Display Links to place a hold or to recall an item ?>
|
||||
<? if (!$eBook) : ?>
|
||||
<? if (!empty($availableLinks)) : ?>
|
||||
</br>
|
||||
<a <?=$availableLinks[0] ?> </a><i class="fa fa-book fa-lg" style="color:#44801e;"></i>
|
||||
<?endif; ?>
|
||||
<? if (empty($availableLinks) && !empty($checkedOutLinks)) : ?>
|
||||
</br>
|
||||
<a <?=$checkedOutLinks[0] ?> </a><i class="fa fa-book fa-lg" style="color:#44801e;"></i>
|
||||
<?endif; ?>
|
||||
<? endif ; ?>
|
||||
|
||||
<?=$this->driver->supportsCoinsOpenUrl()?'<span class="Z3988" title="'.$this->escapeHtmlAttr($this->driver->getCoinsOpenUrl()).'"></span>':''?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'right'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
</div>
|
||||
@ -1,268 +0,0 @@
|
||||
<?
|
||||
// Set up convenience variables:
|
||||
$account = $this->auth()->getManager();
|
||||
$user = $account->isLoggedIn();
|
||||
$openUrl = $this->openUrl($this->driver, 'holdings');
|
||||
$openUrlActive = $openUrl->isActive();
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->record($this->driver)->getLinkDetails($openUrlActive);
|
||||
$data = $this->driver->getRawData();
|
||||
$title = $this->driver->getMainTitle() ;
|
||||
$u = array();
|
||||
if (isset ($data['voevzlink'])) {
|
||||
$u[] = array('url' => $data['voevzlink'][0], 'desc' => "Volltext");
|
||||
}
|
||||
|
||||
foreach ($urls as $current) {
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/handle", strlen("https://bibb-dspace.bibb.de/handle")) == 0) continue;
|
||||
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/jspui/handle", strlen("https://bibb-dspace.bibb.de/jspui/handle")) == 0) continue;
|
||||
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/rest/bitstreams", strlen("https://bibb-dspace.bibb.de/rest/bitstreams")) == 0) {
|
||||
if (isset ($data['voevzlink'])) continue;
|
||||
if (($start = strrpos($current['url'], "(")) !== false) {
|
||||
$u[] = array('url' => $current['url'], 'desc' => substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) );
|
||||
} else {
|
||||
$u[] = array('url' => $current['url'], 'desc' => "Volltext");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp($current['url'],"www.bibb.de/", strlen("www.bibb.de/")) == 0) {
|
||||
$u[] = array('url' => "https://" .$current['url'], 'desc' => "Volltext");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp($current['url'],"urn:nbn:de:", strlen("urn:nbn:de:")) == 0) {
|
||||
// $u[] = array('url' => 'https://nbn-resolving.org/' .urlencode($current['url']),
|
||||
// 'desc' => "URN");
|
||||
continue;
|
||||
}
|
||||
if (strncmp(strtolower($current['url']),"doi:", strlen("doi:")) == 0) {
|
||||
// if (($start = strrpos($current['url'], "(")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// if (($start = strrpos($current['url'], "[")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// $u[] = array('url' => "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("doi:")))),
|
||||
// 'desc' => "DOI" );
|
||||
continue;
|
||||
}
|
||||
|
||||
if(strncmp(strtolower($current['url']),"http://dx.doi.org/", strlen("http://dx.doi.org/")) == 0){
|
||||
// if (($start = strrpos($current['url'], "(")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// if (($start = strrpos($current['url'], "[")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// $u[] = array('url' => "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("http://dx.doi.org/")))),
|
||||
// 'desc' => "DOI");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (($start = strrpos($current['url'], "(")) !== false) {
|
||||
$u[] = array('desc' => substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) ,
|
||||
'url' => trim(substr($current['url'],0, $start)));
|
||||
continue;
|
||||
}
|
||||
if (($start = strrpos($current['url'], "[")) !== false) {
|
||||
$u[] = array('desc' => substr($current['url'],$start+1, strrpos($current['url'],"])") - $start -1) ,
|
||||
'url' => trim(substr($current['url'],0, $start)));
|
||||
continue;
|
||||
}
|
||||
if (strncmp($current['url'],"http://dispatch.opac.d-nb.de/", strlen("http://dispatch.opac.d-nb.de/")) == 0) {
|
||||
$u[] =array('url' => $current['url'] = "https://zdb-katalog.de/list.xhtml?t=" .urlencode("\"" .$title ."\"") ."&key=tit",
|
||||
'desc' => $current['desc'] = "\"" .$title ."\" in der ZDB");
|
||||
continue;
|
||||
}
|
||||
|
||||
$u[] = array('url' => $current['url'] ,
|
||||
'desc' => $current['desc']);
|
||||
|
||||
}
|
||||
$urls = $u;
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
try {
|
||||
$holdings = $this->driver->getRealTimeHoldings();
|
||||
} catch (\VuFind\Exception\ILS $e) {
|
||||
$holdings = ['holdings' => []];
|
||||
$offlineMode = 'ils-offline';
|
||||
}
|
||||
// Set page title.
|
||||
$this->headTitle($this->translate('Holdings') . ': ' . $this->driver->getBreadcrumb());
|
||||
?>
|
||||
|
||||
<?=$this->context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->auth()->isLoggedIn()]); ?>
|
||||
|
||||
<? if (!empty($holdings['blocks'])):?>
|
||||
<div id="account-block-msg" class="alert alert-danger">
|
||||
<?=$this->transEsc('account_block_options_missing', ['%%details%%' => implode('; ', $holdings['blocks'])]) ?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
|
||||
<?=($offlineMode == "ils-offline") ? $this->render('Helpers/ils-offline.phtml', ['offlineModeMsg' => 'ils_offline_holdings_message']) : ''?>
|
||||
<? if (($this->ils()->getHoldsMode() == 'driver' && !empty($holdings['holdings'])) || $this->ils()->getTitleHoldsMode() == 'driver'): ?>
|
||||
<? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?>
|
||||
<? if (!$user): ?>
|
||||
<div class="alert alert-info">
|
||||
<a href="<?=$this->recordLink()->getTabUrl($this->driver, 'Holdings')?>?login=true&catalogLogin=true" data-lightbox><?=$this->transEsc("hold_login")?></a>
|
||||
</div>
|
||||
<? elseif (!$user->cat_username): ?>
|
||||
<div class="alert alert-info">
|
||||
<?=$this->translate("hold_profile_html", ['%%url%%' => $this->recordLink()->getTabUrl($this->driver, 'Holdings') . '?catalogLogin=true'])?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? $holdingTitleHold = $this->driver->tryMethod('getRealTimeTitleHold'); if (!empty($holdingTitleHold)): ?>
|
||||
<a class="placehold" data-lightbox title="<?=$this->transEsc('request_place_text')?>" href="<?=$this->recordLink()->getRequestUrl($holdingTitleHold)?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc('title_hold_place')?></a>
|
||||
<? endif; ?>
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
<h3><?=$this->transEsc("Internet")?></h3>
|
||||
<? if (!empty($urls)): ?>
|
||||
<? foreach ($urls as $current): ?>
|
||||
<a href="<?=$this->escapeHtmlAttr($this->proxyUrl($current['url']))?>"><?=$this->escapeHtml($current['desc'])?></a><br/>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? if ($openUrlActive): ?><?=$openUrl->renderTemplate()?><? endif; ?>
|
||||
<? endif; ?>
|
||||
<? foreach ($holdings['holdings'] as $holding): ?>
|
||||
<h3>
|
||||
<? $locationText = $this->transEsc('location_' . $holding['location'], [], $holding['location']); ?>
|
||||
<? if (isset($holding['locationhref']) && $holding['locationhref']): ?>
|
||||
<a href="<?=$holding['locationhref']?>" target="_blank"><?=$locationText?></a>
|
||||
<? else: ?>
|
||||
<?=$locationText?>
|
||||
<? endif; ?>
|
||||
</h3>
|
||||
<table class="table table-striped" summary="<?=$this->transEsc('holdings_details_from', ['%%location%%' => $this->transEsc($holding['location'])]) ?>">
|
||||
<? $callNos = $this->tab->getUniqueCallNumbers($holding['items']); if (!empty($callNos)): ?>
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Call Number")?>: </th>
|
||||
<td width="50%">
|
||||
<? foreach ($callNos as $callNo): ?>
|
||||
<? if ($this->callnumberHandler): ?>
|
||||
<a href="<?=$this->url('alphabrowse-home') ?>?source=<?=$this->escapeHtmlAttr($this->callnumberHandler) ?>&from=<?=$this->escapeHtmlAttr($callNo) ?>"><?=$this->escapeHtml($callNo)?></a>
|
||||
<? else: ?>
|
||||
<?=$this->escapeHtml($callNo)?>
|
||||
<? endif; ?>
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<? if (isset($holding['textfields'])): foreach ($holding['textfields'] as $textFieldName => $textFields): ?>
|
||||
<? //RKE: Mantis 187 ?>
|
||||
<? if (strcmp($textFieldname == "holdings_notes") == 0) continue; ?>
|
||||
<? //RKE: ENDE Mantis 187 ?>
|
||||
<tr>
|
||||
<? // Translation for summary is a special case for backwards-compatibility ?>
|
||||
<th><?=$textFieldName == 'summary' ? $this->transEsc("Volume Holdings") : $this->transEsc(ucfirst($textFieldName))?>:</th>
|
||||
<td>
|
||||
<? foreach ($textFields as $current): ?>
|
||||
<?=$this->escapeHtml($current)?><br/>
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endforeach; endif; ?>
|
||||
<? foreach ($holding['items'] as $row): ?>
|
||||
<?
|
||||
// AJAX Check record?
|
||||
$check = isset($row['check']) && $row['check'];
|
||||
$checkStorageRetrievalRequest = isset($row['checkStorageRetrievalRequest']) && $row['checkStorageRetrievalRequest'];
|
||||
$checkILLRequest = isset($row['checkILLRequest']) && $row['checkILLRequest'];
|
||||
?>
|
||||
<? if (isset($row['barcode']) && $row['barcode'] != ""): ?>
|
||||
<tr vocab="http://schema.org/" typeof="Offer">
|
||||
<th><?=$this->transEsc("Copy")?> <?=$this->escapeHtml($row['number'])?></th>
|
||||
<td>
|
||||
<? if ($row['reserve'] == "Y"): ?>
|
||||
<link property="availability" href="http://schema.org/InStoreOnly" />
|
||||
<?=$this->transEsc("On Reserve - Ask at Circulation Desk")?><br />
|
||||
<? endif; ?>
|
||||
<? if (isset($row['use_unknown_message']) && $row['use_unknown_message']): ?>
|
||||
<span class="text-muted"><?=$this->transEsc("status_unknown_message")?></span>
|
||||
<? else: ?>
|
||||
<? if ($row['availability']): ?>
|
||||
<? /* Begin Available Items (Holds) */ ?>
|
||||
|
||||
<? if (isset($row['enumchron']) && $row['enumchron']): ?>
|
||||
<?=$row['enumchron'] .": "?>
|
||||
<? endif;?>
|
||||
|
||||
|
||||
<span class="text-success"><?=$this->transEsc("Available")?><link property="availability" href="http://schema.org/InStock" /></span>
|
||||
<? if (isset($row['link']) && $row['link']): ?>
|
||||
<a class="<?=$check ? 'checkRequest ' : ''?>placehold" <? if (!empty($row['linkLightbox'])): ?>data-lightbox <? endif; ?>href="<?=$this->recordLink()->getRequestUrl($row['link'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($check ? "Check Hold" : "Place a Hold")?></a>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['storageRetrievalRequestLink']) && $row['storageRetrievalRequestLink']): ?>
|
||||
<a class="<?=$checkStorageRetrievalRequest ? 'checkStorageRetrievalRequest ' : ''?> placeStorageRetrievalRequest" data-lightbox href="<?=$this->recordLink()->getRequestUrl($row['storageRetrievalRequestLink'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($checkStorageRetrievalRequest ? "storage_retrieval_request_check_text" : "storage_retrieval_request_place_text")?></a>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['ILLRequestLink']) && $row['ILLRequestLink']): ?>
|
||||
<a class="<?=$checkILLRequest ? 'checkILLRequest ' : ''?>placeILLRequest" data-lightbox href="<?=$this->recordLink()->getRequestUrl($row['ILLRequestLink'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($checkILLRequest ? "ill_request_check_text" : "ill_request_place_text")?></a>
|
||||
<? endif; ?>
|
||||
<? else: ?>
|
||||
<? /* Begin Unavailable Items (Recalls) */ ?>
|
||||
<? // RKE start: check if enmuchron is set ?>
|
||||
<? if (isset($row['enumchron']) && $row['enumchron']): ?>
|
||||
<?=$row['enumchron'] .": "?>
|
||||
<? endif;?>
|
||||
<? // RKE end ?>
|
||||
<span class="text-danger"><?=$this->transEsc($row['status'])?><link property="availability" href="http://schema.org/OutOfStock" /></span>
|
||||
<? if (isset($row['returnDate']) && $row['returnDate']): ?>– <span class="small"><?=$this->escapeHtml($row['returnDate'])?></span><? endif; ?>
|
||||
<? if (isset($row['duedate']) && $row['duedate']): ?>
|
||||
– <span class="small"><?=$this->transEsc("Due")?>: <?=$this->escapeHtml($row['duedate'])?></span>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['requests_placed']) && $row['requests_placed'] > 0): ?>
|
||||
<span><?=$this->transEsc("Requests")?>: <?=$this->escapeHtml($row['requests_placed'])?></span>
|
||||
<? endif; ?>
|
||||
<? if ($row['reserve'] != "X"): ?>
|
||||
<? if (!$block && isset($row['link']) && $row['link']): ?>
|
||||
<a class="<?=$check ? 'checkRequest' : ''?> placehold" <? if (!empty($row['linkLightbox'])): ?>data-lightbox <? endif; ?>href="<?=$this->recordLink()->getRequestUrl($row['link'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($check ? "Check Recall" : "Recall This")?></a>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['item_notes'])): ?>
|
||||
<div class="item-notes">
|
||||
<b><?=$this->transEsc("Item Notes")?>:</b>
|
||||
<ul>
|
||||
<? foreach ($row['item_notes'] as $item_note): ?>
|
||||
<li><?=$this->escapeHtml($item_note) ?></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? /* Embed item structured data: library, barcode, call number */ ?>
|
||||
<? if ($row['location']): ?>
|
||||
<meta property="seller" content="<?=$this->escapeHtmlAttr($row['location'])?>" />
|
||||
<? endif; ?>
|
||||
<? if ($row['barcode']): ?>
|
||||
<meta property="serialNumber" content="<?=$this->escapeHtmlAttr($row['barcode'])?>" />
|
||||
<? endif; ?>
|
||||
<? if ($row['callnumber']): ?>
|
||||
<meta property="sku" content="<?=$this->escapeHtmlAttr($row['callnumber'])?>" />
|
||||
<? endif; ?>
|
||||
<? /* Declare that the item is to be borrowed, not for sale */ ?>
|
||||
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut" />
|
||||
<link property="itemOffered" href="#record" />
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<? endforeach; ?>
|
||||
<? if (!empty($holding['purchase_history'])): ?>
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Most Recent Received Issues")?>:</th>
|
||||
<td>
|
||||
<? foreach ($holding['purchase_history'] as $current): ?>
|
||||
<?=$this->escapeHtml($current['issue'])?><br/>
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
</table>
|
||||
<? endforeach; ?>
|
||||
|
||||
<? $history = $this->driver->getRealTimeHistory(); ?>
|
||||
<? if (is_array($history) && !empty($history)): ?>
|
||||
<h3><?=$this->transEsc("Most Recent Received Issues")?></h3>
|
||||
<table class="table table-striped">
|
||||
<? foreach ($history as $row): ?>
|
||||
<tr><td><?=$this->escapeHtml($row['issue'])?></td></tr>
|
||||
<? endforeach; ?>
|
||||
</table>
|
||||
<? endif; ?>
|
||||
@ -1,284 +0,0 @@
|
||||
<?
|
||||
// Set up convenience variables:
|
||||
$account = $this->auth()->getManager();
|
||||
$user = $account->isLoggedIn();
|
||||
$openUrl = $this->openUrl($this->driver, 'holdings');
|
||||
$openUrlActive = $openUrl->isActive();
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->record($this->driver)->getLinkDetails($openUrlActive);
|
||||
$data = $this->driver->getRawData();
|
||||
$title = $this->driver->getMainTitle() ;
|
||||
$u = array();
|
||||
if (isset ($data['voevzlink'])) {
|
||||
$u[] = array('url' => $data['voevzlink'][0], 'desc' => "Volltext");
|
||||
}
|
||||
|
||||
foreach ($urls as $current) {
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/handle", strlen("https://bibb-dspace.bibb.de/handle")) == 0) continue;
|
||||
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/jspui/handle", strlen("https://bibb-dspace.bibb.de/jspui/handle")) == 0) continue;
|
||||
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/rest/bitstreams", strlen("https://bibb-dspace.bibb.de/rest/bitstreams")) == 0) {
|
||||
if (isset ($data['voevzlink'])) continue;
|
||||
if (($start = strrpos($current['url'], "(")) !== false) {
|
||||
$u[] = array('url' => $current['url'], 'desc' => substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) );
|
||||
} else {
|
||||
$u[] = array('url' => $current['url'], 'desc' => "Volltext");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp($current['url'],"www.bibb.de/", strlen("www.bibb.de/")) == 0) {
|
||||
$u[] = array('url' => "https://" .$current['url'], 'desc' => "Volltext");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp($current['url'],"urn:nbn:de:", strlen("urn:nbn:de:")) == 0) {
|
||||
// $u[] = array('url' => 'https://nbn-resolving.org/' .urlencode($current['url']),
|
||||
// 'desc' => "URN");
|
||||
continue;
|
||||
}
|
||||
if (strncmp(strtolower($current['url']),"doi:", strlen("doi:")) == 0) {
|
||||
// if (($start = strrpos($current['url'], "(")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// if (($start = strrpos($current['url'], "[")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// $u[] = array('url' => "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("doi:")))),
|
||||
// 'desc' => "DOI" );
|
||||
continue;
|
||||
}
|
||||
|
||||
if(strncmp(strtolower($current['url']),"http://dx.doi.org/", strlen("http://dx.doi.org/")) == 0){
|
||||
// if (($start = strrpos($current['url'], "(")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// if (($start = strrpos($current['url'], "[")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// $u[] = array('url' => "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("http://dx.doi.org/")))),
|
||||
// 'desc' => "DOI");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (($start = strrpos($current['url'], "(")) !== false) {
|
||||
$u[] = array('desc' => substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) ,
|
||||
'url' => trim(substr($current['url'],0, $start)));
|
||||
continue;
|
||||
}
|
||||
if (($start = strrpos($current['url'], "[")) !== false) {
|
||||
$u[] = array('desc' => substr($current['url'],$start+1, strrpos($current['url'],"])") - $start -1) ,
|
||||
'url' => trim(substr($current['url'],0, $start)));
|
||||
continue;
|
||||
}
|
||||
if (strncmp($current['url'],"http://dispatch.opac.d-nb.de/", strlen("http://dispatch.opac.d-nb.de/")) == 0) {
|
||||
$u[] =array('url' => $current['url'] = "https://zdb-katalog.de/list.xhtml?t=" .urlencode("\"" .$title ."\"") ."&key=tit",
|
||||
'desc' => $current['desc'] = "\"" .$title ."\" in der ZDB");
|
||||
continue;
|
||||
}
|
||||
|
||||
// RKE: Änderung wegen Datenbankzugang zu EBSCO
|
||||
$LoginRequired = false ;
|
||||
if (strncmp($current['url'],"https://search.ebscohost.com/login.aspx", strlen("https://search.ebscohost.com/login.aspx")) == 0) {
|
||||
$u[] = array('url' => "https://search.ebscohost.com/login.aspx?authtype=url",
|
||||
'desc' => $current['desc']) ;
|
||||
$LoginRequired = true ;
|
||||
continue;
|
||||
}
|
||||
// RKE: Änderung wegen Datenbankzugang zu EBSCO
|
||||
|
||||
$u[] = array('url' => $current['url'] ,
|
||||
'desc' => $current['desc']);
|
||||
|
||||
}
|
||||
$urls = $u;
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
try {
|
||||
$holdings = $this->driver->getRealTimeHoldings();
|
||||
} catch (\VuFind\Exception\ILS $e) {
|
||||
$holdings = ['holdings' => []];
|
||||
$offlineMode = 'ils-offline';
|
||||
}
|
||||
// Set page title.
|
||||
$this->headTitle($this->translate('Holdings') . ': ' . $this->driver->getBreadcrumb());
|
||||
?>
|
||||
|
||||
<?=$this->context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->auth()->isLoggedIn()]); ?>
|
||||
|
||||
<? if (!empty($holdings['blocks'])):?>
|
||||
<div id="account-block-msg" class="alert alert-danger">
|
||||
<?=$this->transEsc('account_block_options_missing', ['%%details%%' => implode('; ', $holdings['blocks'])]) ?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
|
||||
<?=($offlineMode == "ils-offline") ? $this->render('Helpers/ils-offline.phtml', ['offlineModeMsg' => 'ils_offline_holdings_message']) : ''?>
|
||||
<? if (($this->ils()->getHoldsMode() == 'driver' && !empty($holdings['holdings'])) || $this->ils()->getTitleHoldsMode() == 'driver'): ?>
|
||||
<? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?>
|
||||
<? if (!$user): ?>
|
||||
<div class="alert alert-info">
|
||||
<a href="<?=$this->recordLink()->getTabUrl($this->driver, 'Holdings')?>?login=true&catalogLogin=true" data-lightbox><?=$this->transEsc("hold_login")?></a>
|
||||
</div>
|
||||
<? elseif (!$user->cat_username): ?>
|
||||
<div class="alert alert-info">
|
||||
<?=$this->translate("hold_profile_html", ['%%url%%' => $this->recordLink()->getTabUrl($this->driver, 'Holdings') . '?catalogLogin=true'])?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? $holdingTitleHold = $this->driver->tryMethod('getRealTimeTitleHold'); if (!empty($holdingTitleHold)): ?>
|
||||
<a class="placehold" data-lightbox title="<?=$this->transEsc('request_place_text')?>" href="<?=$this->recordLink()->getRequestUrl($holdingTitleHold)?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc('title_hold_place')?></a>
|
||||
<? endif; ?>
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
<h3><?=$this->transEsc("Internet")?></h3>
|
||||
<? if (!empty($urls)): ?>
|
||||
<? foreach ($urls as $current): ?>
|
||||
<? // RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
|
||||
<? if (($LoginRequired == true) && ! $account->isLoggedIn()) : ?>
|
||||
<?=$this->escapeHtml($current['desc'])?>
|
||||
<? else: ?>
|
||||
<a href="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>"><?=$this->escapeHtml($current['desc'])?></a>
|
||||
<? endif; ?>
|
||||
<? // ENDE RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? if ($openUrlActive): ?><?=$openUrl->renderTemplate()?><? endif; ?>
|
||||
<? endif; ?>
|
||||
<? foreach ($holdings['holdings'] as $holding): ?>
|
||||
<h3>
|
||||
<? $locationText = $this->transEsc('location_' . $holding['location'], [], $holding['location']); ?>
|
||||
<? if (isset($holding['locationhref']) && $holding['locationhref']): ?>
|
||||
<a href="<?=$holding['locationhref']?>" target="_blank"><?=$locationText?></a>
|
||||
<? else: ?>
|
||||
<?=$locationText?>
|
||||
<? endif; ?>
|
||||
</h3>
|
||||
<table class="table table-striped" summary="<?=$this->transEsc('holdings_details_from', ['%%location%%' => $this->transEsc($holding['location'])]) ?>">
|
||||
<? $callNos = $this->tab->getUniqueCallNumbers($holding['items']); if (!empty($callNos)): ?>
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Call Number")?>: </th>
|
||||
<td width="50%">
|
||||
<? foreach ($callNos as $callNo): ?>
|
||||
<? if ($this->callnumberHandler): ?>
|
||||
<a href="<?=$this->url('alphabrowse-home') ?>?source=<?=$this->escapeHtmlAttr($this->callnumberHandler) ?>&from=<?=$this->escapeHtmlAttr($callNo) ?>"><?=$this->escapeHtml($callNo)?></a>
|
||||
<? else: ?>
|
||||
<?=$this->escapeHtml($callNo)?>
|
||||
<? endif; ?>
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<? if (isset($holding['textfields'])): foreach ($holding['textfields'] as $textFieldName => $textFields): ?>
|
||||
<? //RKE: Mantis 187 ?>
|
||||
<? if (strcmp($textFieldname == "holdings_notes") == 0) continue; ?>
|
||||
<? //RKE: ENDE Mantis 187 ?>
|
||||
<tr>
|
||||
<? // Translation for summary is a special case for backwards-compatibility ?>
|
||||
<th><?=$textFieldName == 'summary' ? $this->transEsc("Volume Holdings") : $this->transEsc(ucfirst($textFieldName))?>:</th>
|
||||
<td>
|
||||
<? foreach ($textFields as $current): ?>
|
||||
<?=$this->escapeHtml($current)?><br/>
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endforeach; endif; ?>
|
||||
<? foreach ($holding['items'] as $row): ?>
|
||||
<?
|
||||
// AJAX Check record?
|
||||
$check = isset($row['check']) && $row['check'];
|
||||
$checkStorageRetrievalRequest = isset($row['checkStorageRetrievalRequest']) && $row['checkStorageRetrievalRequest'];
|
||||
$checkILLRequest = isset($row['checkILLRequest']) && $row['checkILLRequest'];
|
||||
?>
|
||||
<? if (isset($row['barcode']) && $row['barcode'] != ""): ?>
|
||||
<tr vocab="http://schema.org/" typeof="Offer">
|
||||
<th><?=$this->transEsc("Copy")?> <?=$this->escapeHtml($row['number'])?></th>
|
||||
<td>
|
||||
<? if ($row['reserve'] == "Y"): ?>
|
||||
<link property="availability" href="http://schema.org/InStoreOnly" />
|
||||
<?=$this->transEsc("On Reserve - Ask at Circulation Desk")?><br />
|
||||
<? endif; ?>
|
||||
<? if (isset($row['use_unknown_message']) && $row['use_unknown_message']): ?>
|
||||
<span class="text-muted"><?=$this->transEsc("status_unknown_message")?></span>
|
||||
<? else: ?>
|
||||
<? if ($row['availability']): ?>
|
||||
<? /* Begin Available Items (Holds) */ ?>
|
||||
|
||||
<? if (isset($row['enumchron']) && $row['enumchron']): ?>
|
||||
<?=$row['enumchron'] .": "?>
|
||||
<? endif;?>
|
||||
|
||||
|
||||
<span class="text-success"><?=$this->transEsc("Available")?><link property="availability" href="http://schema.org/InStock" /></span>
|
||||
<? if (isset($row['link']) && $row['link']): ?>
|
||||
<a class="<?=$check ? 'checkRequest ' : ''?>placehold" <? if (!empty($row['linkLightbox'])): ?>data-lightbox <? endif; ?>href="<?=$this->recordLink()->getRequestUrl($row['link'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($check ? "Check Hold" : "Place a Hold")?></a>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['storageRetrievalRequestLink']) && $row['storageRetrievalRequestLink']): ?>
|
||||
<a class="<?=$checkStorageRetrievalRequest ? 'checkStorageRetrievalRequest ' : ''?> placeStorageRetrievalRequest" data-lightbox href="<?=$this->recordLink()->getRequestUrl($row['storageRetrievalRequestLink'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($checkStorageRetrievalRequest ? "storage_retrieval_request_check_text" : "storage_retrieval_request_place_text")?></a>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['ILLRequestLink']) && $row['ILLRequestLink']): ?>
|
||||
<a class="<?=$checkILLRequest ? 'checkILLRequest ' : ''?>placeILLRequest" data-lightbox href="<?=$this->recordLink()->getRequestUrl($row['ILLRequestLink'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($checkILLRequest ? "ill_request_check_text" : "ill_request_place_text")?></a>
|
||||
<? endif; ?>
|
||||
<? else: ?>
|
||||
<? /* Begin Unavailable Items (Recalls) */ ?>
|
||||
<? // RKE start: check if enmuchron is set ?>
|
||||
<? if (isset($row['enumchron']) && $row['enumchron']): ?>
|
||||
<?=$row['enumchron'] .": "?>
|
||||
<? endif;?>
|
||||
<? // RKE end ?>
|
||||
<span class="text-danger"><?=$this->transEsc($row['status'])?><link property="availability" href="http://schema.org/OutOfStock" /></span>
|
||||
<? if (isset($row['returnDate']) && $row['returnDate']): ?>– <span class="small"><?=$this->escapeHtml($row['returnDate'])?></span><? endif; ?>
|
||||
<? if (isset($row['duedate']) && $row['duedate']): ?>
|
||||
– <span class="small"><?=$this->transEsc("Due")?>: <?=$this->escapeHtml($row['duedate'])?></span>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['requests_placed']) && $row['requests_placed'] > 0): ?>
|
||||
<span><?=$this->transEsc("Requests")?>: <?=$this->escapeHtml($row['requests_placed'])?></span>
|
||||
<? endif; ?>
|
||||
<? if ($row['reserve'] != "X"): ?>
|
||||
<? if (!$block && isset($row['link']) && $row['link']): ?>
|
||||
<a class="<?=$check ? 'checkRequest' : ''?> placehold" <? if (!empty($row['linkLightbox'])): ?>data-lightbox <? endif; ?>href="<?=$this->recordLink()->getRequestUrl($row['link'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($check ? "Check Recall" : "Recall This")?></a>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['item_notes'])): ?>
|
||||
<div class="item-notes">
|
||||
<b><?=$this->transEsc("Item Notes")?>:</b>
|
||||
<ul>
|
||||
<? foreach ($row['item_notes'] as $item_note): ?>
|
||||
<li><?=$this->escapeHtml($item_note) ?></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? /* Embed item structured data: library, barcode, call number */ ?>
|
||||
<? if ($row['location']): ?>
|
||||
<meta property="seller" content="<?=$this->escapeHtmlAttr($row['location'])?>" />
|
||||
<? endif; ?>
|
||||
<? if ($row['barcode']): ?>
|
||||
<meta property="serialNumber" content="<?=$this->escapeHtmlAttr($row['barcode'])?>" />
|
||||
<? endif; ?>
|
||||
<? if ($row['callnumber']): ?>
|
||||
<meta property="sku" content="<?=$this->escapeHtmlAttr($row['callnumber'])?>" />
|
||||
<? endif; ?>
|
||||
<? /* Declare that the item is to be borrowed, not for sale */ ?>
|
||||
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut" />
|
||||
<link property="itemOffered" href="#record" />
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<? endforeach; ?>
|
||||
<? if (!empty($holding['purchase_history'])): ?>
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Most Recent Received Issues")?>:</th>
|
||||
<td>
|
||||
<? foreach ($holding['purchase_history'] as $current): ?>
|
||||
<?=$this->escapeHtml($current['issue'])?><br/>
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
</table>
|
||||
<? endforeach; ?>
|
||||
|
||||
<? $history = $this->driver->getRealTimeHistory(); ?>
|
||||
<? if (is_array($history) && !empty($history)): ?>
|
||||
<h3><?=$this->transEsc("Most Recent Received Issues")?></h3>
|
||||
<table class="table table-striped">
|
||||
<? foreach ($history as $row): ?>
|
||||
<tr><td><?=$this->escapeHtml($row['issue'])?></td></tr>
|
||||
<? endforeach; ?>
|
||||
</table>
|
||||
<? endif; ?>
|
||||
@ -1,286 +0,0 @@
|
||||
<?
|
||||
// Set up convenience variables:
|
||||
$account = $this->auth()->getManager();
|
||||
$user = $account->isLoggedIn();
|
||||
$openUrl = $this->openUrl($this->driver, 'holdings');
|
||||
$openUrlActive = $openUrl->isActive();
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->record($this->driver)->getLinkDetails($openUrlActive);
|
||||
$data = $this->driver->getRawData();
|
||||
$title = $this->driver->getMainTitle() ;
|
||||
$u = array();
|
||||
if (isset ($data['voevzlink'])) {
|
||||
$u[] = array('url' => $data['voevzlink'][0], 'desc' => "Volltext");
|
||||
}
|
||||
|
||||
foreach ($urls as $current) {
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/handle", strlen("https://bibb-dspace.bibb.de/handle")) == 0) continue;
|
||||
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/jspui/handle", strlen("https://bibb-dspace.bibb.de/jspui/handle")) == 0) continue;
|
||||
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/rest/bitstreams", strlen("https://bibb-dspace.bibb.de/rest/bitstreams")) == 0) {
|
||||
if (isset ($data['voevzlink'])) continue;
|
||||
if (($start = strrpos($current['url'], "(")) !== false) {
|
||||
$u[] = array('url' => trim(substr($current['url'],0, $start -1)), 'desc' => substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) );
|
||||
// $u[] = array('url' => $current['url'], 'desc' => substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) );
|
||||
} else {
|
||||
$u[] = array('url' => $current['url'], 'desc' => "Volltext");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp($current['url'],"www.bibb.de/", strlen("www.bibb.de/")) == 0) {
|
||||
$u[] = array('url' => "https://" .$current['url'], 'desc' => "Volltext");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp($current['url'],"urn:nbn:de:", strlen("urn:nbn:de:")) == 0) {
|
||||
// $u[] = array('url' => 'https://nbn-resolving.org/' .urlencode($current['url']),
|
||||
// 'desc' => "URN");
|
||||
continue;
|
||||
}
|
||||
if (strncmp(strtolower($current['url']),"doi:", strlen("doi:")) == 0) {
|
||||
// if (($start = strrpos($current['url'], "(")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// if (($start = strrpos($current['url'], "[")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// $u[] = array('url' => "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("doi:")))),
|
||||
// 'desc' => "DOI" );
|
||||
continue;
|
||||
}
|
||||
|
||||
if(strncmp(strtolower($current['url']),"http://dx.doi.org/", strlen("http://dx.doi.org/")) == 0){
|
||||
// if (($start = strrpos($current['url'], "(")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// if (($start = strrpos($current['url'], "[")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// $u[] = array('url' => "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("http://dx.doi.org/")))),
|
||||
// 'desc' => "DOI");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (($start = strrpos($current['url'], "(")) !== false) {
|
||||
$u[] = array('desc' => substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) ,
|
||||
'url' => trim(substr($current['url'],0, $start)));
|
||||
continue;
|
||||
}
|
||||
if (($start = strrpos($current['url'], "[")) !== false) {
|
||||
$u[] = array('desc' => substr($current['url'],$start+1, strrpos($current['url'],"])") - $start -1) ,
|
||||
'url' => trim(substr($current['url'],0, $start)));
|
||||
continue;
|
||||
}
|
||||
if (strncmp($current['url'],"http://dispatch.opac.d-nb.de/", strlen("http://dispatch.opac.d-nb.de/")) == 0) {
|
||||
$u[] =array('url' => $current['url'] = "https://zdb-katalog.de/list.xhtml?t=" .urlencode("\"" .$title ."\"") ."&key=tit",
|
||||
'desc' => $current['desc'] = "\"" .$title ."\" in der ZDB");
|
||||
continue;
|
||||
}
|
||||
|
||||
// RKE: Änderung wegen Datenbankzugang zu EBSCO
|
||||
$LoginRequired = false ;
|
||||
if (strncmp($current['url'],"https://search.ebscohost.com/login.aspx", strlen("https://search.ebscohost.com/login.aspx")) == 0) {
|
||||
$u[] = array('url' => trim($this->proxyUrl($current['url'])),
|
||||
'desc' => $current['desc']) ;
|
||||
$LoginRequired = true ;
|
||||
continue;
|
||||
}
|
||||
// RKE: Änderung wegen Datenbankzugang zu EBSCO
|
||||
|
||||
$u[] = array('url' => $current['url'] ,
|
||||
'desc' => $current['desc']);
|
||||
|
||||
}
|
||||
$urls = $u;
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
try {
|
||||
$holdings = $this->driver->getRealTimeHoldings();
|
||||
} catch (\VuFind\Exception\ILS $e) {
|
||||
$holdings = ['holdings' => []];
|
||||
$offlineMode = 'ils-offline';
|
||||
}
|
||||
// Set page title.
|
||||
$this->headTitle($this->translate('Holdings') . ': ' . $this->driver->getBreadcrumb());
|
||||
?>
|
||||
|
||||
<?=$this->context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->auth()->isLoggedIn()]); ?>
|
||||
|
||||
<? if (!empty($holdings['blocks'])):?>
|
||||
<div id="account-block-msg" class="alert alert-danger">
|
||||
<?=$this->transEsc('account_block_options_missing', ['%%details%%' => implode('; ', $holdings['blocks'])]) ?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
|
||||
<?=($offlineMode == "ils-offline") ? $this->render('Helpers/ils-offline.phtml', ['offlineModeMsg' => 'ils_offline_holdings_message']) : ''?>
|
||||
<? if (($this->ils()->getHoldsMode() == 'driver' && !empty($holdings['holdings'])) || $this->ils()->getTitleHoldsMode() == 'driver'): ?>
|
||||
<? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?>
|
||||
<? if (!$user): ?>
|
||||
<div class="alert alert-info">
|
||||
<a href="<?=$this->recordLink()->getTabUrl($this->driver, 'Holdings')?>?login=true&catalogLogin=true" data-lightbox><?=$this->transEsc("hold_login")?></a>
|
||||
</div>
|
||||
<? elseif (!$user->cat_username): ?>
|
||||
<div class="alert alert-info">
|
||||
<?=$this->translate("hold_profile_html", ['%%url%%' => $this->recordLink()->getTabUrl($this->driver, 'Holdings') . '?catalogLogin=true'])?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? $holdingTitleHold = $this->driver->tryMethod('getRealTimeTitleHold'); if (!empty($holdingTitleHold)): ?>
|
||||
<a class="placehold" data-lightbox title="<?=$this->transEsc('request_place_text')?>" href="<?=$this->recordLink()->getRequestUrl($holdingTitleHold)?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc('title_hold_place')?></a>
|
||||
<? endif; ?>
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
<h3><?=$this->transEsc("Internet")?></h3>
|
||||
<? if (!empty($urls)): ?>
|
||||
<? foreach ($urls as $current): ?>
|
||||
<? // RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
|
||||
<? if (($LoginRequired == true) && ! $account->isLoggedIn()) : ?>
|
||||
<?=$this->escapeHtml($current['desc'])?></a>
|
||||
<? endif; ?>
|
||||
<? // ENDE RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? if ($openUrlActive): ?><?=$openUrl->renderTemplate()?><? endif; ?>
|
||||
<? endif; ?>
|
||||
<? foreach ($holdings['holdings'] as $holding): ?>
|
||||
<h3>
|
||||
<? $locationText = $this->transEsc('location_' . $holding['location'], [], $holding['location']); ?>
|
||||
<? // RKE: Ergänzung wegen eBooks: Darstellung des Status aus Koha ?>
|
||||
<? $eBook = false; if (strcmp(strtolower($holding['location']), 'ebook') == 0) $eBook = true ; ?>
|
||||
|
||||
<? if (isset($holding['locationhref']) && $holding['locationhref']): ?>
|
||||
<a href="<?=$holding['locationhref']?>" target="_blank"><?=$locationText?></a>
|
||||
<? else: ?>
|
||||
<?=$locationText?>
|
||||
<? endif; ?>
|
||||
</h3>
|
||||
<table class="table table-striped" summary="<?=$this->transEsc('holdings_details_from', ['%%location%%' => $this->transEsc($holding['location'])]) ?>">
|
||||
<? $callNos = $this->tab->getUniqueCallNumbers($holding['items']); if (!empty($callNos)): ?>
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Call Number")?>: </th>
|
||||
<td width="50%">
|
||||
<? foreach ($callNos as $callNo): ?>
|
||||
<? if ($this->callnumberHandler): ?>
|
||||
<a href="<?=$this->url('alphabrowse-home') ?>?source=<?=$this->escapeHtmlAttr($this->callnumberHandler) ?>&from=<?=$this->escapeHtmlAttr($callNo) ?>"><?=$this->escapeHtml($callNo)?></a>
|
||||
<? else: ?>
|
||||
<?=$this->escapeHtml($callNo)?>
|
||||
<? endif; ?>
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<? if (isset($holding['textfields'])): foreach ($holding['textfields'] as $textFieldName => $textFields): ?>
|
||||
<? //RKE: Mantis 187 ?>
|
||||
<? if (strcmp($textFieldname == "holdings_notes") == 0) continue; ?>
|
||||
<? //RKE: ENDE Mantis 187 ?>
|
||||
<tr>
|
||||
<? // Translation for summary is a special case for backwards-compatibility ?>
|
||||
<th><?=$textFieldName == 'summary' ? $this->transEsc("Volume Holdings") : $this->transEsc(ucfirst($textFieldName))?>:</th>
|
||||
<td>
|
||||
<? foreach ($textFields as $current): ?>
|
||||
<?=$this->escapeHtml($current)?><br/>
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endforeach; endif; ?>
|
||||
<? foreach ($holding['items'] as $row): ?>
|
||||
<? // AJAX Check record?
|
||||
$check = isset($row['check']) && $row['check'];
|
||||
$checkStorageRetrievalRequest = isset($row['checkStorageRetrievalRequest']) && $row['checkStorageRetrievalRequest'];
|
||||
$checkILLRequest = isset($row['checkILLRequest']) && $row['checkILLRequest'];
|
||||
?>
|
||||
<? if (isset($row['barcode']) && $row['barcode'] != "") : ?>
|
||||
<tr vocab="http://schema.org/" typeof="Offer">
|
||||
<th><?=$this->transEsc("Copy")?> <?=$this->escapeHtml($row['number'])?></th>
|
||||
<td>
|
||||
<? if (!$eBook && $row['reserve'] == "Y"): ?>
|
||||
<link property="availability" href="http://schema.org/InStoreOnly" />
|
||||
<?=$this->transEsc("On Reserve - Ask at Circulation Desk")?><br />
|
||||
<? endif; ?>
|
||||
<? if (isset($row['use_unknown_message']) && $row['use_unknown_message']): ?>
|
||||
<span class="text-muted"><?=$this->transEsc("status_unknown_message")?></span>
|
||||
<? else: ?>
|
||||
<? if (!$eBook && $row['availability']): ?>
|
||||
<? /* Begin Available Items (Holds) */ ?>
|
||||
|
||||
<? if (!$eBook && isset($row['enumchron']) && $row['enumchron']): ?>
|
||||
<?=$row['enumchron'] .": "?>
|
||||
<? endif;?>
|
||||
|
||||
<span class="text-success"><?=$this->transEsc("Available")?><link property="availability" href="http://schema.org/InStock" /></span>
|
||||
<? if (isset($row['link']) && $row['link']): ?>
|
||||
<a class="<?=$check ? 'checkRequest ' : ''?>placehold" <? if (!empty($row['linkLightbox'])): ?>data-lightbox <? endif; ?>href="<?=$this->recordLink()->getRequestUrl($row['link'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($check ? "Check Hold" : "Place a Hold")?></a>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['storageRetrievalRequestLink']) && $row['storageRetrievalRequestLink']): ?>
|
||||
<a class="<?=$checkStorageRetrievalRequest ? 'checkStorageRetrievalRequest ' : ''?> placeStorageRetrievalRequest" data-lightbox href="<?=$this->recordLink()->getRequestUrl($row['storageRetrievalRequestLink'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($checkStorageRetrievalRequest ? "storage_retrieval_request_check_text" : "storage_retrieval_request_place_text")?></a>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['ILLRequestLink']) && $row['ILLRequestLink']): ?>
|
||||
<a class="<?=$checkILLRequest ? 'checkILLRequest ' : ''?>placeILLRequest" data-lightbox href="<?=$this->recordLink()->getRequestUrl($row['ILLRequestLink'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($checkILLRequest ? "ill_request_check_text" : "ill_request_place_text")?></a>
|
||||
<? endif; ?>
|
||||
<? else: ?>
|
||||
<? /* Begin Unavailable Items (Recalls) */ ?>
|
||||
<? // RKE start: check if enmuchron is set ?>
|
||||
<? if (isset($row['enumchron']) && $row['enumchron']): ?>
|
||||
<?=$row['enumchron'] .": "?>
|
||||
<? endif;?>
|
||||
<? // RKE end ?>
|
||||
<? if (!$eBook) : ?>
|
||||
<span class="text-danger"><?=$this->transEsc($row['status'])?><link property="availability" href="http://schema.org/OutOfStock" /></span>
|
||||
<? if (isset($row['returnDate']) && $row['returnDate']): ?>– <span class="small"><?=$this->escapeHtml($row['returnDate'])?></span><? endif; ?>
|
||||
<? if (isset($row['duedate']) && $row['duedate']): ?>
|
||||
– <span class="small"><?=$this->transEsc("Due")?>: <?=$this->escapeHtml($row['duedate'])?></span>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['requests_placed']) && $row['requests_placed'] > 0): ?>
|
||||
<span><?=$this->transEsc("Requests")?>: <?=$this->escapeHtml($row['requests_placed'])?></span>
|
||||
<? endif; ?>
|
||||
<? if ($row['reserve'] != "X"): ?>
|
||||
<? if (!$block && isset($row['link']) && $row['link']): ?>
|
||||
<a class="<?=$check ? 'checkRequest' : ''?> placehold" <? if (!empty($row['linkLightbox'])): ?>data-lightbox <? endif; ?>href="<?=$this->recordLink()->getRequestUrl($row['link'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($check ? "Check Recall" : "Recall This")?></a>
|
||||
<? endif; ?>
|
||||
<? endif ; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['item_notes'])): ?>
|
||||
<div class="item-notes">
|
||||
<b><?=$this->transEsc("Item Notes")?>:</b>
|
||||
<ul>
|
||||
<? foreach ($row['item_notes'] as $item_note): ?>
|
||||
<li><?=$this->escapeHtml($item_note) ?></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? /* Embed item structured data: library, barcode, call number */ ?>
|
||||
<? if ($row['location']): ?>
|
||||
<meta property="seller" content="<?=$this->escapeHtmlAttr($row['location'])?>" />
|
||||
<? endif; ?>
|
||||
<? if ($row['barcode']): ?>
|
||||
<meta property="serialNumber" content="<?=$this->escapeHtmlAttr($row['barcode'])?>" />
|
||||
<? endif; ?>
|
||||
<? if ($row['callnumber']): ?>
|
||||
<meta property="sku" content="<?=$this->escapeHtmlAttr($row['callnumber'])?>" />
|
||||
<? endif; ?>
|
||||
<? /* Declare that the item is to be borrowed, not for sale */ ?>
|
||||
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut" />
|
||||
<link property="itemOffered" href="#record" />
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<? endforeach; ?>
|
||||
<? if (!empty($holding['purchase_history'])): ?>
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Most Recent Received Issues")?>:</th>
|
||||
<td>
|
||||
<? foreach ($holding['purchase_history'] as $current): ?>
|
||||
<?=$this->escapeHtml($current['issue'])?><br/>
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
</table>
|
||||
<? endforeach; ?>
|
||||
|
||||
<? $history = $this->driver->getRealTimeHistory(); ?>
|
||||
<? if (is_array($history) && !empty($history)): ?>
|
||||
<h3><?=$this->transEsc("Most Recent Received Issues")?></h3>
|
||||
<table class="table table-striped">
|
||||
<? foreach ($history as $row): ?>
|
||||
<tr><td><?=$this->escapeHtml($row['issue'])?></td></tr>
|
||||
<? endforeach; ?>
|
||||
</table>
|
||||
<? endif; ?>
|
||||
@ -1,288 +0,0 @@
|
||||
<?
|
||||
// Set up convenience variables:
|
||||
$account = $this->auth()->getManager();
|
||||
$user = $account->isLoggedIn();
|
||||
$openUrl = $this->openUrl($this->driver, 'holdings');
|
||||
$openUrlActive = $openUrl->isActive();
|
||||
// Account for replace_other_urls setting
|
||||
$urls = $this->record($this->driver)->getLinkDetails($openUrlActive);
|
||||
$data = $this->driver->getRawData();
|
||||
$title = $this->driver->getMainTitle() ;
|
||||
$u = array();
|
||||
if (isset ($data['voevzlink'])) {
|
||||
$u[] = array('url' => $data['voevzlink'][0], 'desc' => "Volltext");
|
||||
}
|
||||
|
||||
foreach ($urls as $current) {
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/handle", strlen("https://bibb-dspace.bibb.de/handle")) == 0) continue;
|
||||
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/jspui/handle", strlen("https://bibb-dspace.bibb.de/jspui/handle")) == 0) continue;
|
||||
|
||||
if (strncmp($current['url'],"https://bibb-dspace.bibb.de/rest/bitstreams", strlen("https://bibb-dspace.bibb.de/rest/bitstreams")) == 0) {
|
||||
if (isset ($data['voevzlink'])) continue;
|
||||
if (($start = strrpos($current['url'], "(")) !== false) {
|
||||
$u[] = array('url' => $current['url'], 'desc' => substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) );
|
||||
} else {
|
||||
$u[] = array('url' => $current['url'], 'desc' => "Volltext");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp($current['url'],"www.bibb.de/", strlen("www.bibb.de/")) == 0) {
|
||||
$u[] = array('url' => "https://" .$current['url'], 'desc' => "Volltext");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp($current['url'],"urn:nbn:de:", strlen("urn:nbn:de:")) == 0) {
|
||||
// $u[] = array('url' => 'https://nbn-resolving.org/' .urlencode($current['url']),
|
||||
// 'desc' => "URN");
|
||||
continue;
|
||||
}
|
||||
if (strncmp(strtolower($current['url']),"doi:", strlen("doi:")) == 0) {
|
||||
// if (($start = strrpos($current['url'], "(")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// if (($start = strrpos($current['url'], "[")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// $u[] = array('url' => "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("doi:")))),
|
||||
// 'desc' => "DOI" );
|
||||
continue;
|
||||
}
|
||||
|
||||
if(strncmp(strtolower($current['url']),"http://dx.doi.org/", strlen("http://dx.doi.org/")) == 0){
|
||||
// if (($start = strrpos($current['url'], "(")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// if (($start = strrpos($current['url'], "[")) !== false) $current['url'] = trim(substr($current['url'],0, $start));
|
||||
// $u[] = array('url' => "https://doi.org/" .urlencode(trim(substr($current['url'], strlen("http://dx.doi.org/")))),
|
||||
// 'desc' => "DOI");
|
||||
continue;
|
||||
}
|
||||
|
||||
if (($start = strrpos($current['url'], "(")) !== false) {
|
||||
$u[] = array('desc' => substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) ,
|
||||
'url' => trim(substr($current['url'],0, $start)));
|
||||
continue;
|
||||
}
|
||||
if (($start = strrpos($current['url'], "[")) !== false) {
|
||||
$u[] = array('desc' => substr($current['url'],$start+1, strrpos($current['url'],"])") - $start -1) ,
|
||||
'url' => trim(substr($current['url'],0, $start)));
|
||||
continue;
|
||||
}
|
||||
if (strncmp($current['url'],"http://dispatch.opac.d-nb.de/", strlen("http://dispatch.opac.d-nb.de/")) == 0) {
|
||||
$u[] =array('url' => $current['url'] = "https://zdb-katalog.de/list.xhtml?t=" .urlencode("\"" .$title ."\"") ."&key=tit",
|
||||
'desc' => $current['desc'] = "\"" .$title ."\" in der ZDB");
|
||||
continue;
|
||||
}
|
||||
|
||||
// RKE: Änderung wegen Datenbankzugang zu EBSCO
|
||||
$LoginRequired = false ;
|
||||
if (strncmp($current['url'],"https://search.ebscohost.com/login.aspx", strlen("https://search.ebscohost.com/login.aspx")) == 0) {
|
||||
$u[] = array('url' => trim($this->proxyUrl($current['url'])),
|
||||
'desc' => $current['desc']) ;
|
||||
$LoginRequired = true ;
|
||||
continue;
|
||||
}
|
||||
// RKE: Änderung wegen Datenbankzugang zu EBSCO
|
||||
|
||||
$u[] = array('url' => $current['url'] ,
|
||||
'desc' => $current['desc']);
|
||||
|
||||
}
|
||||
$urls = $u;
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
try {
|
||||
$holdings = $this->driver->getRealTimeHoldings();
|
||||
} catch (\VuFind\Exception\ILS $e) {
|
||||
$holdings = ['holdings' => []];
|
||||
$offlineMode = 'ils-offline';
|
||||
}
|
||||
// Set page title.
|
||||
$this->headTitle($this->translate('Holdings') . ': ' . $this->driver->getBreadcrumb());
|
||||
?>
|
||||
|
||||
<?=$this->context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->auth()->isLoggedIn()]); ?>
|
||||
|
||||
<? if (!empty($holdings['blocks'])):?>
|
||||
<div id="account-block-msg" class="alert alert-danger">
|
||||
<?=$this->transEsc('account_block_options_missing', ['%%details%%' => implode('; ', $holdings['blocks'])]) ?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
|
||||
<?=($offlineMode == "ils-offline") ? $this->render('Helpers/ils-offline.phtml', ['offlineModeMsg' => 'ils_offline_holdings_message']) : ''?>
|
||||
<? if (($this->ils()->getHoldsMode() == 'driver' && !empty($holdings['holdings'])) || $this->ils()->getTitleHoldsMode() == 'driver'): ?>
|
||||
<? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?>
|
||||
<? if (!$user): ?>
|
||||
<div class="alert alert-info">
|
||||
<a href="<?=$this->recordLink()->getTabUrl($this->driver, 'Holdings')?>?login=true&catalogLogin=true" data-lightbox><?=$this->transEsc("hold_login")?></a>
|
||||
</div>
|
||||
<? elseif (!$user->cat_username): ?>
|
||||
<div class="alert alert-info">
|
||||
<?=$this->translate("hold_profile_html", ['%%url%%' => $this->recordLink()->getTabUrl($this->driver, 'Holdings') . '?catalogLogin=true'])?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? $holdingTitleHold = $this->driver->tryMethod('getRealTimeTitleHold'); if (!empty($holdingTitleHold)): ?>
|
||||
<a class="placehold" data-lightbox title="<?=$this->transEsc('request_place_text')?>" href="<?=$this->recordLink()->getRequestUrl($holdingTitleHold)?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc('title_hold_place')?></a>
|
||||
<? endif; ?>
|
||||
<? if (!empty($urls) || $openUrlActive): ?>
|
||||
<h3><?=$this->transEsc("Internet")?></h3>
|
||||
<? if (!empty($urls)): ?>
|
||||
<? foreach ($urls as $current): ?>
|
||||
<? // RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
|
||||
<? if (($LoginRequired == true) && ! $account->isLoggedIn()) : ?>
|
||||
<?=$this->escapeHtml($current['desc'])?>
|
||||
<? else: ?>
|
||||
<a href="<?=$this->escapeHtmlAttr(trim($this->proxyUrl($current['url'])))?>" .' target="_blank"'><?=$this->escapeHtml($current['desc'])?></a>
|
||||
<? endif; ?>
|
||||
<? // ENDE RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
|
||||
<? endforeach; ?>
|
||||
<? endif; ?>
|
||||
<? if ($openUrlActive): ?><?=$openUrl->renderTemplate()?><? endif; ?>
|
||||
<? endif; ?>
|
||||
<? foreach ($holdings['holdings'] as $holding): ?>
|
||||
<h3>
|
||||
<? $locationText = $this->transEsc('location_' . $holding['location'], [], $holding['location']); ?>
|
||||
<? // RKE: Ergänzung wegen eBooks: Darstellung des Status aus Koha ?>
|
||||
<? $eBook = strcmp(strtolower($holding['location']), 'ebook') ? true : false ; ?>
|
||||
|
||||
<? if (isset($holding['locationhref']) && $holding['locationhref']): ?>
|
||||
<a href="<?=$holding['locationhref']?>" target="_blank"><?=$locationText?></a>
|
||||
<? else: ?>
|
||||
<?=$locationText?>
|
||||
<? endif; ?>
|
||||
</h3>
|
||||
<table class="table table-striped" summary="<?=$this->transEsc('holdings_details_from', ['%%location%%' => $this->transEsc($holding['location'])]) ?>">
|
||||
<? $callNos = $this->tab->getUniqueCallNumbers($holding['items']); if (!empty($callNos)): ?>
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Call Number")?>: </th>
|
||||
<td width="50%">
|
||||
<? foreach ($callNos as $callNo): ?>
|
||||
<? if ($this->callnumberHandler): ?>
|
||||
<a href="<?=$this->url('alphabrowse-home') ?>?source=<?=$this->escapeHtmlAttr($this->callnumberHandler) ?>&from=<?=$this->escapeHtmlAttr($callNo) ?>"><?=$this->escapeHtml($callNo)?></a>
|
||||
<? else: ?>
|
||||
<?=$this->escapeHtml($callNo)?>
|
||||
<? endif; ?>
|
||||
<br />
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<? if (isset($holding['textfields'])): foreach ($holding['textfields'] as $textFieldName => $textFields): ?>
|
||||
<? //RKE: Mantis 187 ?>
|
||||
<? if (strcmp($textFieldname == "holdings_notes") == 0) continue; ?>
|
||||
<? //RKE: ENDE Mantis 187 ?>
|
||||
<tr>
|
||||
<? // Translation for summary is a special case for backwards-compatibility ?>
|
||||
<th><?=$textFieldName == 'summary' ? $this->transEsc("Volume Holdings") : $this->transEsc(ucfirst($textFieldName))?>:</th>
|
||||
<td>
|
||||
<? foreach ($textFields as $current): ?>
|
||||
<?=$this->escapeHtml($current)?><br/>
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endforeach; endif; ?>
|
||||
<? foreach ($holding['items'] as $row): ?>
|
||||
<?
|
||||
// AJAX Check record?
|
||||
$check = isset($row['check']) && $row['check'];
|
||||
$checkStorageRetrievalRequest = isset($row['checkStorageRetrievalRequest']) && $row['checkStorageRetrievalRequest'];
|
||||
$checkILLRequest = isset($row['checkILLRequest']) && $row['checkILLRequest'];
|
||||
?>
|
||||
<? if (isset($row['barcode']) && $row['barcode'] != "") : ?>
|
||||
<tr vocab="http://schema.org/" typeof="Offer">
|
||||
<th><?=$this->transEsc("Copy")?> <?=$this->escapeHtml($row['number'])?></th>
|
||||
<td>
|
||||
<? if (!$eBook && $row['reserve'] == "Y"): ?>
|
||||
<link property="availability" href="http://schema.org/InStoreOnly" />
|
||||
<?=$this->transEsc("On Reserve - Ask at Circulation Desk")?><br />
|
||||
<? endif; ?>
|
||||
<? if (isset($row['use_unknown_message']) && $row['use_unknown_message']): ?>
|
||||
<span class="text-muted"><?=$this->transEsc("status_unknown_message")?></span>
|
||||
<? else: ?>
|
||||
<? if (!$eBook && $row['availability']): ?>
|
||||
<? /* Begin Available Items (Holds) */ ?>
|
||||
|
||||
<? if (!$eBook && isset($row['enumchron']) && $row['enumchron']): ?>
|
||||
<?=$row['enumchron'] .": "?>
|
||||
<? endif;?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (!$eBook) : ?>
|
||||
<span class="text-success"><?=$this->transEsc("Available")?><link property="availability" href="http://schema.org/InStock" /></span>
|
||||
<? if (isset($row['link']) && $row['link']): ?>
|
||||
<a class="<?=$check ? 'checkRequest ' : ''?>placehold" <? if (!empty($row['linkLightbox'])): ?>data-lightbox <? endif; ?>href="<?=$this->recordLink()->getRequestUrl($row['link'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($check ? "Check Hold" : "Place a Hold")?></a>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['storageRetrievalRequestLink']) && $row['storageRetrievalRequestLink']): ?>
|
||||
<a class="<?=$checkStorageRetrievalRequest ? 'checkStorageRetrievalRequest ' : ''?> placeStorageRetrievalRequest" data-lightbox href="<?=$this->recordLink()->getRequestUrl($row['storageRetrievalRequestLink'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($checkStorageRetrievalRequest ? "storage_retrieval_request_check_text" : "storage_retrieval_request_place_text")?></a>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['ILLRequestLink']) && $row['ILLRequestLink']): ?>
|
||||
<a class="<?=$checkILLRequest ? 'checkILLRequest ' : ''?>placeILLRequest" data-lightbox href="<?=$this->recordLink()->getRequestUrl($row['ILLRequestLink'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($checkILLRequest ? "ill_request_check_text" : "ill_request_place_text")?></a>
|
||||
<? endif; ?>
|
||||
<? else: ?>
|
||||
<? /* Begin Unavailable Items (Recalls) */ ?>
|
||||
<? // RKE start: check if enmuchron is set ?>
|
||||
<? if (isset($row['enumchron']) && $row['enumchron']): ?>
|
||||
<?=$row['enumchron'] .": "?>
|
||||
<? endif;?>
|
||||
<? // RKE end ?>
|
||||
<span class="text-danger"><?=$this->transEsc($row['status'])?><link property="availability" href="http://schema.org/OutOfStock" /></span>
|
||||
<? if (isset($row['returnDate']) && $row['returnDate']): ?>– <span class="small"><?=$this->escapeHtml($row['returnDate'])?></span><? endif; ?>
|
||||
<? if (isset($row['duedate']) && $row['duedate']): ?>
|
||||
– <span class="small"><?=$this->transEsc("Due")?>: <?=$this->escapeHtml($row['duedate'])?></span>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['requests_placed']) && $row['requests_placed'] > 0): ?>
|
||||
<span><?=$this->transEsc("Requests")?>: <?=$this->escapeHtml($row['requests_placed'])?></span>
|
||||
<? endif; ?>
|
||||
<? if ($row['reserve'] != "X"): ?>
|
||||
<? if (!$block && isset($row['link']) && $row['link']): ?>
|
||||
<a class="<?=$check ? 'checkRequest' : ''?> placehold" <? if (!empty($row['linkLightbox'])): ?>data-lightbox <? endif; ?>href="<?=$this->recordLink()->getRequestUrl($row['link'])?>"><i class="fa fa-flag" aria-hidden="true"></i> <?=$this->transEsc($check ? "Check Recall" : "Recall This")?></a>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? if (isset($row['item_notes'])): ?>
|
||||
<div class="item-notes">
|
||||
<b><?=$this->transEsc("Item Notes")?>:</b>
|
||||
<ul>
|
||||
<? foreach ($row['item_notes'] as $item_note): ?>
|
||||
<li><?=$this->escapeHtml($item_note) ?></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? /* Embed item structured data: library, barcode, call number */ ?>
|
||||
<? if ($row['location']): ?>
|
||||
<meta property="seller" content="<?=$this->escapeHtmlAttr($row['location'])?>" />
|
||||
<? endif; ?>
|
||||
<? if ($row['barcode']): ?>
|
||||
<meta property="serialNumber" content="<?=$this->escapeHtmlAttr($row['barcode'])?>" />
|
||||
<? endif; ?>
|
||||
<? if ($row['callnumber']): ?>
|
||||
<meta property="sku" content="<?=$this->escapeHtmlAttr($row['callnumber'])?>" />
|
||||
<? endif; ?>
|
||||
<? /* Declare that the item is to be borrowed, not for sale */ ?>
|
||||
<link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut" />
|
||||
<link property="itemOffered" href="#record" />
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
<? endforeach; ?>
|
||||
<? if (!empty($holding['purchase_history'])): ?>
|
||||
<tr>
|
||||
<th><?=$this->transEsc("Most Recent Received Issues")?>:</th>
|
||||
<td>
|
||||
<? foreach ($holding['purchase_history'] as $current): ?>
|
||||
<?=$this->escapeHtml($current['issue'])?><br/>
|
||||
<? endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<? endif; ?>
|
||||
</table>
|
||||
<? endforeach; ?>
|
||||
|
||||
<? $history = $this->driver->getRealTimeHistory(); ?>
|
||||
<? if (is_array($history) && !empty($history)): ?>
|
||||
<h3><?=$this->transEsc("Most Recent Received Issues")?></h3>
|
||||
<table class="table table-striped">
|
||||
<? foreach ($history as $row): ?>
|
||||
<tr><td><?=$this->escapeHtml($row['issue'])?></td></tr>
|
||||
<? endforeach; ?>
|
||||
</table>
|
||||
<? endif; ?>
|
||||
@ -1,88 +0,0 @@
|
||||
<?
|
||||
// Set page title.
|
||||
$this->headTitle($this->translate('Search Home'));
|
||||
|
||||
// Disable top search box -- this page has a special layout.
|
||||
$this->layout()->searchbox = false;
|
||||
|
||||
// Set default value if necessary:
|
||||
if (!isset($this->searchClassId)) {
|
||||
$this->searchClassId = 'SolrAuth';
|
||||
}
|
||||
|
||||
// Load search actions and settings (if any):
|
||||
$options = $this->searchOptions($this->searchClassId);
|
||||
$basicSearch = $options->getSearchAction();
|
||||
$advSearch = $options->getAdvancedSearchAction();
|
||||
|
||||
$this->layout()->breadcrumbs = false;
|
||||
?>
|
||||
<!-- <div class="container" style="background:transparent;background-color:white;min-height:40px"> </div>
|
||||
<div class="hero-container">
|
||||
<div class="blue-layer clear">
|
||||
<div class="container">
|
||||
<div class="col-sm-5 col-md-5 col-lg-5" >
|
||||
<h3 style=""><?//=$this->transEsc("MainHeadLine")?></h3>
|
||||
</div>
|
||||
<div class="col-sm-1 col-md-1 col-lg-1" >
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-6 col-lg-6" >
|
||||
<p ><?//=$this->transEsc("MainHeaderText")?></p><br>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div class="searchHomeContent">
|
||||
<?
|
||||
$ilsStatusScript = <<<JS
|
||||
$(document).ready(function() {
|
||||
$.ajax({
|
||||
dataType: 'json',
|
||||
method: 'GET',
|
||||
data: {'offlineModeMsg':'ils_offline_home_message'},
|
||||
url: VuFind.path + '/AJAX/JSON?method=getIlsStatus',
|
||||
success: function(response) {
|
||||
$('.searchHomeContent').prepend(response.data);
|
||||
}
|
||||
});
|
||||
});
|
||||
JS;
|
||||
?>
|
||||
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $ilsStatusScript, 'SET'); ?>
|
||||
|
||||
<?=$this->context($this)->renderInContext("search/searchboxAuthorities.phtml", ['ignoreHiddenFilterMemory' => true])?>
|
||||
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, '$("#searchForm_lookfor").focus();', 'SET'); ?>
|
||||
</div>
|
||||
|
||||
<div class="mainbody left">
|
||||
<h4><?=$this->transEsc("AuthorityMainDescriptionHeadline")?></h4>
|
||||
<p><?=$this->transEsc("AuthorityMainDescriptionTop")?></p><br>
|
||||
<ul>
|
||||
<li style="list-style-type:disc; margin-left:20px;"><?=$this->translate("AuthorityMainDescriptionVETRepository")?></li>
|
||||
<br>
|
||||
<li style="list-style-type:disc; margin-left:20px;" ><?=$this->translate("AuthorityMainDescriptionLibrary")?></li>
|
||||
</ul>
|
||||
<br />
|
||||
<p style="margin-bottom:20px;"><?=$this->transEsc("AuthorityMainDescriptionBottomText")?></p>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="sidebar right">
|
||||
<ul class="list-group contact-home">
|
||||
<!-- <li class="list-group-item"> -->
|
||||
<h4> <?=$this->transEsc("Contact") ?></h4>
|
||||
<!-- <ul class="contact-list"> -->
|
||||
<span class="at"><a target="_blank" href="https://www2.bibb.de/bibbtools/de/ssl/kontakt.php?maid=628"><?=$this->transEsc("Libraryteam")?></a></span>
|
||||
|
||||
|
||||
<!-- </ul> -->
|
||||
<!-- <ul class="contact-list"> -->
|
||||
<span class="at"><a target="_blank" href="https://www2.bibb.de/bibbtools/de/ssl/kontakt.php?maid=4841"><?=$this->transEsc("Repositoryteam")?></a></span>
|
||||
<!-- </ul> -->
|
||||
<!-- </li> -->
|
||||
</ul>
|
||||
</div>
|
||||
@ -1,143 +0,0 @@
|
||||
<? $account = $this->auth()->getManager(); ?>
|
||||
|
||||
<div class="navigation-header">
|
||||
<div class="inside">
|
||||
<a href="https://www.bibb.de" style="float:left; padding: 10px 0 10px 40px;">
|
||||
<img src="../../../vufind/themes/bibb_new/images/bibb_logo.svg" alt="Logo Bibb" height="20px" style="float:left; margin-right:20px;">
|
||||
</a>
|
||||
<ul>
|
||||
|
||||
<li class="home"><a href="https://lit.bibb.de"><?=$this->transEsc("Homepage")?></a></li>
|
||||
<li class="storage"><a href="https://www.bibb.de/de/90896.php"><?=$this->transEsc("About the VET Repository")?></a></li>
|
||||
<li class="library"><a href="https://www.bibb.de/de/756.php"><?=$this->transEsc("About the Library")?></a></li>
|
||||
|
||||
<? if (isset($this->layout()->allLangs) && count($this->layout()->allLangs) > 1): ?>
|
||||
<li class="language dropdown">
|
||||
<form method="post" name="langForm" id="langForm">
|
||||
<input type="hidden" name="mylang"/>
|
||||
</form>
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?=$this->transEsc("Language")?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<? foreach ($this->layout()->allLangs as $langCode => $langName): ?>
|
||||
<li<?=$this->layout()->userLang == $langCode ? ' class="active"' : ''?>><a href="#" onClick="document.langForm.mylang.value='<?=$langCode?>';document.langForm.submit()"><?=$this->displayLanguageOption($langName)?></a></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header-wrapper-top ym-wrapper">
|
||||
<div class="ym-wbox">
|
||||
<div class="ym-wbox-inside">
|
||||
|
||||
<div class="banner container navbar">
|
||||
|
||||
<div class="header-logo">
|
||||
<a href="/vufind">
|
||||
<img src="/vufind/themes/bibb/images/vet_repository.png" alt="Logo VET Repository" height="45" style="float:left; margin-right:20px;">
|
||||
<img src="/vufind/themes/bibb/images/bibb_library_logo.png" height="21" alt="Logo BIBB-Bibliothek">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3 col-md-3 col-lg-3">
|
||||
|
||||
</div>
|
||||
<div class="col-sm-1 col-md-1 col-lg-1"> </div>
|
||||
<div class="col-sm-3 col-md-3 col-lg-3">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="navigation-main-mobile">
|
||||
<ul id="smartmenu" class="sm sm-bibb" data-smartmenus-id="1502450685342937">
|
||||
<li class="pos0">
|
||||
<span style="display:inline-block;height:6.2em;padding-bottom:4.1em;"><a href="https://lit.bibb.de/" target="_self"> </a></span>
|
||||
</li>
|
||||
<li class="pos2">
|
||||
<a href="https://www.bibb.de/de/90896.php" class="has-submenu"><span class="sub-arrow">+</span><?=$this->transEsc("VET Repository")?></a>
|
||||
</li>
|
||||
|
||||
<li class="pos3">
|
||||
<a href="https://www.bibb.de/de/756.php" class="has-submenu"><span class="sub-arrow">+</span><?=$this->transEsc("Library")?></a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<? if (!isset($this->layout()->renderingError)): ?>
|
||||
<div class="collapse navbar-collapse" id="header-collapse">
|
||||
<nav>
|
||||
<ul role="navigation" class="nav navbar-nav navbar-right flip">
|
||||
<? $cart = $this->cart(); if ($cart->isActive()): ?>
|
||||
|
||||
<? endif; ?>
|
||||
<? if (is_object($account) && $account->loginEnabled()): // hide login/logout if unavailable ?>
|
||||
<li class="logoutOptions<? if(!$account->isLoggedIn()): ?> hidden<? endif ?>">
|
||||
<a href="<?=$this->url('myresearch-home', array(), array('query' => array('redirect' => 0)))?>"><?=$this->transEsc("Your Account")?></a>
|
||||
</li>
|
||||
|
||||
<li id="cartSummary">
|
||||
<a id="cartItems" data-lightbox title="<?=$this->transEsc('View Book Bag')?>" href="<?=$this->url('cart-home')?>">
|
||||
<strong><?=count($cart->getItems())?></strong> <?=$this->transEsc('items')?>
|
||||
<span class="full<?=!$cart->isFull() ? ' hidden' : '' ?>">(<?=$this->transEsc('bookbag_full') ?>)</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="logoutOptions<? if(!$account->isLoggedIn()): ?> hidden<? endif ?>">
|
||||
<a href="<?=$this->url('myresearch-logout')?>" class="logout"> <?=$this->transEsc("Log Out")?></a>
|
||||
</li>
|
||||
<li id="loginOptions"<? if($account->isLoggedIn()): ?> class="hidden"<? endif ?>>
|
||||
<? if ($account->getSessionInitiator($this->serverUrl($this->url('myresearch-home')))): ?>
|
||||
<a href="<?=$this->url('myresearch-userlogin')?>"><i class="fa fa-sign-in" aria-hidden="true"></i> <?=$this->transEsc("Institutional Login")?></a>
|
||||
<? else: ?>
|
||||
<a href="<?=$this->url('myresearch-userlogin')?>" data-lightbox><?=$this->transEsc("Login")?></a>
|
||||
<? endif; ?>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (isset($this->layout()->themeOptions) && count($this->layout()->themeOptions) > 1): ?>
|
||||
<li class="theme dropdown">
|
||||
<form method="post" name="themeForm" id="themeForm">
|
||||
<input type="hidden" name="ui"/>
|
||||
</form>
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?=$this->transEsc("Theme")?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<? foreach ($this->layout()->themeOptions as $current): ?>
|
||||
<li<?=$current['selected'] ? ' class="active"' : ''?>><a href="#" onClick="document.themeForm.ui.value='<?=$this->escapeHtmlAttr($current['name'])?>';document.themeForm.submit()"><?=$this->transEsc($current['desc'])?></a></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? if ($this->layout()->searchbox !== false): ?>
|
||||
|
||||
<div class="blue-container">
|
||||
<div class="container">
|
||||
<div class="col-sm-5 col-md-5 col-lg-5" >
|
||||
<h3 style=""><?=$this->transEsc("MainHeadLine")?></h3>
|
||||
</div>
|
||||
<div class="col-sm-1 col-md-1 col-lg-1" >
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-6 col-lg-6" >
|
||||
<p ><?=$this->transEsc("MainHeaderText")?></p><br>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="search container navbar">
|
||||
<nav class="nav searchbox hidden-print">
|
||||
<?=$this->layout()->searchbox ?>
|
||||
</nav>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
@ -1,143 +0,0 @@
|
||||
<? $account = $this->auth()->getManager(); ?>
|
||||
|
||||
<div class="navigation-header">
|
||||
<div class="inside">
|
||||
<a href="https://www.bibb.de" style="float:left; padding: 10px 0 10px 40px;">
|
||||
<img src="../../../vufind/themes/bibb_new/images/bibb_logo.svg" alt="Logo Bibb" height="20px" style="float:left; margin-right:20px;">
|
||||
</a>
|
||||
<ul>
|
||||
|
||||
<li class="home"><a href="https://lit.bibb.de"><?=$this->transEsc("Homepage")?></a></li>
|
||||
<li class="storage"><a href="https://www.bibb.de/de/90896.php"><?=$this->transEsc("About the VET Repository")?></a></li>
|
||||
<li class="library"><a href="https://www.bibb.de/de/756.php"><?=$this->transEsc("About the Library")?></a></li>
|
||||
|
||||
<? if (isset($this->layout()->allLangs) && count($this->layout()->allLangs) > 1): ?>
|
||||
<li class="language dropdown">
|
||||
<form method="post" name="langForm" id="langForm">
|
||||
<input type="hidden" name="mylang"/>
|
||||
</form>
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?=$this->transEsc("Language")?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<? foreach ($this->layout()->allLangs as $langCode => $langName): ?>
|
||||
<li<?=$this->layout()->userLang == $langCode ? ' class="active"' : ''?>><a href="#" onClick="document.langForm.mylang.value='<?=$langCode?>';document.langForm.submit()"><?=$this->displayLanguageOption($langName)?></a></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header-wrapper-top ym-wrapper">
|
||||
<div class="ym-wbox">
|
||||
<div class="ym-wbox-inside">
|
||||
|
||||
<div class="banner container navbar">
|
||||
|
||||
<div class="header-logo">
|
||||
<a href="/vufind">
|
||||
<img src="/vufind/themes/bibb/images/vet_repository.png" alt="Logo VET Repository" height="45" style="float:left; margin-right:20px;">
|
||||
<img src="/vufind/themes/bibb/images/bibb_library_logo.png" height="21" alt="Logo BIBB-Bibliothek">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3 col-md-3 col-lg-3">
|
||||
|
||||
</div>
|
||||
<div class="col-sm-1 col-md-1 col-lg-1"> </div>
|
||||
<div class="col-sm-3 col-md-3 col-lg-3">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="navigation-main-mobile">
|
||||
<ul id="smartmenu" class="sm sm-bibb" data-smartmenus-id="1502450685342937">
|
||||
<li class="pos0">
|
||||
<span style="display:inline-block;height:6.2em;padding-bottom:4.1em;"><a href="https://lit.bibb.de/" target="_self"> </a></span>
|
||||
</li>
|
||||
<li class="pos2">
|
||||
<a href="https://www.bibb.de/de/90896.php" class="has-submenu"><span class="sub-arrow">+</span><?=$this->transEsc("VET Repository")?></a>
|
||||
</li>
|
||||
|
||||
<li class="pos3">
|
||||
<a href="https://www.bibb.de/de/756.php" class="has-submenu"><span class="sub-arrow">+</span><?=$this->transEsc("Library")?></a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<? if (!isset($this->layout()->renderingError)): ?>
|
||||
<div class="collapse navbar-collapse" id="header-collapse">
|
||||
<nav>
|
||||
<ul role="navigation" class="nav navbar-nav navbar-right flip">
|
||||
<? $cart = $this->cart(); if ($cart->isActive()): ?>
|
||||
|
||||
<? endif; ?>
|
||||
<? if (is_object($account) && $account->loginEnabled()): // hide login/logout if unavailable ?>
|
||||
<li class="logoutOptions<? if(!$account->isLoggedIn()): ?> hidden<? endif ?>">
|
||||
<a href="<?=$this->url('myresearch-home', array(), array('query' => array('redirect' => 0)))?>"><?=$this->transEsc("Your Account")?></a>
|
||||
</li>
|
||||
|
||||
<li id="cartSummary">
|
||||
<a id="cartItems" data-lightbox title="<?=$this->transEsc('View Book Bag')?>" href="<?=$this->url('cart-home')?>">
|
||||
<strong><?=count($cart->getItems())?></strong> <?=$this->transEsc('items')?>
|
||||
<span class="full<?=!$cart->isFull() ? ' hidden' : '' ?>">(<?=$this->transEsc('bookbag_full') ?>)</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="logoutOptions<? if(!$account->isLoggedIn()): ?> hidden<? endif ?>">
|
||||
<a href="<?=$this->url('myresearch-logout')?>" class="logout"> <?=$this->transEsc("Log Out")?></a>
|
||||
</li>
|
||||
<li id="loginOptions"<? if($account->isLoggedIn()): ?> class="hidden"<? endif ?>>
|
||||
<? if ($account->getSessionInitiator($this->serverUrl($this->url('myresearch-home')))): ?>
|
||||
<a href="<?=$this->url('myresearch-userlogin')?>"><i class="fa fa-sign-in" aria-hidden="true"></i> <?=$this->transEsc("Institutional Login")?></a>
|
||||
<? else: ?>
|
||||
<a href="<?=$this->url('myresearch-userlogin')?>" data-lightbox><?=$this->transEsc("Login")?></a>
|
||||
<? endif; ?>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (isset($this->layout()->themeOptions) && count($this->layout()->themeOptions) > 1): ?>
|
||||
<li class="theme dropdown">
|
||||
<form method="post" name="themeForm" id="themeForm">
|
||||
<input type="hidden" name="ui"/>
|
||||
</form>
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?=$this->transEsc("Theme")?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<? foreach ($this->layout()->themeOptions as $current): ?>
|
||||
<li<?=$current['selected'] ? ' class="active"' : ''?>><a href="#" onClick="document.themeForm.ui.value='<?=$this->escapeHtmlAttr($current['name'])?>';document.themeForm.submit()"><?=$this->transEsc($current['desc'])?></a></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? if ($this->layout()->searchbox !== false): ?>
|
||||
|
||||
<div class="blue-container">
|
||||
<div class="container">
|
||||
<div class="col-sm-5 col-md-5 col-lg-5" >
|
||||
<h3 style=""><?=$this->transEsc("MainHeadLine")?></h3>
|
||||
</div>
|
||||
<div class="col-sm-1 col-md-1 col-lg-1" >
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-6 col-lg-6" >
|
||||
<p ><?=$this->transEsc("MainHeaderText")?></p><br>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="search container navbar">
|
||||
<nav class="nav searchbox hidden-print">
|
||||
<?=$this->layout()->searchbox ?>
|
||||
</nav>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
@ -1,161 +0,0 @@
|
||||
<? $account = $this->auth()->getManager(); ?>
|
||||
|
||||
<div class="navigation-header">
|
||||
<div class="inside">
|
||||
<a href="https://www.bibb.de" style="float:left; padding: 10px 0 10px 40px;">
|
||||
<img src="../../../vufind/themes/bibb_new/images/bibb_logo.svg" alt="Logo Bibb" height="20px" style="float:left; margin-right:20px;">
|
||||
</a>
|
||||
<ul>
|
||||
|
||||
<li class="home"><a href="https://lit.bibb.de"><?=$this->transEsc("Homepage")?></a></li>
|
||||
<li class="storage"><a href="https://www.bibb.de/de/90896.php"><?=$this->transEsc("About the VET Repository")?></a></li>
|
||||
<li class="library"><a href="https://www.bibb.de/de/756.php"><?=$this->transEsc("About the Library")?></a></li>
|
||||
|
||||
<? if (isset($this->layout()->allLangs) && count($this->layout()->allLangs) > 1): ?>
|
||||
<li class="language dropdown">
|
||||
<form method="post" name="langForm" id="langForm">
|
||||
<input type="hidden" name="mylang"/>
|
||||
</form>
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?=$this->transEsc("Language")?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<? foreach ($this->layout()->allLangs as $langCode => $langName): ?>
|
||||
<li<?=$this->layout()->userLang == $langCode ? ' class="active"' : ''?>><a href="#" onClick="document.langForm.mylang.value='<?=$langCode?>';document.langForm.submit()"><?=$this->displayLanguageOption($langName)?></a></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header-wrapper-top ym-wrapper">
|
||||
<div class="ym-wbox">
|
||||
<div class="ym-wbox-inside">
|
||||
|
||||
<div class="banner container navbar">
|
||||
<div class="banner container navbar" style="background-color:#f8f4ff;border-color:#d9c3c7;">
|
||||
<div class="row">
|
||||
<div class="col-sm-10 col-md-10 col-lg-10">
|
||||
|
||||
<h5>Hinweis: Eingeschränkte Suchfunktion im VET-Repository</h5>
|
||||
<p>Leider steht unsere Suchfunktion derzeit nicht durchgehend zur Verfügung. Es kann zu zeitweisen Unterbrechungen oder eingeschränkter Funktionalität kommen. </p>
|
||||
<p>Wir arbeiten bereits an einer Lösung und bitten um Ihr Verständnis.</p>
|
||||
<p> </p>
|
||||
<p>Vielen Dank für Ihre Geduld!</p>
|
||||
|
||||
|
||||
<!-- <h5>Probleme in der Suche nach Volltexten sowie bei bestimmten Sucheinschränkungen!</h5>
|
||||
<p>Aktuell funktionieren die Suche "Nur Volltexte" sowie die beiden Sucheinschränkungen "Volltext" (Checkbox oben) und "Format" (Facette) innerhalb der Funktion "Suche verfeinern" von Trefferlisten nicht korrekt!<p> <br /><p>Wir arbeiten daran, das Problem schnellstmöglich zu lösen und bitten bis dahin um Ihr Verständnis.</p>
|
||||
-->
|
||||
<br />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
<div class="header-logo">
|
||||
<a href="/vufind">
|
||||
<img src="/vufind/themes/bibb/images/vet_repository.png" alt="Logo VET Repository" height="45" style="float:left; margin-right:20px;">
|
||||
<img src="/vufind/themes/bibb/images/bibb_library_logo.png" height="21" alt="Logo BIBB-Bibliothek">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-3 col-md-3 col-lg-3">
|
||||
|
||||
</div>
|
||||
<div class="col-sm-1 col-md-1 col-lg-1"> </div>
|
||||
<div class="col-sm-3 col-md-3 col-lg-3">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="navigation-main-mobile">
|
||||
<ul id="smartmenu" class="sm sm-bibb" data-smartmenus-id="1502450685342937">
|
||||
<li class="pos0">
|
||||
<span style="display:inline-block;height:6.2em;padding-bottom:4.1em;"><a href="https://lit.bibb.de/" target="_self"> </a></span>
|
||||
</li>
|
||||
<li class="pos2">
|
||||
<a href="https://www.bibb.de/de/90896.php" class="has-submenu"><span class="sub-arrow">+</span><?=$this->transEsc("VET Repository")?></a>
|
||||
</li>
|
||||
|
||||
<li class="pos3">
|
||||
<a href="https://www.bibb.de/de/756.php" class="has-submenu"><span class="sub-arrow">+</span><?=$this->transEsc("Library")?></a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<? if (!isset($this->layout()->renderingError)): ?>
|
||||
<div class="collapse navbar-collapse" id="header-collapse">
|
||||
<nav>
|
||||
<ul role="navigation" class="nav navbar-nav navbar-right flip">
|
||||
<? $cart = $this->cart(); if ($cart->isActive()): ?>
|
||||
|
||||
<? endif; ?>
|
||||
<? if (is_object($account) && $account->loginEnabled()): // hide login/logout if unavailable ?>
|
||||
<li class="logoutOptions<? if(!$account->isLoggedIn()): ?> hidden<? endif ?>">
|
||||
<a href="<?=$this->url('myresearch-home', array(), array('query' => array('redirect' => 0)))?>"><?=$this->transEsc("Your Account")?></a>
|
||||
</li>
|
||||
|
||||
<li id="cartSummary">
|
||||
<a id="cartItems" data-lightbox title="<?=$this->transEsc('View Book Bag')?>" href="<?=$this->url('cart-home')?>">
|
||||
<strong><?=count($cart->getItems())?></strong> <?=$this->transEsc('items')?>
|
||||
<span class="full<?=!$cart->isFull() ? ' hidden' : '' ?>">(<?=$this->transEsc('bookbag_full') ?>)</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="logoutOptions<? if(!$account->isLoggedIn()): ?> hidden<? endif ?>">
|
||||
<a href="<?=$this->url('myresearch-logout')?>" class="logout"> <?=$this->transEsc("Log Out")?></a>
|
||||
</li>
|
||||
<li id="loginOptions"<? if($account->isLoggedIn()): ?> class="hidden"<? endif ?>>
|
||||
<? if ($account->getSessionInitiator($this->serverUrl($this->url('myresearch-home')))): ?>
|
||||
<a href="<?=$this->url('myresearch-userlogin')?>"><i class="fa fa-sign-in" aria-hidden="true"></i> <?=$this->transEsc("Institutional Login")?></a>
|
||||
<? else: ?>
|
||||
<a href="<?=$this->url('myresearch-userlogin')?>" data-lightbox><?=$this->transEsc("Login")?></a>
|
||||
<? endif; ?>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
|
||||
<? if (isset($this->layout()->themeOptions) && count($this->layout()->themeOptions) > 1): ?>
|
||||
<li class="theme dropdown">
|
||||
<form method="post" name="themeForm" id="themeForm">
|
||||
<input type="hidden" name="ui"/>
|
||||
</form>
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?=$this->transEsc("Theme")?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<? foreach ($this->layout()->themeOptions as $current): ?>
|
||||
<li<?=$current['selected'] ? ' class="active"' : ''?>><a href="#" onClick="document.themeForm.ui.value='<?=$this->escapeHtmlAttr($current['name'])?>';document.themeForm.submit()"><?=$this->transEsc($current['desc'])?></a></li>
|
||||
<? endforeach; ?>
|
||||
</ul>
|
||||
</li>
|
||||
<? endif; ?>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<? if ($this->layout()->searchbox !== false): ?>
|
||||
|
||||
<div class="blue-container">
|
||||
<div class="container">
|
||||
<div class="col-sm-5 col-md-5 col-lg-5" >
|
||||
<h3 style=""><?=$this->transEsc("MainHeadLine")?></h3>
|
||||
</div>
|
||||
<div class="col-sm-1 col-md-1 col-lg-1" >
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-6 col-lg-6" >
|
||||
<p ><?=$this->transEsc("MainHeaderText")?></p><br>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="search container navbar">
|
||||
<nav class="nav searchbox hidden-print">
|
||||
<?=$this->layout()->searchbox ?>
|
||||
</nav>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
@ -1,209 +0,0 @@
|
||||
<?
|
||||
// Set up page title:
|
||||
$this->headTitle($this->translate('Checked Out Items'));
|
||||
|
||||
// Set up breadcrumbs:
|
||||
$this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Checked Out Items') . '</li>';
|
||||
?>
|
||||
|
||||
<div class="<?=$this->layoutClass('mainbody')?>">
|
||||
<h2><?=$this->transEsc('Your Checked Out Items')?></h2>
|
||||
|
||||
<? if ($paginator): ?>
|
||||
<?
|
||||
$anz = $paginator->getTotalItemCount();
|
||||
if ($anz >= 100) : ?>
|
||||
<h3 style="color:red">Konto wird nicht vollständig angezeigt!</h3>
|
||||
<? endif; ?>
|
||||
<?endif; ?>
|
||||
|
||||
|
||||
<?=$this->flashmessages()?>
|
||||
|
||||
<?=$this->context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->auth()->isLoggedIn()]); ?>
|
||||
|
||||
<? if (!empty($this->transactions)): ?>
|
||||
<? if ($this->renewForm): ?>
|
||||
<form name="renewals" method="post" id="renewals">
|
||||
<div class="toolbar">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" name="selectAll" class="checkbox-select-all"/>
|
||||
<?=$this->transEsc('select_page')?>
|
||||
</label>
|
||||
<input type="submit" class="btn btn-default" id="renewSelected" name="renewSelected" value="<?=$this->transEsc("renew_selected")?>" />
|
||||
<input type="submit" class="btn btn-default" id="renewAll" name="renewAll" value="<?=$this->transEsc('renew_all')?>" />
|
||||
</div>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
|
||||
<? if ($paginator): ?>
|
||||
<?
|
||||
$end = min(
|
||||
$paginator->getAbsoluteItemNumber($paginator->getItemCountPerPage()),
|
||||
$paginator->getTotalItemCount()
|
||||
);
|
||||
$transParams = [
|
||||
'%%start%%' => $this->localizedNumber($paginator->getAbsoluteItemNumber(1)),
|
||||
'%%end%%' => $this->localizedNumber($end),
|
||||
'%%total%%' => $this->localizedNumber($paginator->getTotalItemCount())
|
||||
];
|
||||
?>
|
||||
<?=$this->translate('showing_items_of_html', $transParams); ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? foreach ($hiddenTransactions as $ilsDetails): ?>
|
||||
<? if (isset($this->renewResult[$ilsDetails['item_id']])): ?>
|
||||
<? $renewDetails = $this->renewResult[$ilsDetails['item_id']]; ?>
|
||||
<? $prefix = isset($ilsDetails['title']) ? $ilsDetails['title'] : $ilsDetails['item_id']; ?>
|
||||
<? if (isset($renewDetails['success']) && $renewDetails['success']): ?>
|
||||
<div class="alert alert-success"><?=$this->escapeHtml($prefix . ': ') . $this->transEsc('renew_success')?></div>
|
||||
<? else: ?>
|
||||
<div class="alert alert-danger"><?=$this->escapeHtml($prefix . ': ') . $this->transEsc('renew_fail')?><? if (isset($renewDetails['sysMessage'])): ?>: <?=$this->escapeHtml($renewDetails['sysMessage'])?><? endif; ?></div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? if (isset($ilsDetails['renewable']) && $ilsDetails['renewable'] && isset($ilsDetails['renew_details'])): ?>
|
||||
<? $safeId = preg_replace('/[^a-zA-Z0-9]/', '', $ilsDetails['renew_details']); ?>
|
||||
<input class="pull-left flip" type="hidden" name="renewAllIDS[]" value="<?=$this->escapeHtmlAttr($ilsDetails['renew_details'])?>" />
|
||||
<? endif; ?>
|
||||
<? endforeach; ?>
|
||||
|
||||
<? $i = 0; foreach ($this->transactions as $resource): ?>
|
||||
<? $ilsDetails = $resource->getExtraDetail('ils_details'); ?>
|
||||
<div id="record<?=$this->escapeHtmlAttr($resource->getUniqueId())?>" class="result">
|
||||
<? if ($this->renewForm): ?>
|
||||
<? if (isset($ilsDetails['renewable']) && $ilsDetails['renewable'] && isset($ilsDetails['renew_details'])): ?>
|
||||
<? $safeId = preg_replace('/[^a-zA-Z0-9]/', '', $ilsDetails['renew_details']); ?>
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input class="checkbox-select-item" type="checkbox" name="renewSelectedIDS[]" value="<?=$this->escapeHtmlAttr($ilsDetails['renew_details'])?>" id="checkbox_<?=$safeId?>" />
|
||||
</label>
|
||||
<input type="hidden" name="selectAllIDS[]" value="<?=$this->escapeHtmlAttr($ilsDetails['renew_details'])?>" />
|
||||
<input type="hidden" name="renewAllIDS[]" value="<?=$this->escapeHtmlAttr($ilsDetails['renew_details'])?>" />
|
||||
</div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<?
|
||||
$coverDetails = $this->record($resource)->getCoverDetails('checkedout', 'small', $this->recordLink()->getUrl($resource));
|
||||
$cover = $coverDetails['html'];
|
||||
$thumbnail = false;
|
||||
$thumbnailAlignment = $this->record($resource)->getThumbnailAlignment('account');
|
||||
if ($cover):
|
||||
ob_start(); ?>
|
||||
<div class="media-<?=$thumbnailAlignment ?> <?=$this->escapeHtmlAttr($coverDetails['size'])?>">
|
||||
<?=$cover ?>
|
||||
</div>
|
||||
<? $thumbnail = ob_get_contents(); ?>
|
||||
<? ob_end_clean(); ?>
|
||||
<? endif; ?>
|
||||
<div class="media">
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'left'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
<div class="media-body">
|
||||
<?
|
||||
// If this is a non-missing Solr record, we should display a link:
|
||||
if (is_a($resource, 'VuFind\\RecordDriver\\SolrDefault') && !is_a($resource, 'VuFind\\RecordDriver\\Missing')) {
|
||||
$title = $resource->getTitle();
|
||||
$title = empty($title) ? $this->transEsc('Title not available') : $this->escapeHtml($title);
|
||||
echo '<a href="' . $this->recordLink()->getUrl($resource) .
|
||||
'" class="title">' . $title . '</a>';
|
||||
} else if (isset($ilsDetails['title']) && !empty($ilsDetails['title'])){
|
||||
// If the record is not available in Solr, perhaps the ILS driver sent us a title we can show...
|
||||
echo $this->escapeHtml($ilsDetails['title']);
|
||||
} else {
|
||||
// Last resort -- indicate that no title could be found.
|
||||
echo $this->transEsc('Title not available');
|
||||
}
|
||||
?><br/>
|
||||
<? $listAuthors = $resource->getPrimaryAuthors(); if (!empty($listAuthors)): ?>
|
||||
<?=$this->transEsc('by')?>:
|
||||
<a href="<?=$this->record($resource)->getLink('author', $listAuthors[0])?>"><?=$this->escapeHtml($listAuthors[0])?></a><? if (count($listAuthors) > 1): ?>, <?=$this->transEsc('more_authors_abbrev')?><? endif; ?><br/>
|
||||
<? endif; ?>
|
||||
<? if (!empty($ilsDetails['callnumber'])): ?>
|
||||
<strong><?=$this->transEsc('Call number')?>:</strong> <?=$this->escapeHtml($ilsDetails['callnumber'])?>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
<? if (count($resource->getFormats()) > 0): ?>
|
||||
<?=$this->record($resource)->getFormatList() ?>
|
||||
<br/>
|
||||
<? endif; ?>
|
||||
<? if (!empty($ilsDetails['volume'])): ?>
|
||||
<strong><?=$this->transEsc('Volume')?>:</strong> <?=$this->escapeHtml($ilsDetails['volume'])?>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<? if (!empty($ilsDetails['publication_year'])): ?>
|
||||
<strong><?=$this->transEsc('Year of Publication')?>:</strong> <?=$this->escapeHtml($ilsDetails['publication_year'])?>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<? if (!empty($ilsDetails['institution_name']) && (empty($ilsDetails['borrowingLocation']) || $ilsDetails['institution_name'] != $ilsDetails['borrowingLocation'])): ?>
|
||||
<strong><?=$this->transEsc('location_' . $ilsDetails['institution_name'], [], $ilsDetails['institution_name'])?></strong>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<? if (!empty($ilsDetails['borrowingLocation'])): ?>
|
||||
<strong><?=$this->transEsc('Borrowing Location')?>:</strong> <?=$this->transEsc('location_' . $ilsDetails['borrowingLocation'], [], $ilsDetails['borrowingLocation'])?>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<? if (isset($ilsDetails['renew'])): ?>
|
||||
<strong><?=$this->transEsc('Renewed')?>:</strong> <?=$this->transEsc($ilsDetails['renew'])?>
|
||||
<strong>(<?=$this->transEsc('Last renewal')?>: </strong> <?=$this->transEsc($ilsDetails['lastreneweddate'])?>)
|
||||
<? if (isset($ilsDetails['renewLimit'])): ?>
|
||||
/ <?=$this->transEsc($ilsDetails['renewLimit'])?>
|
||||
<? endif; ?>
|
||||
<br />
|
||||
<? endif; ?>
|
||||
|
||||
<? $showStatus = true; ?>
|
||||
|
||||
<? if (isset($this->renewResult[$ilsDetails['item_id']])): ?>
|
||||
<? $renewDetails = $this->renewResult[$ilsDetails['item_id']]; ?>
|
||||
<? if (isset($renewDetails['success']) && $renewDetails['success']): ?>
|
||||
<? $showStatus = false; ?>
|
||||
<strong><?=$this->transEsc('Due Date')?>: <?=$this->escapeHtml($renewDetails['new_date'])?> <? if (isset($renewDetails['new_time'])): ?><?=$this->escapeHtml($renewDetails['new_time'])?><? endif; ?></strong>
|
||||
<div class="alert alert-success"><?=$this->transEsc('renew_success')?></div>
|
||||
<? else: ?>
|
||||
<strong><?=$this->transEsc('Due Date')?>: <?=$this->escapeHtml($ilsDetails['duedate'])?><? if (isset($ilsDetails['dueTime'])): ?> <?=$this->escapeHtml($ilsDetails['dueTime'])?><? endif; ?></strong>
|
||||
<div class="alert alert-danger"><?=$this->transEsc('renew_fail')?><? if (isset($renewDetails['sysMessage'])): ?>: <?=$this->escapeHtml($renewDetails['sysMessage'])?><? endif; ?></div>
|
||||
<? endif; ?>
|
||||
<? else: ?>
|
||||
<strong><?=$this->transEsc('Issue Date')?>: <?=$this->escapeHtml($ilsDetails['issuedate'])?></strong>
|
||||
<br>
|
||||
<strong><?=$this->transEsc('Due Date')?>: <?=$this->escapeHtml($ilsDetails['duedate'])?><? if (isset($ilsDetails['dueTime'])): ?> <?=$this->escapeHtml($ilsDetails['dueTime'])?><? endif; ?></strong>
|
||||
<? if ($showStatus): ?>
|
||||
<? if (isset($ilsDetails['dueStatus']) && $ilsDetails['dueStatus'] == "overdue"): ?>
|
||||
<div class="alert alert-danger"><?=$this->transEsc("renew_item_overdue")?></div>
|
||||
<? elseif (isset($ilsDetails['dueStatus']) && $ilsDetails['dueStatus'] == "due"): ?>
|
||||
<div class="alert alert-info"><?=$this->transEsc("renew_item_due")?></div>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
|
||||
<? if ($showStatus && isset($ilsDetails['message']) && !empty($ilsDetails['message'])): ?>
|
||||
<div class="alert alert-info"><?=$this->transEsc($ilsDetails['message'])?></div>
|
||||
<? endif; ?>
|
||||
<? if (isset($ilsDetails['renewable']) && $ilsDetails['renewable'] && isset($ilsDetails['renew_link'])): ?>
|
||||
<a href="<?=$this->escapeHtmlAttr($ilsDetails['renew_link'])?>"><?=$this->transEsc('renew_item')?></a>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<? if ($thumbnail && $thumbnailAlignment == 'right'): ?>
|
||||
<?=$thumbnail ?>
|
||||
<? endif ?>
|
||||
</div>
|
||||
<?=$resource->tryMethod('supportsCoinsOpenUrl')?'<span class="Z3988" title="'.$this->escapeHtmlAttr($resource->getCoinsOpenUrl()).'"></span>':''?>
|
||||
</div>
|
||||
<? endforeach; ?>
|
||||
<? if ($this->renewForm): ?></form><? endif; ?>
|
||||
<?=$paginator ? $this->paginationControl($paginator, 'Sliding', 'Helpers/pagination.phtml') : ''?>
|
||||
<? else: ?>
|
||||
<?=$this->transEsc('You do not have any items checked out')?>.
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="<?=$this->layoutClass('sidebar')?>">
|
||||
<?=$this->context($this)->renderInContext("myresearch/menu.phtml", ['active' => 'checkedout'])?>
|
||||
</div>
|
||||
@ -1,34 +0,0 @@
|
||||
<?
|
||||
// Set up page title:
|
||||
$this->headTitle($this->translate('Login'));
|
||||
|
||||
// Set up breadcrumbs:
|
||||
$this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Login') . '</li>';
|
||||
|
||||
// Convenience variables:
|
||||
$account = $this->auth()->getManager();
|
||||
$hideLogin = !(is_object($account) && $account->loginEnabled());
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
?>
|
||||
|
||||
<? if ($offlineMode == "ils-offline"): ?>
|
||||
<?=$this->render('Helpers/ils-offline.phtml', ['offlineModeMsg' => 'ils_offline_login_message'])?>
|
||||
<? endif; ?>
|
||||
|
||||
<h2 class="lightbox-header"><?=$this->transEsc('Login')?></h2>
|
||||
<p style="color:red">Bestellen/Vormerken von Büchern: die Funktionen „Bestellen“ bzw. „Vormerken“ von Büchern über den Bibliothekskatalog der Literatursuche eingehende Bestellungen und Vormerkungen werden zurzeit nicht bearbeitet. Bereits zur Abholung bereitgestellte Medien können Sie nach Wiederaufnahme des regulären Betriebs der Bibliothek wie gewohnt innerhalb von 5 Öffnungstagen abholen.</p><p> </p></p>
|
||||
<p style="color:red">Kopienbestellungen von Artikeln: Wir werden im Rahmen unserer Notbesetzung im BIBB sehen, wie hoch das Aufkommen ist und versuchen, Ihnen vorübergehend Kopien an Ihre Privatanschrift zu senden.</p><p> </p>
|
||||
|
||||
<div class="alert alert-danger">
|
||||
<p>Dieser Service steht ausschließlich Mitarbeiterinnen und Mitarbeitern des BIBB zur Verfügung.</p>
|
||||
<p>Wenn Sie sich anmelden möchten, geben Sie bitte Ihren Benutzernamen in der Form vorname.nachname (Umlaute bitte NICHT auflösen, Doktortitel weglassen) und Ihr Passwort ein. Sollten Sie noch kein Passwort haben oder ein neues benötigen, kommen Sie bitte während der Öffnungszeiten in die Bibliothek.</p>
|
||||
<p>Sie arbeiten nicht im BIBB und interessieren sich für ein Werk? Bitte wenden Sie sich an die Mitarbeiterinnen und Mitarbeiter der Bibliothek. Die Kontaktdaten finden Sie auf der Startseite der Literatursuche in der rechten Spalte.</p>
|
||||
<p>Weitere Informationen können Sie den „Häufig gestellten Fragen“ (FAQ) entnehmen</p>
|
||||
</div>
|
||||
<?=$this->flashmessages()?>
|
||||
|
||||
<? if ($hideLogin): ?>
|
||||
<div class="alert alert-danger"><?=$this->transEsc('login_disabled')?></div>
|
||||
<? else: ?>
|
||||
<?=$this->auth()->getLogin()?>
|
||||
<? endif; ?>
|
||||
@ -1,34 +0,0 @@
|
||||
<?
|
||||
// Set up page title:
|
||||
$this->headTitle($this->translate('Login'));
|
||||
|
||||
// Set up breadcrumbs:
|
||||
$this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Login') . '</li>';
|
||||
|
||||
// Convenience variables:
|
||||
$account = $this->auth()->getManager();
|
||||
$hideLogin = !(is_object($account) && $account->loginEnabled());
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
?>
|
||||
|
||||
<? if ($offlineMode == "ils-offline"): ?>
|
||||
<?=$this->render('Helpers/ils-offline.phtml', ['offlineModeMsg' => 'ils_offline_login_message'])?>
|
||||
<? endif; ?>
|
||||
|
||||
<h2 class="lightbox-header"><?=$this->transEsc('Login')?></h2>
|
||||
<!-- <p style="color:red">Bestellen/Vormerken von Büchern: über den Bibliothekskatalog der Literatursuche eingehende Bestellungen und Vormerkungen werden wieder bearbeitet. Die Bereitstellung kann jedoch aufgrund der stark eingeschränkten Öffnungszeiten länger als in den Vor-Corona-Zeiten dauern. Sobald Medien für Sie zur Abholung bereitstehen, erhalten Sie wie gewohnt eine automatische Nachricht. </p>
|
||||
<p style="color:red">Sollte es Ihnen nicht möglich sein, diese Medien innerhalb von 5 Öffnungstagen im Lesesaal abzuholen, nehmen Sie bitte Kontakt mit der Bibliothek auf. </p><p> </p>
|
||||
-->
|
||||
<div class="alert alert-danger">
|
||||
<p>Dieser Service steht ausschließlich Mitarbeiterinnen und Mitarbeitern des BIBB zur Verfügung.</p>
|
||||
<p>Wenn Sie sich anmelden möchten, geben Sie bitte Ihren Benutzernamen in der Form vorname.nachname (Umlaute bitte NICHT auflösen, Doktortitel weglassen) und Ihr Passwort ein. Sollten Sie noch kein Passwort haben oder ein neues benötigen, finden Sie alle Informationen hierzu auf unseren Intranetseiten.</p>
|
||||
<p>Sie arbeiten nicht im BIBB und interessieren sich für ein Werk? Bitte wenden Sie sich an die Mitarbeiterinnen und Mitarbeiter der Bibliothek. Die Kontaktdaten finden Sie auf der Startseite der Literatursuche in der rechten Spalte.</p>
|
||||
<p>Weitere Informationen können Sie den „Häufig gestellten Fragen“ (FAQ) entnehmen</p>
|
||||
</div>
|
||||
<?=$this->flashmessages()?>
|
||||
|
||||
<? if ($hideLogin): ?>
|
||||
<div class="alert alert-danger"><?=$this->transEsc('login_disabled')?></div>
|
||||
<? else: ?>
|
||||
<?=$this->auth()->getLogin()?>
|
||||
<? endif; ?>
|
||||
@ -1,34 +0,0 @@
|
||||
<?
|
||||
// Set up page title:
|
||||
$this->headTitle($this->translate('Login'));
|
||||
|
||||
// Set up breadcrumbs:
|
||||
$this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Login') . '</li>';
|
||||
|
||||
// Convenience variables:
|
||||
$account = $this->auth()->getManager();
|
||||
$hideLogin = !(is_object($account) && $account->loginEnabled());
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
?>
|
||||
|
||||
<? if ($offlineMode == "ils-offline"): ?>
|
||||
<?=$this->render('Helpers/ils-offline.phtml', ['offlineModeMsg' => 'ils_offline_login_message'])?>
|
||||
<? endif; ?>
|
||||
|
||||
<h2 class="lightbox-header"><?=$this->transEsc('Login')?></h2>
|
||||
<p style="color:red">Bestellen/Vormerken von Büchern: über den Bibliothekskatalog der Literatursuche eingehende Bestellungen und Vormerkungen werden wieder bearbeitet. Die Bereitstellung kann jedoch aufgrund der stark eingeschränkten Öffnungszeiten länger als in den Vor-Corona-Zeiten dauern. Sobald Medien für Sie zur Abholung bereitstehen, erhalten Sie wie gewohnt eine automatische Nachricht. </p>
|
||||
<p style="color:red">Sollte es Ihnen nicht möglich sein, diese Medien innerhalb von 5 Öffnungstagen im Lesesaal abzuholen, nehmen Sie bitte Kontakt mit der Bibliothek auf. </p><p> </p>
|
||||
|
||||
<div class="alert alert-danger">
|
||||
<p>Dieser Service steht ausschließlich Mitarbeiterinnen und Mitarbeitern des BIBB zur Verfügung.</p>
|
||||
<p>Wenn Sie sich anmelden möchten, geben Sie bitte Ihren Benutzernamen in der Form vorname.nachname (Umlaute bitte NICHT auflösen, Doktortitel weglassen) und Ihr Passwort ein. Sollten Sie noch kein Passwort haben oder ein neues benötigen, kommen Sie bitte während der Öffnungszeiten in die Bibliothek.</p>
|
||||
<p>Sie arbeiten nicht im BIBB und interessieren sich für ein Werk? Bitte wenden Sie sich an die Mitarbeiterinnen und Mitarbeiter der Bibliothek. Die Kontaktdaten finden Sie auf der Startseite der Literatursuche in der rechten Spalte.</p>
|
||||
<p>Weitere Informationen können Sie den „Häufig gestellten Fragen“ (FAQ) entnehmen</p>
|
||||
</div>
|
||||
<?=$this->flashmessages()?>
|
||||
|
||||
<? if ($hideLogin): ?>
|
||||
<div class="alert alert-danger"><?=$this->transEsc('login_disabled')?></div>
|
||||
<? else: ?>
|
||||
<?=$this->auth()->getLogin()?>
|
||||
<? endif; ?>
|
||||
@ -1,34 +0,0 @@
|
||||
<?
|
||||
// Set up page title:
|
||||
$this->headTitle($this->translate('Login'));
|
||||
|
||||
// Set up breadcrumbs:
|
||||
$this->layout()->breadcrumbs = '<li><a href="' . $this->url('myresearch-home') . '">' . $this->transEsc('Your Account') . '</a></li> <li class="active">' . $this->transEsc('Login') . '</li>';
|
||||
|
||||
// Convenience variables:
|
||||
$account = $this->auth()->getManager();
|
||||
$hideLogin = !(is_object($account) && $account->loginEnabled());
|
||||
$offlineMode = $this->ils()->getOfflineMode();
|
||||
?>
|
||||
|
||||
<? if ($offlineMode == "ils-offline"): ?>
|
||||
<?=$this->render('Helpers/ils-offline.phtml', ['offlineModeMsg' => 'ils_offline_login_message'])?>
|
||||
<? endif; ?>
|
||||
|
||||
<h2 class="lightbox-header"><?=$this->transEsc('Login')?></h2>
|
||||
<!-- <p style="color:red">Bestellen/Vormerken von Büchern: über den Bibliothekskatalog der Literatursuche eingehende Bestellungen und Vormerkungen werden wieder bearbeitet. Die Bereitstellung kann jedoch aufgrund der stark eingeschränkten Öffnungszeiten länger als in den Vor-Corona-Zeiten dauern. Sobald Medien für Sie zur Abholung bereitstehen, erhalten Sie wie gewohnt eine automatische Nachricht. </p>
|
||||
<p style="color:red">Sollte es Ihnen nicht möglich sein, diese Medien innerhalb von 5 Öffnungstagen im Lesesaal abzuholen, nehmen Sie bitte Kontakt mit der Bibliothek auf. </p><p> </p>
|
||||
-->
|
||||
<div class="alert alert-danger">
|
||||
<p>Dieser Service steht ausschließlich Mitarbeiterinnen und Mitarbeitern des BIBB zur Verfügung.</p>
|
||||
<p>Wenn Sie sich anmelden möchten, geben Sie bitte Ihren Benutzernamen in der Form vorname.nachname (Umlaute bitte NICHT auflösen, Doktortitel weglassen) und Ihr Passwort ein. Sollten Sie noch kein Passwort haben oder ein neues benötigen, kommen Sie bitte während der Öffnungszeiten in die Bibliothek.</p>
|
||||
<p>Sie arbeiten nicht im BIBB und interessieren sich für ein Werk? Bitte wenden Sie sich an die Mitarbeiterinnen und Mitarbeiter der Bibliothek. Die Kontaktdaten finden Sie auf der Startseite der Literatursuche in der rechten Spalte.</p>
|
||||
<p>Weitere Informationen können Sie den „Häufig gestellten Fragen“ (FAQ) entnehmen</p>
|
||||
</div>
|
||||
<?=$this->flashmessages()?>
|
||||
|
||||
<? if ($hideLogin): ?>
|
||||
<div class="alert alert-danger"><?=$this->transEsc('login_disabled')?></div>
|
||||
<? else: ?>
|
||||
<?=$this->auth()->getLogin()?>
|
||||
<? endif; ?>
|
||||
@ -1,8 +0,0 @@
|
||||
<? /* Display thumbnail if appropriate: */ ?>
|
||||
<? if ($cover): ?>
|
||||
<? if ($this->link): ?><a href="<?=$this->escapeHtmlAttr($this->link)?>"><? endif; ?>
|
||||
<img alt="<?=$this->transEsc('Cover Image')?>" <? if ($linkPreview): ?>data-linkpreview="true" <? endif; ?>class="recordcover" src="<?=$this->escapeHtmlAttr($cover); ?>"/>
|
||||
<? if ($this->link): ?></a><? endif; ?>
|
||||
<? else: ?>
|
||||
<img src="<?=$this->url('cover-unavailable')?>" <? if ($linkPreview): ?>data-linkpreview="true" <? endif; ?>class="recordcover" alt="<?=$this->transEsc('No Cover Image')?>"/>
|
||||
<? endif; ?>
|
||||
@ -1,12 +0,0 @@
|
||||
<? $limitList = $this->params->getLimitList(); ?>
|
||||
<? if (count($limitList) > 1): ?>
|
||||
<form class="form-inline" style="float:right;width:25%;font-size:14px" action="<?=$this->currentPath() . $this->results->getUrlQuery()->setLimit(null)?>" method="post">
|
||||
<label for="limit"><?=$this->transEsc('Results per page')?></label>
|
||||
<select id="limit" dir="rtl" name="limit" class="jumpMenu form-control" style="font-size:14px">
|
||||
<? foreach ($limitList as $limitVal => $limitData): ?>
|
||||
<option value="<?=$this->escapeHtmlAttr($limitVal)?>"<?=$limitData['selected']?' selected="selected"':''?>><?=$this->escapeHtml($limitData['desc'])?></option>
|
||||
<? endforeach; ?>
|
||||
</select>
|
||||
<noscript><input type="submit" value="<?=$this->transEsc("Set")?>" /></noscript>
|
||||
</form>
|
||||
<? endif; ?>
|
||||
@ -1,16 +0,0 @@
|
||||
<? $list = $this->params->getSortList(); if (!empty($list)): ?>
|
||||
<form class="form_inline" style="float:right;width:25%;font-size:14px" action="<?=$this->currentPath()?>" method="get" name="sort">
|
||||
|
||||
|
||||
<?=$this->results->getUrlQuery()->asHiddenFields(array('sort' => '/.*/'));?>
|
||||
<label for="sort_options_1"><?=$this->transEsc('Sort')?></label>
|
||||
<select id="sort_options_1" name="sort" class="jumpMenu form-control" style="font-size:14px">
|
||||
|
||||
<? foreach ($list as $sortType => $sortData): ?>
|
||||
<option value="<?=$this->escapeHtmlAttr($sortType)?>"<?=$sortData['selected']?' selected="selected"':''?>><?=$this->transEsc($sortData['desc'])?></option>
|
||||
<? endforeach; ?>
|
||||
</select>
|
||||
|
||||
<noscript><input type="submit" class="btn btn-default" value="<?=$this->transEsc("Set")?>" /></noscript>
|
||||
</form>
|
||||
<? endif; ?>
|
||||
@ -1,86 +0,0 @@
|
||||
<?
|
||||
// Set page title.
|
||||
$this->headTitle($this->translate('Search Home'));
|
||||
|
||||
// Disable top search box -- this page has a special layout.
|
||||
$this->layout()->searchbox = false;
|
||||
|
||||
// Set default value if necessary:
|
||||
if (!isset($this->searchClassId)) {
|
||||
$this->searchClassId = 'Solr';
|
||||
}
|
||||
|
||||
// Load search actions and settings (if any):
|
||||
$options = $this->searchOptions($this->searchClassId);
|
||||
$basicSearch = $options->getSearchAction();
|
||||
$advSearch = $options->getAdvancedSearchAction();
|
||||
|
||||
$this->layout()->breadcrumbs = false;
|
||||
?>
|
||||
<div class="container" style="background:tranparent;background-color:white;min-height:40px"> </div>
|
||||
<div class="col-sm-6 col-md-6 col-lg-6" style="background-color:#d87400;color:white;position:relative; left:40px; top:-30px; margin-bottom:10px">
|
||||
<h3 style="color:white;font-weight:400px; margin-bottom:10px">Literatursuche im Bundesinstitut für Berufsbildung (BIBB)</h3>
|
||||
|
||||
<p style="font-style:italic">Hier finden Sie Fachliteratur zu allen Aspekten der Berufsbildung.</p><br>
|
||||
</br>
|
||||
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-6 col-lg-6" style="color:white;position:relative; left:80px; top:-10px">
|
||||
<img src="/vufind/themes/bibb_new/images/VuFind_BIBB.png" style="width:350px;height:auto;border:0;">
|
||||
</div>
|
||||
|
||||
<div class="container" style="background-image:linear-gradient(to bottom, #ffffff 0%, #f2f2f2 50%);">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="searchHomeContent">
|
||||
<?
|
||||
$ilsStatusScript = <<<JS
|
||||
$(document).ready(function() {
|
||||
$.ajax({
|
||||
dataType: 'json',
|
||||
method: 'GET',
|
||||
data: {'offlineModeMsg':'ils_offline_home_message'},
|
||||
url: VuFind.path + '/AJAX/JSON?method=getIlsStatus',
|
||||
success: function(response) {
|
||||
$('.searchHomeContent').prepend(response.data);
|
||||
}
|
||||
});
|
||||
});
|
||||
JS;
|
||||
?>
|
||||
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $ilsStatusScript, 'SET'); ?>
|
||||
|
||||
<?=$this->context($this)->renderInContext("search/searchbox.phtml", ['ignoreHiddenFilterMemory' => true])?>
|
||||
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, '$("#searchForm_lookfor").focus();', 'SET'); ?>
|
||||
</div>
|
||||
|
||||
<div class="mainbody left">
|
||||
<h4>Recherchierbare Datenbestände</h4>
|
||||
<p>Die Literatursuche greift auf zwei Datenbestände zu, die wahlweise gleichzeitig oder einzeln durchsucht werden können.</p><br>
|
||||
<ul>
|
||||
<li style="list-style-type:disc; margin-left:20px;">Im <span style="font-weight: bold;">VET Repository</span> finden Sie neben Monografien und Sammelbänden auch Zeitschriftenaufsätze und Sammelbandbeiträge. Nachweise zu Online-Publikationen sind mit den jeweiligen Volltexten verlinkt. Der Bestand der bisherigen Literaturdatenbank Berufliche Bildung (LDBB) ist im VET Repository aufgegangen.</li>
|
||||
<br>
|
||||
<li style="list-style-type:disc; margin-left:20px;" >Der <span style="font-weight: bold;">Bibliothekskatalog</span> enthält alle in der Bibliothek (physisch) vorhandenen Medien. Eine Ausleihe ist für Mitarbeiterinnen und Mitarbeiter des BIBB nach Anmeldung möglich. Externe können die Bibliothek vor Ort nutzen</li>
|
||||
</ul>
|
||||
<br />
|
||||
<p style="margin-bottom:20px;">Die Auswahl des Datenbestands für Ihre Suche können Sie durch Anklicken des jeweiligen Links bei Bedarf ändern.</p>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="sidebar right">
|
||||
<ul class="list-group">
|
||||
<!-- <li class="list-group-item"> -->
|
||||
<h4>Kontakt:</h4>
|
||||
<!-- <ul class="contact-list"> -->
|
||||
<span class="at"><a target="_blank" href="https://www2.bibb.de/bibbtools/de/ssl/kontakt.php?maid=628">Bibliotheksteam</a></span>
|
||||
<br>
|
||||
<br>
|
||||
<!-- </ul> -->
|
||||
<!-- <ul class="contact-list"> -->
|
||||
<span class="at"><a target="_blank" href="https://www2.bibb.de/bibbtools/de/ssl/kontakt.php?maid=4841">Repositoryteam</a></span>
|
||||
<!-- </ul> -->
|
||||
<!-- </li> -->
|
||||
</ul>
|
||||
</div>
|
||||
@ -1,86 +0,0 @@
|
||||
<?
|
||||
// Set page title.
|
||||
$this->headTitle($this->translate('Search Home'));
|
||||
|
||||
// Disable top search box -- this page has a special layout.
|
||||
$this->layout()->searchbox = false;
|
||||
|
||||
// Set default value if necessary:
|
||||
if (!isset($this->searchClassId)) {
|
||||
$this->searchClassId = 'Solr';
|
||||
}
|
||||
|
||||
// Load search actions and settings (if any):
|
||||
$options = $this->searchOptions($this->searchClassId);
|
||||
$basicSearch = $options->getSearchAction();
|
||||
$advSearch = $options->getAdvancedSearchAction();
|
||||
|
||||
$this->layout()->breadcrumbs = false;
|
||||
?>
|
||||
<div class="container" style="background:tranparent;background-color:white;min-height:40px"> </div>
|
||||
<div class="col-sm-6 col-md-6 col-lg-6" style="background-color:#d87400;color:white;position:relative; left:40px; top:-30px; margin-bottom:10px">
|
||||
<h3 style="color:white;font-weight:400px; margin-bottom:10px"><?=$this->transEsc("MainHeadLine")?></h3>
|
||||
|
||||
<p style="font-style:italic"><?=$this->transEsc("MainHeaderText")?></p><br>
|
||||
<br />
|
||||
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-6 col-lg-6" style="color:white;position:relative; left:80px; top:-10px">
|
||||
<img src="/vufind/themes/bibb/images/bg_header_bottom_opac.png" style="width:350px;height:auto;border:0;">
|
||||
</div>
|
||||
|
||||
<div class="container" style="background-image:linear-gradient(to bottom, #ffffff 0%, #f2f2f2 50%);">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="searchHomeContent">
|
||||
<?
|
||||
$ilsStatusScript = <<<JS
|
||||
$(document).ready(function() {
|
||||
$.ajax({
|
||||
dataType: 'json',
|
||||
method: 'GET',
|
||||
data: {'offlineModeMsg':'ils_offline_home_message'},
|
||||
url: VuFind.path + '/AJAX/JSON?method=getIlsStatus',
|
||||
success: function(response) {
|
||||
$('.searchHomeContent').prepend(response.data);
|
||||
}
|
||||
});
|
||||
});
|
||||
JS;
|
||||
?>
|
||||
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $ilsStatusScript, 'SET'); ?>
|
||||
|
||||
<?=$this->context($this)->renderInContext("search/searchbox.phtml", ['ignoreHiddenFilterMemory' => true])?>
|
||||
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, '$("#searchForm_lookfor").focus();', 'SET'); ?>
|
||||
</div>
|
||||
|
||||
<div class="mainbody left">
|
||||
<h4><?=$this->transEsc("MainDescriptionHeadline")?></h4>
|
||||
<p><?=$this->transEsc("MainDescriptionTop")?></p><br>
|
||||
<ul>
|
||||
<li style="list-style-type:disc; margin-left:20px;"><?=$this->translate("MainDescriptionVETRepository")?></li>
|
||||
<br>
|
||||
<li style="list-style-type:disc; margin-left:20px;" ><?=$this->translate("MainDescriptionLibrary")?></li>
|
||||
</ul>
|
||||
<br />
|
||||
<p style="margin-bottom:20px;"><?=$this->transEsc("MainDescriptionBottomText")?></p>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="sidebar right">
|
||||
<ul class="list-group">
|
||||
<!-- <li class="list-group-item"> -->
|
||||
<h4> <?=$this->transEsc("Contact") ?></h4>
|
||||
<!-- <ul class="contact-list"> -->
|
||||
<span class="at"><a target="_blank" href="https://www2.bibb.de/bibbtools/de/ssl/kontakt.php?maid=628"><?=$this->transEsc("Libraryteam")?></a></span>
|
||||
<br>
|
||||
<br>
|
||||
<!-- </ul> -->
|
||||
<!-- <ul class="contact-list"> -->
|
||||
<span class="at"><a target="_blank" href="https://www2.bibb.de/bibbtools/de/ssl/kontakt.php?maid=4841"><?=$this->transEsc("Repositoryteam")?></a></span>
|
||||
<!-- </ul> -->
|
||||
<!-- </li> -->
|
||||
</ul>
|
||||
</div>
|
||||
@ -1,93 +0,0 @@
|
||||
<?
|
||||
// Set page title.
|
||||
$this->headTitle($this->translate('Search Home'));
|
||||
|
||||
// Disable top search box -- this page has a special layout.
|
||||
$this->layout()->searchbox = false;
|
||||
|
||||
// Set default value if necessary:
|
||||
if (!isset($this->searchClassId)) {
|
||||
$this->searchClassId = 'Solr';
|
||||
}
|
||||
|
||||
// Load search actions and settings (if any):
|
||||
$options = $this->searchOptions($this->searchClassId);
|
||||
$basicSearch = $options->getSearchAction();
|
||||
$advSearch = $options->getAdvancedSearchAction();
|
||||
|
||||
$this->layout()->breadcrumbs = false;
|
||||
?>
|
||||
<!-- <div class="container" style="background:tranparent;background-color:white;min-height:40px"> </div> -->
|
||||
<div class="col-sm-12 col-md-12 col-lg-12">
|
||||
<div class="col-sm-5 col-md-5 col-lg-5" style="color:#14416b;position:relative; left:40px; top:-20px; margin-bottom:10px">
|
||||
<h3 style="color:#14416b;font-weight:400px; margin-bottom:10px"><?=$this->transEsc("MainHeadLine")?></h3>
|
||||
<p style="font-style:italic"><?=$this->transEsc("MainHeaderText")?></p><br>
|
||||
<br />
|
||||
</div>
|
||||
<div class="col-sm-7 col-md-7 col-lg-7" style="color:white;position:relative; left:80px; top:-0px">
|
||||
<div class="col-sm1-4 col-md-4 col-lg-4"> </div>
|
||||
<div class="col-sm-3 col-md-3 col-lg-3">
|
||||
<img src="/vufind/themes/bibb/images/vet_repository.png" alt="Logo VET Repository">
|
||||
</div>
|
||||
<div class="col-sm-1 col-md-1 col-lg-1"> </div>
|
||||
<div class="col-sm-3 col-md-3 col-lg-3">
|
||||
<img src="/vufind/themes/bibb/images/bibb_library_logo.png" alt="Logo BIBB-Bibliothek">
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-7 col-md-7 col-lg-7" style="left:20px; top:-90px;">
|
||||
<img src="/vufind/themes/bibb/images/bg_header_bottom_opac.png">
|
||||
</div>
|
||||
<div class="container" style="max-height:320px; background-image:linear-gradient(to bottom, #ffffff 0%, #f2f2f2 50%);"></div>
|
||||
</div>
|
||||
|
||||
<div class="searchHomeContent">
|
||||
<?
|
||||
$ilsStatusScript = <<<JS
|
||||
$(document).ready(function() {
|
||||
$.ajax({
|
||||
dataType: 'json',
|
||||
method: 'GET',
|
||||
data: {'offlineModeMsg':'ils_offline_home_message'},
|
||||
url: VuFind.path + '/AJAX/JSON?method=getIlsStatus',
|
||||
success: function(response) {
|
||||
$('.searchHomeContent').prepend(response.data);
|
||||
}
|
||||
});
|
||||
});
|
||||
JS;
|
||||
?>
|
||||
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $ilsStatusScript, 'SET'); ?>
|
||||
|
||||
<?=$this->context($this)->renderInContext("search/searchbox.phtml", ['ignoreHiddenFilterMemory' => true])?>
|
||||
<?=$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, '$("#searchForm_lookfor").focus();', 'SET'); ?>
|
||||
</div>
|
||||
|
||||
<div class="mainbody left">
|
||||
<h4><?=$this->transEsc("MainDescriptionHeadline")?></h4>
|
||||
<p><?=$this->transEsc("MainDescriptionTop")?></p><br>
|
||||
<ul>
|
||||
<li style="list-style-type:disc; margin-left:20px;"><?=$this->translate("MainDescriptionVETRepository")?></li>
|
||||
<br>
|
||||
<li style="list-style-type:disc; margin-left:20px;" ><?=$this->translate("MainDescriptionLibrary")?></li>
|
||||
</ul>
|
||||
<br />
|
||||
<p style="margin-bottom:20px;"><?=$this->transEsc("MainDescriptionBottomText")?></p>
|
||||
<br>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="sidebar right">
|
||||
<ul class="list-group">
|
||||
<!-- <li class="list-group-item"> -->
|
||||
<h4> <?=$this->transEsc("Contact") ?></h4>
|
||||
<!-- <ul class="contact-list"> -->
|
||||
<span class="at"><a target="_blank" href="https://www2.bibb.de/bibbtools/de/ssl/kontakt.php?maid=628"><?=$this->transEsc("Libraryteam")?></a></span>
|
||||
<br>
|
||||
<br>
|
||||
<!-- </ul> -->
|
||||
<!-- <ul class="contact-list"> -->
|
||||
<span class="at"><a target="_blank" href="https://www2.bibb.de/bibbtools/de/ssl/kontakt.php?maid=4841"><?=$this->transEsc("Repositoryteam")?></a></span>
|
||||
<!-- </ul> -->
|
||||
<!-- </li> -->
|
||||
</ul>
|
||||
</div>
|
||||
@ -1,158 +0,0 @@
|
||||
<?
|
||||
// Set up page title:
|
||||
$lookfor = $this->results->getUrlQuery()->isQuerySuppressed() ? '' : $this->params->getDisplayQuery();
|
||||
if (isset($this->overrideTitle)) {
|
||||
$this->headTitle($this->overrideTitle);
|
||||
} else {
|
||||
$this->headTitle($this->translate('Search Results') . (empty($lookfor) ? '' : " - {$lookfor}"));
|
||||
}
|
||||
|
||||
// Set up search box:
|
||||
$this->layout()->searchbox = $this->context($this)->renderInContext(
|
||||
'search/searchbox.phtml',
|
||||
[
|
||||
'lookfor' => $lookfor,
|
||||
'searchIndex' => $this->params->getSearchHandler(),
|
||||
'searchType' => $this->params->getSearchType(),
|
||||
'searchId' => $this->results->getSearchId(),
|
||||
'searchClassId' => $this->params->getSearchClassId(),
|
||||
'checkboxFilters' => $this->params->getCheckboxFacets(),
|
||||
'filterList' => $this->params->getFilters(),
|
||||
'hasDefaultsApplied' => $this->params->hasDefaultsApplied(),
|
||||
'selectedShards' => $this->params->getSelectedShards(),
|
||||
'ignoreHiddenFiltersInRequest' => isset($this->ignoreHiddenFiltersInRequest) ? $this->ignoreHiddenFiltersInRequest : false,
|
||||
'ignoreHiddenFilterMemory' => isset($this->ignoreHiddenFilterMemory) ? $this->ignoreHiddenFilterMemory : false,
|
||||
]
|
||||
);
|
||||
|
||||
// Set up breadcrumbs:
|
||||
if (isset($this->overrideTitle)) {
|
||||
$this->layout()->breadcrumbs .= '<li class="active">' . $this->escapeHtml($this->overrideTitle) . '</li>';
|
||||
} else {
|
||||
$this->layout()->breadcrumbs .= '<li class="active">' . $this->transEsc('Search') . ': ' . $this->escapeHtml($lookfor) . '</li>';
|
||||
}
|
||||
|
||||
|
||||
// Enable cart if appropriate:
|
||||
$this->showBulkOptions = $this->params->getOptions()->supportsCart() && $this->showBulkOptions;
|
||||
// Checkboxes if appropriate:
|
||||
$this->showCartControls = $this->params->getOptions()->supportsCart() && $this->cart()->isActive()
|
||||
&& ($this->showBulkOptions || !$this->cart()->isActiveInSearch());
|
||||
// Enable bulk options if appropriate:
|
||||
$this->showCheckboxes = $this->showCartControls || $this->showBulkOptions;
|
||||
|
||||
// Load Javascript only if list view parameter is NOT full:
|
||||
if ($this->params->getOptions()->getListViewOption() != "full") {
|
||||
$this->headScript()->appendFile("record.js");
|
||||
$this->headScript()->appendFile("embedded_record.js");
|
||||
}
|
||||
|
||||
// Load Javascript dependencies into header:
|
||||
$this->headScript()->appendFile("check_item_statuses.js");
|
||||
$this->headScript()->appendFile("check_save_statuses.js");
|
||||
$this->headScript()->appendFile("accordion.js");
|
||||
?>
|
||||
|
||||
<div class="<?=$this->layoutClass('mainbody')?>">
|
||||
|
||||
|
||||
<? if (($recordTotal = $this->results->getResultTotal()) > 0): // only display these at very top if we have results ?>
|
||||
|
||||
<nav class="search-header hidden-print">
|
||||
<div class="search-stats">
|
||||
<? if ($recordTotal > 0): ?>
|
||||
<?=$this->context()->renderInContext('search/controls/showing.phtml', ['lookfor' => $lookfor, 'recordTotal' => $recordTotal]) ?>
|
||||
<? else: ?>
|
||||
<h2><?=$this->transEsc('nohit_heading')?></h2>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="sortierung">
|
||||
<? if ($recordTotal > 0): ?>
|
||||
<div class="search-controls">
|
||||
<?=$this->render('search/controls/limit.phtml')?>
|
||||
<?=$this->render('search/controls/sort.phtml')?>
|
||||
<?=$this->render('search/controls/view.phtml')?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
|
||||
<? endif; ?>
|
||||
<?=$this->flashmessages()?>
|
||||
|
||||
<? /* End Listing Options */ ?>
|
||||
|
||||
<? if ($recordTotal < 1): ?>
|
||||
<p>
|
||||
<? if (isset($this->overrideEmptyMessage)): ?>
|
||||
<?=$this->overrideEmptyMessage?>
|
||||
<? else: ?>
|
||||
<? $this->layout()->srmessage = $this->translate('nohit_lookfor_html', ['%%lookfor%%' => $this->escapeHtml($lookfor)]); ?>
|
||||
<?=$this->layout()->srmessage ?>
|
||||
<? endif; ?>
|
||||
</p>
|
||||
<? if (isset($this->parseError)): ?>
|
||||
<p class="alert alert-danger"><?=$this->transEsc('nohit_parse_error')?></p>
|
||||
<? endif; ?>
|
||||
<? foreach (($top = $this->results->getRecommendations('top')) as $current): ?>
|
||||
<?=$this->recommend($current)?>
|
||||
<? endforeach; ?>
|
||||
<? foreach ($this->results->getRecommendations('noresults') as $current): ?>
|
||||
<? if (!in_array($current, $top)): ?>
|
||||
<?=$this->recommend($current)?>
|
||||
<? endif; ?>
|
||||
<? endforeach; ?>
|
||||
<? else: ?>
|
||||
<div class="ergebnisse">
|
||||
<span id="ergebnisliste"><?=$this->transEsc("Resultlist")?></span>
|
||||
</div>
|
||||
<div id="ergebnisfunktion" class="ergebnisfunktion">
|
||||
<span><?=$this->transEsc("Result Selection")?></span>
|
||||
</div>
|
||||
<div id="suchauswahl" class="show-content suchauswahl">
|
||||
<form id="search-cart-form" method="get" name="bulkActionForm" action="<?=$this->url('cart-searchresultsbulk')?>" data-lightbox data-lightbox-onsubmit="bulkFormHandler">
|
||||
<?=$this->context($this)->renderInContext('search/bulk-action-buttons.phtml', ['idPrefix' => ''])?>
|
||||
</form>
|
||||
</div>
|
||||
<?=$this->render('search/list-' . $this->params->getView() . '.phtml')?>
|
||||
<?=$this->paginationControl($this->results->getPaginator(), 'Sliding', 'search/pagination.phtml', ['results' => $this->results, 'options' => isset($this->paginationOptions) ? $this->paginationOptions : []])?>
|
||||
<div class="clear"></div>
|
||||
<div id="ergebnisfunktion2" class="ergebnisfunktion">
|
||||
<span><?=$this->transEsc("Result Selection")?></span>
|
||||
</div>
|
||||
<div id="suchauswahl2" class="show-content suchauswahl">
|
||||
<form id="search-cart-form" method="get" name="bulkActionForm" action="<?=$this->url('cart-searchresultsbulk')?>" data-lightbox data-lightbox-onsubmit="bulkFormHandler">
|
||||
<?=$this->context($this)->renderInContext('search/bulk-action-buttons.phtml', ['idPrefix' => 'bottom_'])?>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="searchtools hidden-print">
|
||||
<strong><?=$this->transEsc('Search Tools')?>:</strong>
|
||||
<a href="<?=$this->results->getUrlQuery()->setViewParam('rss')?>"><i class="fa fa-bell" aria-hidden="true"></i> <?=$this->transEsc('Get RSS Feed')?></a>
|
||||
|
|
||||
<a href="<?=$this->url('search-email')?>" class="mailSearch" data-lightbox id="mailSearch<?=$this->escapeHtmlAttr($this->results->getSearchId())?>">
|
||||
<i class="fa fa-envelope" aria-hidden="true"></i> <?=$this->transEsc('Email this Search')?>
|
||||
</a>
|
||||
<? if ($this->accountCapabilities()->getSavedSearchSetting() === 'enabled'): ?>
|
||||
|
|
||||
<? if (is_numeric($this->results->getSearchId())): ?>
|
||||
<? if ($this->results->isSavedSearch()): ?>
|
||||
<a href="<?=$this->url('myresearch-savesearch')?>?delete=<?=urlencode($this->results->getSearchId())?>"><i class="fa fa-remove" aria-hidden="true"></i> <?=$this->transEsc('save_search_remove')?></a>
|
||||
<? else: ?>
|
||||
<a href="<?=$this->url('myresearch-savesearch')?>?save=<?=urlencode($this->results->getSearchId())?>"><i class="fa fa-save" aria-hidden="true"></i> <?=$this->transEsc('save_search')?></a>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
<? /* End Main Listing */ ?>
|
||||
|
||||
<? /* Narrow Search Options */ ?>
|
||||
<div class="<?=$this->layoutClass('sidebar')?>">
|
||||
<? foreach ($this->results->getRecommendations('side') as $current): ?>
|
||||
<?=$this->recommend($current)?>
|
||||
<? endforeach; ?>
|
||||
</div>
|
||||
<? /* End Narrow Search Options */ ?>
|
||||
Loading…
Reference in New Issue
Block a user