addThis(); if (!empty($addThis)) { $this->headScript()->appendFile('https://s7.addthis.com/js/250/addthis_widget.js?pub=' . urlencode($addThis)); } ?> ils()->getOfflineMode(); try { $holdings = $this->driver->getRealTimeHoldings(); } catch (\VuFind\Exception\ILS $e) { $holdings = ['holdings' => []]; $offlineMode = 'ils-offline'; } $availableLinks = [] ; $checkedOutLinks = [] ; foreach ($holdings['holdings'] as $holding) { foreach ($holding['items'] as $row) { 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'], "Available") != 0) && (strcmp($row['status'], "Checked Out") != 0)) continue; $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 ; } } } } ?> 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 .")"; } ?>