// 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 (((strpos($current['url'],"search.ebscohost.com/login.aspx") !== false) || (strpos($current['url'], "econtent.hogrefe.com"))) !== false || strpos($current['url'],"research.ebsco.com/linkprocessor/") !== false || strlen($accessRestrictions[0]) > 0) if ((strncmp($current['url'],"https://search.ebscohost.com/login.aspx", strlen("https://search.ebscohost.com/login.aspx")) == 0) || (strpos($current['url'],"search.ebscohost.com/login.aspx") === true)) { $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'])):?>
| =$this->transEsc("Call Number")?>: |
foreach ($callNos as $callNo): ?>
if ($this->callnumberHandler): ?>
=$this->escapeHtml($callNo)?>
else: ?>
=$this->escapeHtml($callNo)?>
endif; ?>
endforeach; ?> |
|---|---|
| =$textFieldName == 'summary' ? $this->transEsc("Volume Holdings") : $this->transEsc(ucfirst($textFieldName))?>: |
foreach ($textFields as $current): ?>
=$this->escapeHtml($current)?> endforeach; ?> |
| =$this->transEsc("Copy")?> =$this->escapeHtml($row['number'])?> |
if (!$eBook && $row['reserve'] == "Y"): ?>
=$this->transEsc("On Reserve - Ask at Circulation Desk")?> endif; ?> if (isset($row['use_unknown_message']) && $row['use_unknown_message']): ?> =$this->transEsc("status_unknown_message")?> else: ?> if (!$eBook && $row['availability']): ?> /* Begin Available Items (Holds) */ ?> if (!$eBook && isset($row['enumchron']) && $row['enumchron']): ?> =$row['enumchron'] .": "?> endif;?> =$this->transEsc("Available")?> if (isset($row['link']) && $row['link']): ?> data-lightbox endif; ?>href="=$this->recordLink()->getRequestUrl($row['link'])?>"> =$this->transEsc($check ? "Check Hold" : "Place a Hold")?> endif; ?> if (isset($row['storageRetrievalRequestLink']) && $row['storageRetrievalRequestLink']): ?> =$this->transEsc($checkStorageRetrievalRequest ? "storage_retrieval_request_check_text" : "storage_retrieval_request_place_text")?> endif; ?> if (isset($row['ILLRequestLink']) && $row['ILLRequestLink']): ?> =$this->transEsc($checkILLRequest ? "ill_request_check_text" : "ill_request_place_text")?> 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) : ?> =$this->transEsc($row['status'])?> if (isset($row['returnDate']) && $row['returnDate']): ?>– =$this->escapeHtml($row['returnDate'])?> endif; ?> if (isset($row['duedate']) && $row['duedate']): ?> – =$this->transEsc("Due")?>: =$this->escapeHtml($row['duedate'])?> endif; ?> if (isset($row['requests_placed']) && $row['requests_placed'] > 0): ?> =$this->transEsc("Requests")?>: =$this->escapeHtml($row['requests_placed'])?> endif; ?> if ($row['reserve'] != "X"): ?> if (!$block && isset($row['link']) && $row['link']): ?> data-lightbox endif; ?>href="=$this->recordLink()->getRequestUrl($row['link'])?>"> =$this->transEsc($check ? "Check Recall" : "Recall This")?> endif; ?> endif ; ?> endif; ?> endif; ?> if (isset($row['item_notes'])): ?>
=$this->transEsc("Item Notes")?>:
endif; ?>
endif; ?>
/* Embed item structured data: library, barcode, call number */ ?>
if ($row['location']): ?>
endif; ?>
if ($row['barcode']): ?>
endif; ?>
if ($row['callnumber']): ?>
endif; ?>
/* Declare that the item is to be borrowed, not for sale */ ?>
|
| =$this->transEsc("Most Recent Received Issues")?>: |
foreach ($holding['purchase_history'] as $current): ?>
=$this->escapeHtml($current['issue'])?> endforeach; ?> |
| =$this->escapeHtml($row['issue'])?> |