CSS/Font-Pfade und Image-Pfade korrigiert: bibb -> BIBBNeo

This commit is contained in:
Roland Keck 2026-02-24 15:30:26 +01:00
parent 1031d0c949
commit 1e40c3df03
14 changed files with 22 additions and 21 deletions

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
<div class="title"><?=$this->transEsc('Remove Filters')?></div> <div class="title"><?=$this->transEsc('Remove Filters')?></div>
<?php foreach ($filterList as $field => $filters): ?> <?php foreach ($filterList as $field => $filters): ?>
<?php foreach ($filters as $i => $filter): ?> <?php foreach ($filters as $i => $filter): ?>
<? <?php
$index = isset($filter['field']) ? array_search($filter['field'], $collapsedFacets) : false; $index = isset($filter['field']) ? array_search($filter['field'], $collapsedFacets) : false;
if ($index !== false) { if ($index !== false) {
unset($collapsedFacets[$index]); // Open if we have a match unset($collapsedFacets[$index]); // Open if we have a match

View File

@ -11,7 +11,7 @@
$parts = explode("/", $license[0]); $parts = explode("/", $license[0]);
$rightsImage = $rightslink = ''; $rightsImage = $rightslink = '';
if (isset($parts) && count($parts) > 1) { if (isset($parts) && count($parts) > 1) {
$rightsImage = "/vufind/themes/bibb/images/".$parts[4].".png"; $rightsImage = "<?=$this->imageLink('')?>".$parts[4].".png";
$rightsLink = $license[0]; $rightsLink = $license[0];
} }
if (strlen($rightsLink == 0)) { if (strlen($rightsLink == 0)) {

View File

@ -41,16 +41,16 @@
if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF"; if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF";
if (isset($parts) && count($parts) > 1) { if (isset($parts) && count($parts) > 1) {
$rightsImage = "/vufind/themes/bibb/images/" .$parts[4].".png"; $rightsImage = "<?=$this->imageLink('')?>" .$parts[4].".png";
$rightsLink = $license[0]; $rightsLink = $license[0];
} }
$pdfLogo = "/vufind/themes/bibb/images/pdf.png"; $pdfLogo = "<?=$this->imageLink('pdf.png')?>";
if (strlen($rightsLink == 0)) { if (strlen($rightsLink == 0)) {
$right = isset($data['license'][0]) ? $data['license'][0] : '' ; $right = isset($data['license'][0]) ? $data['license'][0] : '' ;
if (strcmp($right,"Urheberrecht") == 0 || strcmp($right,"Deutsches Urheberrecht") == 0) { if (strcmp($right,"Urheberrecht") == 0 || strcmp($right,"Deutsches Urheberrecht") == 0) {
$rightsLink = "http://www.gesetze-im-internet.de/urhg"; $rightsLink = "http://www.gesetze-im-internet.de/urhg";
$rightsImage = "/vufind/themes/bibb/images/urheberrechtDe.png"; $rightsImage = "<?=$this->imageLink('urheberrechtDe.png')?>";
} }
} }

View File

@ -47,7 +47,7 @@
if (strlen(trim($filetype)) == 0) $filetype = "PDF"; if (strlen(trim($filetype)) == 0) $filetype = "PDF";
if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF"; if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF";
if (isset($parts) && count($parts) > 1) { if (isset($parts) && count($parts) > 1) {
$rightsImage = "/vufind/themes/bibb/images/".$parts[4].".png"; $rightsImage = "<?=$this->imageLink('')?>".$parts[4].".png";
$rightsLink = $license; $rightsLink = $license;
} }
if (strlen($rightsLink) == 0) { if (strlen($rightsLink) == 0) {
@ -139,7 +139,7 @@
<?php foreach($Collections as $Collection) : ?> <?php foreach($Collections as $Collection) : ?>
<?php if (strcmp($Collection,"VET Repository") == 0) : ?> <?php $img = "VET_Repository_small.png"; ?> <?php endif; ?> <?php if (strcmp($Collection,"VET Repository") == 0) : ?> <?php $img = "VET_Repository_small.png"; ?> <?php endif; ?>
<?php if (!strcmp($Collection,"VET Repository") == 0) : ?> <?php $img = "BIBB_library_small.png"; ?> <?php endif; ?> <?php if (!strcmp($Collection,"VET Repository") == 0) : ?> <?php $img = "BIBB_library_small.png"; ?> <?php endif; ?>
<img src="/vufind/themes/bibb/images/<?=$img?>"> <img src="<?=$this->imageLink('')?><?=$img?>">
<?php endforeach ; ?> <?php endforeach ; ?>
<?php endif; ?> <?php endif; ?>

View File

@ -13,7 +13,7 @@
} }
$availableLinks = [] ; $availableLinks = [] ;
$checkedOutLinks = [] ; $checkedOutLinks = [] ;
foreach ($holdings['holdings'] as $holding) { foreach (($holdings['holdings'] ?? []) as $holding) {
foreach ($holding['items'] as $row) { foreach ($holding['items'] as $row) {
if (strtolower($row['reserve']) == 'x') continue; if (strtolower($row['reserve']) == 'x') continue;
if (! isset($row['barcode']) || $row['barcode'] == "") continue; if (! isset($row['barcode']) || $row['barcode'] == "") continue;
@ -99,10 +99,10 @@
<?php if (!empty($availableLinks)) : ?> <?php if (!empty($availableLinks)) : ?>
<li><a class="save-record" <?=$availableLinks[0] ?></a></li> <li><a class="save-record" <?=$availableLinks[0] ?></a></li>
<?endif; ?> <?php endif; ?>
<?php if (empty($availableLinks) && !empty($checkedOutLinks)) : ?> <?php if (empty($availableLinks) && !empty($checkedOutLinks)) : ?>
<li><a <?=$checkedOutLinks[0] ?></a></li> <li><a <?=$checkedOutLinks[0] ?></a></li>
<?endif; ?> <?php endif; ?>
<?php if ($displayRequestForm > 0) : ?> <?php if ($displayRequestForm > 0) : ?>
<?php if ($orderText == 'Artikel') : ?> <?php if ($orderText == 'Artikel') : ?>
@ -115,7 +115,7 @@
<a class="feedbackLink" data-lightbox href="<?=$this->url('feedback-home') ."?function=requestPaper&comments=Beitrag: " .urlencode($articleTitle) .", " .urlencode($outText) ?>"><?=$this->transEsc('Request Paper in edited volumes')?></a> <a class="feedbackLink" data-lightbox href="<?=$this->url('feedback-home') ."?function=requestPaper&comments=Beitrag: " .urlencode($articleTitle) .", " .urlencode($outText) ?>"><?=$this->transEsc('Request Paper in edited volumes')?></a>
</li> </li>
<?php endif; ?> <?php endif; ?>
<?endif; ?> <?php endif; ?>

View File

@ -1,5 +1,5 @@
<div class="media" vocab="http://schema.org/" resource="#record" typeof="<?=$this->driver->getSchemaOrgFormats()?> Product"> <div class="media" vocab="http://schema.org/" resource="#record" typeof="<?=$this->driver->getSchemaOrgFormats()?> Product">
<? <?php
$QRCode = $this->record($this->driver)->getQRCode("core"); $QRCode = $this->record($this->driver)->getQRCode("core");
$coverDetails = $this->record($this->driver)->getCoverDetails('core', 'medium', $this->record($this->driver)->getThumbnail('large')); $coverDetails = $this->record($this->driver)->getCoverDetails('core', 'medium', $this->record($this->driver)->getThumbnail('large'));
$cover = $coverDetails['html']; $cover = $coverDetails['html'];

View File

@ -11,7 +11,7 @@
$parts = explode("/", $license[0]); $parts = explode("/", $license[0]);
$rightsImage = ''; $rightsImage = '';
if (isset($parts) && count($parts) > 1) { if (isset($parts) && count($parts) > 1) {
$rightsImage = "/vufind/themes/bibb/images/".$parts[4].".png"; $rightsImage = "<?=$this->imageLink('')?>".$parts[4].".png";
} }
} }
*/ */

View File

@ -14,7 +14,7 @@
$parts = explode("/", $license[0]); $parts = explode("/", $license[0]);
$rightsImage = ''; $rightsImage = '';
if (isset($parts) && count($parts) > 1) { if (isset($parts) && count($parts) > 1) {
$rightsImage = "/vufind/themes/bibb/images/".$parts[4].".png"; $rightsImage = "<?=$this->imageLink('')?>".$parts[4].".png";
} }
} }
*/ */

View File

@ -116,7 +116,7 @@
<?php // $format = $this->driver->getFormats(); print_r($format) ; ?> <?php // $format = $this->driver->getFormats(); print_r($format) ; ?>
<?php $eBook = in_array("eBook",$this->driver->getFormats()) ? true : false ?> <?php $eBook = in_array("eBook",$this->driver->getFormats()) ? true : false ?>
<td><?=$this->record($this->driver)->getFormatList() ?></td> <td><?=$this->record($this->driver)->getFormatList() ?></td>
<td> <img src="/vufind/themes/bibb/images/BIBB_library_small.png"> </td> <td> <img src="<?=$this->imageLink('BIBB_library_small.png')?>"> </td>
<td> <td>
<?php $summCallNo = $this->driver->getCallNumber(); if (!empty($summCallNo)): ?> <?php $summCallNo = $this->driver->getCallNumber(); if (!empty($summCallNo)): ?>

View File

@ -138,7 +138,7 @@
<?php endif; ?> <?php endif; ?>
<?php if ($openUrlActive): ?><?=$openUrl->renderTemplate()?><?php endif; ?> <?php if ($openUrlActive): ?><?=$openUrl->renderTemplate()?><?php endif; ?>
<?php endif; ?> <?php endif; ?>
<?php foreach ($holdings['holdings'] as $holding): ?> <?php foreach (($holdings['holdings'] ?? []) as $holding) : ?>
<h3> <h3>
<?php $locationText = $this->transEsc('location_' . $holding['location'], [], $holding['location']); ?> <?php $locationText = $this->transEsc('location_' . $holding['location'], [], $holding['location']); ?>
<?php // RKE: Ergänzung wegen eBooks: Darstellung des Status aus Koha ?> <?php // RKE: Ergänzung wegen eBooks: Darstellung des Status aus Koha ?>

1
templates/XXX Normal file

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
<div class="navigation-header"> <div class="navigation-header">
<div class="inside"> <div class="inside">
<a href="https://www.bibb.de" style="float:left; padding: 10px 0 10px 40px;"> <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;"> <img src="<?=$this->imageLink('bibb_logo.svg')?>" alt="Logo Bibb" height="20px" style="float:left; margin-right:20px;">
</a> </a>
<ul> <ul>
@ -58,8 +58,8 @@
ENDE Hinweisfenster auf Hauptbildschirm --> ENDE Hinweisfenster auf Hauptbildschirm -->
<div class="header-logo"> <div class="header-logo">
<a href="/vufind"> <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="<?=$this->imageLink('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"> <img src="<?=$this->imageLink('bibb_library_logo.png')?>" height="21" alt="Logo BIBB-Bibliothek">
</a> </a>
</div> </div>

View File

@ -15,7 +15,7 @@
// Set up breadcrumbs: // Set up breadcrumbs:
$this->layout()->breadcrumbs = '<li>' . $this->searchMemory()->getLastSearchLink($this->transEsc('Resultlist'), '', '</li> ') . $this->layout()->breadcrumbs = '<li>' . $this->searchMemory()->getLastSearchLink($this->transEsc('Resultlist'), '', '</li> ') .
'<li class="active">' . $this->recordLinker($this->results)->getBreadcrumb($this->driver) . '</li> '; '<li class="active">' . $this->recordLinker()->getBreadcrumbHtml($this->driver) . '</li> ';
$this->layout()->title = $this->driver->getShortTitle(); $this->layout()->title = $this->driver->getShortTitle();
?> ?>