diff --git a/.gitignore b/.gitignore
index bda26e5..9552377 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
*.bak
*.20*
*.old
+*.swp
diff --git a/templates/Citation/bibb-article-bwp.phtml b/templates/Citation/bibb-article-bwp.phtml
index 3b581da..b4fe5c9 100644
--- a/templates/Citation/bibb-article-bwp.phtml
+++ b/templates/Citation/bibb-article-bwp.phtml
@@ -1,4 +1,4 @@
-
+authors);
@@ -51,24 +51,24 @@ if ($pos !== false) {
}
?>
- if (!empty($this->authors)): ?>=$nameout?> endif; ?>
- if (!empty($this->title)) : ?>=$this->escapeHtml($this->title)?> if ($this->periodAfterTitle): ?> endif; ?> endif; ?>
+authors)): ?>=$nameout?>
+title)) : ?>=$this->escapeHtml($this->title)?>periodAfterTitle): ?>
In:
= $authors ?> = trim(str_replace(array(":", ","), array("–",""),$vol)) ?>
- if (!empty($this->volume) || !empty($vol)): ?> endif; ?>
+ volume) || !empty($vol)): ?>
- if (!empty($this->issue)): ?>
+issue)): ?>
(
=$this->escapeHtml($this->issue)?>
)
- endif; ?>
- if (!empty($this->volume) || !empty($this->issue)): ?>
- endif; ?>
- if (!empty($this->pubPlace)) : ?>=$this->escapeHtml($this->pubPlace)?> endif; ?>
- if (!empty($this->volume)): ?>=$this->escapeHtml(str_replace(array("H.",",") ,array("",""),$this->volume))?>, endif; ?>
- if (empty($this->volume)) : ?> if (!empty($this->year)) : ?> =$this->escapeHtml($this->year)?> endif; ?> endif; ?>
- if (!empty($this->pageRange)) : ?> =$this->escapeHtml(str_replace("Seite","S.",$this->pageRange))?>
- if (isset($this->doi)): ?>. doi:=$this->escapeHtml($this->doi)?> endif; ?>
+
+volume) || !empty($this->issue)): ?>
+
+pubPlace)) : ?>=$this->escapeHtml($this->pubPlace)?>
+volume)): ?>=$this->escapeHtml(str_replace(array("H.",",") ,array("",""),$this->volume))?>,
+volume)) : ?> year)) : ?> =$this->escapeHtml($this->year)?>
+pageRange)) : ?> =$this->escapeHtml(str_replace("Seite","S.",$this->pageRange))?>
+doi)): ?>. doi:=$this->escapeHtml($this->doi)?>
diff --git a/templates/Citation/bibb-article.phtml b/templates/Citation/bibb-article.phtml
index 556052f..9a03476 100644
--- a/templates/Citation/bibb-article.phtml
+++ b/templates/Citation/bibb-article.phtml
@@ -1,4 +1,4 @@
-
+authors);
@@ -51,24 +51,24 @@ if ($pos !== false) {
}
?>
- if (!empty($this->authors)): ?>=$nameout?> endif; ?>
- if (!empty($this->title)) : ?>=$this->escapeHtml($this->title)?> if ($this->periodAfterTitle): ?> endif; ?> endif; ?>
+authors)): ?>=$nameout?>
+title)) : ?>=$this->escapeHtml($this->title)?>periodAfterTitle): ?>
In:
= $authors ?> = trim(str_replace(array(":", ","), array("–",""),$vol)) ?>
- if (!empty($this->volume) || !empty($vol)): ?> endif; ?>
+ volume) || !empty($vol)): ?>
- if (!empty($this->issue)): ?>
+issue)): ?>
(
=$this->escapeHtml($this->issue)?>
)
- endif; ?>
- if (!empty($this->volume) || !empty($this->issue)): ?>
- endif; ?>
- if (!empty($this->pubPlace)) : ?>=$this->escapeHtml($this->pubPlace)?> endif; ?>
- if (!empty($this->volume)): ?>=$this->escapeHtml(str_replace(array("H.",",") ,array("",""),$this->volume))?>, endif; ?>
- if (empty($this->volume)) : ?> if (!empty($this->year)) : ?> =$this->escapeHtml($this->year)?> endif; ?> endif; ?>
- if (!empty($this->pageRange)) : ?> =$this->escapeHtml(str_replace("Seite","S.",$this->pageRange))?>
- if (isset($this->doi)): ?>. doi:=$this->escapeHtml($this->doi)?> endif; ?>
+
+volume) || !empty($this->issue)): ?>
+
+pubPlace)) : ?>=$this->escapeHtml($this->pubPlace)?>
+volume)): ?>=$this->escapeHtml(str_replace(array("H.",",") ,array("",""),$this->volume))?>,
+volume)) : ?> year)) : ?> =$this->escapeHtml($this->year)?>
+pageRange)) : ?> =$this->escapeHtml(str_replace("Seite","S.",$this->pageRange))?>
+doi)): ?>. doi:=$this->escapeHtml($this->doi)?>
diff --git a/templates/Citation/bibb-bwp.phtml b/templates/Citation/bibb-bwp.phtml
index 8bd04c4..3151db2 100644
--- a/templates/Citation/bibb-bwp.phtml
+++ b/templates/Citation/bibb-bwp.phtml
@@ -1,4 +1,4 @@
-
+authors > 1) ? $names = explode(";", $this->authors) : $names[] = $this->authors .".";
@@ -24,8 +24,8 @@ if (strcmp($this->role, "edt") == 0) {
?>
- if (!empty($this->authors)): ?>=$nameout?> endif; ?>
- if (!empty($this->title)) : ?>=$this->escapeHtml($this->title)?> if ($this->periodAfterTitle): ?>. endif; ?> endif; ?>
- if (!empty($this->pubPlace)): ?>=$this->escapeHtml($this->pubPlace)?> endif; ?>
- if (!empty($this->year)): ?>=$this->escapeHtml($this->year)?> endif; ?>
+authors)): ?>=$nameout?>
+title)) : ?>=$this->escapeHtml($this->title)?>periodAfterTitle): ?>.
+pubPlace)): ?>=$this->escapeHtml($this->pubPlace)?>
+year)): ?>=$this->escapeHtml($this->year)?>
diff --git a/templates/Citation/bibb.phtml b/templates/Citation/bibb.phtml
index 697e2ab..bdc73f9 100644
--- a/templates/Citation/bibb.phtml
+++ b/templates/Citation/bibb.phtml
@@ -1,4 +1,4 @@
-
+authors);
@@ -20,8 +20,8 @@ if (strcmp($this->role, "edt") == 0) {
?>
- if (!empty($this->authors)): ?>=$nameout?> endif; ?>
- if (!empty($this->title)) : ?>=$this->escapeHtml($this->title)?> if ($this->periodAfterTitle): ?>. endif; ?> endif; ?>
- if (!empty($this->pubPlace)): ?>=$this->escapeHtml($this->pubPlace)?> endif; ?>
- if (!empty($this->year)): ?>=$this->escapeHtml($this->year)?> endif; ?>
+authors)): ?>=$nameout?>
+title)) : ?>=$this->escapeHtml($this->title)?>periodAfterTitle): ?>.
+pubPlace)): ?>=$this->escapeHtml($this->pubPlace)?>
+year)): ?>=$this->escapeHtml($this->year)?>
diff --git a/templates/Recommend/SideFacets.phtml b/templates/Recommend/SideFacets.phtml
index 10faccf..62a33bb 100755
--- a/templates/Recommend/SideFacets.phtml
+++ b/templates/Recommend/SideFacets.phtml
@@ -1,16 +1,16 @@
-
+headScript()->appendFile('facets.js');
// Save results/options to $this so they are available to sub-templates:
$this->results = $results = $this->recommend->getResults();
$this->options = $options = $this->searchOptions($this->searchClassId);
?>
- if ($results->getResultTotal() > 0): ?>
+getResultTotal() > 0): ?>
=$this->transEsc(isset($this->overrideSideFacetCaption) ? $this->overrideSideFacetCaption : 'Narrow Search')?>
- endif; ?>
- $checkboxFilters = $results->getParams()->getCheckboxFacets(); ?>
- $checkboxesShown = false; ?>
- if (count($checkboxFilters) > 0):
+
+getParams()->getCheckboxFacets(); ?>
+
+ 0):
foreach ($checkboxFilters as $current) {
if ($results->getResultTotal() > 0 || $current['selected'] || $current['alwaysVisible']) {
$checkboxesShown = true;
@@ -22,54 +22,54 @@
=$this->context($this)->renderInContext('Recommend/SideFacets/checkbox-filters.phtml', ['checkboxFilters' => $checkboxFilters, 'results' => $results]); ?>
- endif; ?>
- endif; ?>
- $extraFilters = isset($this->extraSideFacetFilters) ? $this->extraSideFacetFilters : []; ?>
- $collapsedFacets = $this->recommend->getCollapsedFacets() ?>
- $filterList = array_merge($results->getParams()->getFilterList(true), $extraFilters); ?>
- if (!empty($filterList)): ?>
+
+
+extraSideFacetFilters) ? $this->extraSideFacetFilters : []; ?>
+recommend->getCollapsedFacets() ?>
+getParams()->getFilterList(true), $extraFilters); ?>
+
=$this->context($this)->renderInContext('Recommend/SideFacets/filter-list.phtml', [
'collapsedFacets' => $collapsedFacets,
'extraFilters' => $extraFilters,
'filterList' => $filterList,
]); ?>
- endif; ?>
+
= isset($this->sideFacetExtraControls) ? $this->sideFacetExtraControls : '' ?>
- $sideFacetSet = $this->recommend->getFacetSet(); $rangeFacets = $this->recommend->getAllRangeFacets(); ?>
- $hierarchicalFacets = $this->recommend->getHierarchicalFacets() ?>
- $hierarchicalFacetSortOptions = $this->recommend->getHierarchicalFacetSortOptions() ?>
- if (!empty($sideFacetSet) && $results->getResultTotal() > 0): ?>
- foreach ($sideFacetSet as $title => $cluster): ?>
+recommend->getFacetSet(); $rangeFacets = $this->recommend->getAllRangeFacets(); ?>
+recommend->getHierarchicalFacets() ?>
+recommend->getHierarchicalFacetSortOptions() ?>
+getResultTotal() > 0): ?>
+ $cluster): ?>
-
+
=$this->transEsc($cluster['label'])?>
-
- if (isset($rangeFacets[$title])): ?>
+
+
=$this->context($this)->renderInContext('Recommend/SideFacets/range-slider.phtml', ['title' => $title, 'facet' => $rangeFacets[$title]]); ?>
- else: ?>
- $contextVars = [
+
+ $this->recommend->excludeAllowed($title),
'title' => $title,
'sortOptions' => isset($hierarchicalFacetSortOptions[$title]) ? $hierarchicalFacetSortOptions[$title] : '',
'collapsedFacets' => $collapsedFacets
]; ?>
- if (in_array($title, $hierarchicalFacets)): ?>
+
=$this->context($this)->renderInContext('Recommend/SideFacets/hierarchical-facet.phtml', $contextVars); ?>
- endif; ?>
- $contextVars = [
+
+ $options,
'allowExclude' => $this->recommend->excludeAllowed($title),
'facets_before_more' => $this->recommend->getShowMoreSetting($title),
'showMoreInLightbox' => $this->recommend->getShowInLightboxSetting($title)
]; ?>
=$this->context($this)->renderInContext('Recommend/SideFacets/cluster-list.phtml', array_merge($contextVars, ['title' => $title, 'cluster' => $cluster])); ?>
- if (in_array($title, $hierarchicalFacets)): ?>
+
- endif; ?>
- endif; ?>
+
+
- endforeach; ?>
- endif; ?>
+
+
diff --git a/templates/Recommend/SideFacets/checkbox-filters.phtml b/templates/Recommend/SideFacets/checkbox-filters.phtml
index 320c479..6facf9e 100755
--- a/templates/Recommend/SideFacets/checkbox-filters.phtml
+++ b/templates/Recommend/SideFacets/checkbox-filters.phtml
@@ -1,6 +1,6 @@
- foreach ($checkboxFilters as $current): ?>
-
+
+
=$this->transEsc($current['desc']) ?>
- endforeach; ?>
+
diff --git a/templates/Recommend/SideFacets/cluster-list.phtml b/templates/Recommend/SideFacets/cluster-list.phtml
index a6e6fb9..d80e663 100755
--- a/templates/Recommend/SideFacets/cluster-list.phtml
+++ b/templates/Recommend/SideFacets/cluster-list.phtml
@@ -1,73 +1,73 @@
- $idAndClass = 'id="more-narrowGroupHidden-'.$this->escapeHtmlAttr($this->title).'" class="facet narrow-toggle"'; ?>
- $moreClass = 'narrowGroupHidden-'.$this->escapeHtmlAttr($this->title).' hidden'; ?>
- foreach ($this->cluster['list'] as $i => $thisFacet): ?>
+escapeHtmlAttr($this->title).'" class="facet narrow-toggle"'; ?>
+escapeHtmlAttr($this->title).' hidden'; ?>
+cluster['list'] as $i => $thisFacet): ?>
if(empty($thisFacet['displayText'])) {
$thisFacet['displayText'] = "-";
}
?>
- /* MORE link */ ?>
- if ($i == $this->facets_before_more): ?>
- if ($facetLightbox = $this->options->getFacetListAction()): ?>
- $moreUrl = $this->url($facetLightbox) . $results->getUrlQuery()->getParams() . '&facet=' . $this->title . '&facetop=' . $thisFacet['operator'] . '&facetexclude=' . ($this->allowExclude ? 1 : 0); ?>
- else: ?>
- $moreUrl = '#'; ?>
- endif; ?>
- if (($this->showMoreInLightbox && $this->showMoreInLightbox !== 'more') && $facetLightbox): ?>
+
+ facets_before_more): ?>
+ options->getFacetListAction()): ?>
+ url($facetLightbox) . $results->getUrlQuery()->getParams() . '&facet=' . $this->title . '&facetop=' . $thisFacet['operator'] . '&facetexclude=' . ($this->allowExclude ? 1 : 0); ?>
+
+
+
+ showMoreInLightbox && $this->showMoreInLightbox !== 'more') && $facetLightbox): ?>
data-lightbox href="=$moreUrl ?>" rel="nofollow">=$this->transEsc('more')?> ...
- break; ?>
- endif; ?>
+
+
href="=$moreUrl ?>" onclick="return moreFacets('narrowGroupHidden-=$this->escapeHtmlAttr($this->title) ?>')" rel="nofollow">=$this->transEsc('more')?> ...
- endif; ?>
+
$affectiveURL = $thisFacet['isApplied']
? $this->currentPath() . $results->getUrlQuery()->removeFacet($this->title, $thisFacet['value'], $thisFacet['operator'])
: $this->currentPath() . $results->getUrlQuery()->addFacet($this->title, $thisFacet['value'], $thisFacet['operator']);
?>
- if (!$thisFacet['isApplied'] && $this->allowExclude): ?>
-
- $excludeURL = $thisFacet['isApplied']
+ allowExclude): ?>
+
- else: ?>
+
- endif; ?>
- endforeach; ?>
+
+
- /* LESS and SEE MORE links */ ?>
- if ($i >= $this->facets_before_more): ?>
- if ($this->showMoreInLightbox === 'more' && $facetLightbox = $options->getFacetListAction()): ?>
- $moreUrl = $this->url($facetLightbox) . $results->getUrlQuery()->getParams().'&facet='.$this->title.'&facetop='.$thisFacet['operator'].'&facetexclude='.($this->allowExclude ? 1 : 0); ?>
+
+= $this->facets_before_more): ?>
+ showMoreInLightbox === 'more' && $facetLightbox = $options->getFacetListAction()): ?>
+ url($facetLightbox) . $results->getUrlQuery()->getParams().'&facet='.$this->title.'&facetop='.$thisFacet['operator'].'&facetexclude='.($this->allowExclude ? 1 : 0); ?>
=$this->transEsc('see all')?> ...
- endif; ?>
+
=$this->transEsc('less')?> ...
- endif; ?>
+
diff --git a/templates/Recommend/SideFacets/filter-list.phtml b/templates/Recommend/SideFacets/filter-list.phtml
index 085d50c..5bf9aa4 100755
--- a/templates/Recommend/SideFacets/filter-list.phtml
+++ b/templates/Recommend/SideFacets/filter-list.phtml
@@ -1,7 +1,7 @@
diff --git a/templates/Recommend/SideFacets/range-slider.phtml b/templates/Recommend/SideFacets/range-slider.phtml
index 27576ba..ceab345 100755
--- a/templates/Recommend/SideFacets/range-slider.phtml
+++ b/templates/Recommend/SideFacets/range-slider.phtml
@@ -3,7 +3,7 @@
=$results->getUrlQuery()->asHiddenFields(['page' => "/./", 'filter' => "/^{$this->title}:.*/"])?>
- if ($this->facet['type'] == 'date'): ?>
+ facet['type'] == 'date'): ?>
- endif; ?>
+
- if ($this->facet['type'] == 'date'): ?>
- $this->headScript()->appendFile('vendor/bootstrap-slider.min.js'); ?>
- $this->headLink()->appendStylesheet('vendor/bootstrap-slider.min.css'); ?>
+facet['type'] == 'date'): ?>
+ headScript()->appendFile('vendor/bootstrap-slider.min.js'); ?>
+ headLink()->appendStylesheet('vendor/bootstrap-slider.min.css'); ?>
$min = !empty($this->facet['values'][0]) ? min($this->facet['values'][0], 1400) : 1400;
$future = date('Y', time()+31536000); // next year
@@ -59,5 +59,5 @@ $('#{$this->escapeHtmlAttr($this->title)}from, #{$this->escapeHtmlAttr($this->ti
});
JS;
?>
- =$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $script, 'SET'); ?>
- endif; ?>
+ =$this->inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, $script, 'SET'); ?>
+
diff --git a/templates/Recommend/SwitchTab.phtml b/templates/Recommend/SwitchTab.phtml
index 3edf006..edf3dc6 100755
--- a/templates/Recommend/SwitchTab.phtml
+++ b/templates/Recommend/SwitchTab.phtml
@@ -1,20 +1,20 @@
-
+params)
? $this->searchtabs()->getTabConfigForParams($this->params) : [];
?>
- if (count($searchTabs) > 0): ?>
+ 0): ?>
- if (strcmp($this->translate($this->recommend->getActiveTab($searchTabs)['label']), "Gesamtbestand") == 0) return; ?>
+translate($this->recommend->getActiveTab($searchTabs)['label']), "Gesamtbestand") == 0) return; ?>
=$this->transEsc('nohit_change_tab', ['%%activeTab%%' => $this->translate($this->recommend->getActiveTab($searchTabs)['label'])])?>
- endif; ?>
+
diff --git a/templates/Recommend/TopFacets.phtml b/templates/Recommend/TopFacets.phtml
index 2aec426..ffcd89b 100755
--- a/templates/Recommend/TopFacets.phtml
+++ b/templates/Recommend/TopFacets.phtml
@@ -1,18 +1,18 @@
-
+recommend->getTopFacetSet();
$topFacetSettings = $this->recommend->getTopFacetSettings();
$results = $this->recommend->getResults();
?>
- if (isset($topFacetSet)): ?>
- foreach($topFacetSet as $title => $cluster): ?>
- $moreClass = ' NarrowGroupHidden_'.$this->escapeHtml($title).' hidden'; ?>
- $allowExclude = $this->recommend->excludeAllowed($title); ?>
+
+ $cluster): ?>
+ escapeHtml($title).' hidden'; ?>
+ recommend->excludeAllowed($title); ?>
- endforeach; ?>
- endif; ?>
+
+
diff --git a/templates/RecordDriver/SolrAuth/list-entry.phtml b/templates/RecordDriver/SolrAuth/list-entry.phtml
index 68df62a..e22e2df 100755
--- a/templates/RecordDriver/SolrAuth/list-entry.phtml
+++ b/templates/RecordDriver/SolrAuth/list-entry.phtml
@@ -1,4 +1,4 @@
-
+driver->getUniqueId();
$source = $this->driver->getSourceIdentifier();
@@ -19,61 +19,61 @@
=$cover ?>
- $thumbnail = ob_get_contents(); ?>
- ob_end_clean(); ?>
- endif; ?>
-
+
+
+
+
=$this->record($this->driver)->getCheckbox()?>
diff --git a/templates/RecordDriver/SolrAuth/result-list.phtml b/templates/RecordDriver/SolrAuth/result-list.phtml
index bd9904b..590ab27 100644
--- a/templates/RecordDriver/SolrAuth/result-list.phtml
+++ b/templates/RecordDriver/SolrAuth/result-list.phtml
@@ -1,4 +1,4 @@
-
+driver->getTitle();
if (empty($heading)) {
$heading = $this->translate('Heading unavailable.');
@@ -47,21 +47,21 @@
&type== $searchFields[ $authorityType] ?>&limit=20&sort=year">= $this->escapeHTML($heading) ?>
(= $this->transEsc($authorityType) ?>)
- //if ($authorityType == "Subject") : ?>
-
- // endif ; ?>
- if (!empty($coreFields['Scopenote'])) : ?>
+
+
+
+
=$this->escapeHtml($coreFields['Scopenote'])?>
- endif ; ?>
- if (!empty($useForText)) : ?>
+
+
= $this->transEsc('Use for') ?>:
= $useForText ?>
- endif ; ?>
+
- $c= empty($coreFields['See also']) && empty($coreFields['Related term']) && empty($coreFields['Narrower term']) && empty($coreFields['Broader term']) && empty($coreFields['Used later']) && empty($coreFields['Used earlier']) ?>
- if ($c === false) : ?>
+
+
//= $c ?>
@@ -76,26 +76,26 @@
=$this->transEsc("Term")?>
- foreach ($coreFields as $key => $current): ?>
- $displayed = false ?>
- if ($key != "Scopenote" && $key != "Use for" && $key != "Authority type") : ?>
- if ($displayed === false) : ?>
- if (!empty ($coreFields[$key] )) : ?>
+ $current): ?>
+
+
+
+
=$this->transEsc($key)?>:
- $displayed = true; ?>
- endif; ?>
- endif ; ?>
- foreach($current as $entry) : ?>
- $tmp = explode("|", $entry) ; list($id, $text) = $tmp; ?>
+
+
+
+
+
=$this->escapeHtml($text)?>
- endforeach; ?>
+
- endif ; ?>
- endforeach ;?>
+
+
- endif ; ?>
+
/* End Main Details */?>
diff --git a/templates/RecordDriver/SolrDefault/SolrDefault.php b/templates/RecordDriver/SolrDefault/SolrDefault.php
index 4480ef9..5a000f0 100755
--- a/templates/RecordDriver/SolrDefault/SolrDefault.php
+++ b/templates/RecordDriver/SolrDefault/SolrDefault.php
@@ -129,11 +129,11 @@ class SolrDefault extends AbstractBase
/**
* Constructor
*
- * @param \Zend\Config\Config $mainConfig VuFind main configuration (omit for
+ * @param \Laminas\Config\Config $mainConfig VuFind main configuration (omit for
* built-in defaults)
- * @param \Zend\Config\Config $recordConfig Record-specific configuration file
+ * @param \Laminas\Config\Config $recordConfig Record-specific configuration file
* (omit to use $mainConfig as $recordConfig)
- * @param \Zend\Config\Config $searchSettings Search-specific configuration file
+ * @param \Laminas\Config\Config $searchSettings Search-specific configuration file
*/
public function __construct($mainConfig = null, $recordConfig = null,
$searchSettings = null
diff --git a/templates/RecordDriver/SolrDefault/core.phtml b/templates/RecordDriver/SolrDefault/core.phtml
index f296aa4..94f356f 100755
--- a/templates/RecordDriver/SolrDefault/core.phtml
+++ b/templates/RecordDriver/SolrDefault/core.phtml
@@ -21,60 +21,60 @@
if (strlen(trim($filetype)) == 0) $filetype = "PDF";
if (strcmp(trim(strtoupper($filetype)), "ADOBE PDF") == 0) $filetype = "PDF";
?>
- if ($QRCode || $cover || $preview): ?>
+
- endif; ?>
+
=$this->escapeHtml($this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection())?>
- $summary = $this->driver->getSummary(); $summary = isset($summary[0]) ? $this->escapeHtml($summary[0]) : false; ?>
- if ($summary): ?>
+ driver->getSummary(); $summary = isset($summary[0]) ? $this->escapeHtml($summary[0]) : false; ?>
+
=$this->truncate($summary, 300)?>
- if(strlen($summary) > 300): ?>
+ 300): ?>
#tabnav'>=$this->transEsc('Full description')?>
- endif; ?>
- endif; ?>
+
+
- if ($this->userlist()->getMode() !== 'disabled'): ?>
- /* Display the lists that this record is saved to */ ?>
+ userlist()->getMode() !== 'disabled'): ?>
+
=$this->transEsc("Saved in")?>:
- endif; ?>
+
/* Display Main Details */?>
@@ -83,17 +83,17 @@
//print_r($coreFields);
?>
- if (!empty($coreFields)) : ?>
+
- foreach ($coreFields as $key => $current): ?>
- if (strcmp($key,"Language") == 0): ?>
+ $current): ?>
+
$tr = "Language::" .$current['value'] ; ?>
=$this->transEsc($key)?>: =$this->translate("$tr")?>
- continue; ?>
- endif; ?>
+
+
=$this->transEsc($key)?>: =$current['value']?>
- endforeach; ?>
- endif; ?>
+
+
/* End Main Details */?>
diff --git a/templates/RecordDriver/SolrDefault/data-allClassificationHeadings.phtml b/templates/RecordDriver/SolrDefault/data-allClassificationHeadings.phtml
index 767f896..351b81b 100755
--- a/templates/RecordDriver/SolrDefault/data-allClassificationHeadings.phtml
+++ b/templates/RecordDriver/SolrDefault/data-allClassificationHeadings.phtml
@@ -1,7 +1,7 @@
- if (! isset($subfield)) $subfield ='';
+
- endforeach; ?>
+
diff --git a/templates/RecordDriver/SolrDefault/data-allRecordLinks.phtml b/templates/RecordDriver/SolrDefault/data-allRecordLinks.phtml
index 40ad425..fda9f90 100755
--- a/templates/RecordDriver/SolrDefault/data-allRecordLinks.phtml
+++ b/templates/RecordDriver/SolrDefault/data-allRecordLinks.phtml
@@ -1,13 +1,13 @@
- foreach ($data as $recordLink): ?>
- $link = str_replace("type=id","type=ctrlnum",$this->recordLink()->related($recordLink['link'])); ?>
+
+ recordLink()->related($recordLink['link'])); ?>
=$this->transEsc($recordLink['title'])?>:
- // print_r($recordLink['link']); ?>
+
">=$this->escapeHtml($recordLink['value'])?>
- endforeach; ?>
- /* if we have record links, display relevant explanatory notes */
+
+driver->getRelationshipNotes();
if (!empty($related)): ?>
- foreach ($related as $field): ?>
+
=$this->escapeHtml($field)?>
- endforeach; ?>
- endif; ?>
+
+
diff --git a/templates/RecordDriver/SolrDefault/data-allSubjectHeadings.phtml b/templates/RecordDriver/SolrDefault/data-allSubjectHeadings.phtml
index 2ab86fa..0b2fd59 100755
--- a/templates/RecordDriver/SolrDefault/data-allSubjectHeadings.phtml
+++ b/templates/RecordDriver/SolrDefault/data-allSubjectHeadings.phtml
@@ -1,11 +1,11 @@
- foreach ($data as $field): ?>
+
- $subject = ''; ?>
- if(count($field) == 1) $field = explode('--', $field[0]); ?>
- $i = 0; foreach ($field as $subfield): ?>
+
+
+
=($i++ == 0) ? '' : ' > '?>
- $subject = trim($subject . ' ' . $subfield); ?>
+
=trim($this->escapeHtml($subfield))?>
- endforeach; ?>
+
- endforeach; ?>
+
diff --git a/templates/RecordDriver/SolrDefault/data-authors.phtml b/templates/RecordDriver/SolrDefault/data-authors.phtml
index 1c6b991..b3de1d8 100755
--- a/templates/RecordDriver/SolrDefault/data-authors.phtml
+++ b/templates/RecordDriver/SolrDefault/data-authors.phtml
@@ -1,4 +1,4 @@
-
+
- if (!empty($data[$type])): ?>
- foreach ($data[$type] as $author => $dataFields): ?>
- ob_start(); ?>
+
+ $dataFields): ?>
+
=$this->escapeHtml($author)?>
@@ -37,6 +37,6 @@ $formattedAuthors = [];
$formattedAuthors[] = trim(preg_replace('/\s+<\//', '', ob_get_contents()));
ob_end_clean();
?>
- endforeach; ?>
- endif; ?>
+
+
=implode('; ', $formattedAuthors)?>
diff --git a/templates/RecordDriver/SolrDefault/data-containerTitle.phtml b/templates/RecordDriver/SolrDefault/data-containerTitle.phtml
index a5bf359..87078f9 100755
--- a/templates/RecordDriver/SolrDefault/data-containerTitle.phtml
+++ b/templates/RecordDriver/SolrDefault/data-containerTitle.phtml
@@ -1,4 +1,4 @@
-
+driver->getSourceIdentifier();
$containerID = $this->driver->getContainerRecordID();
$containerVolume = $this->driver->getContainerVolume();
diff --git a/templates/RecordDriver/SolrDefault/data-onlineAccess.phtml b/templates/RecordDriver/SolrDefault/data-onlineAccess.phtml
index 2f69ca2..0e24217 100755
--- a/templates/RecordDriver/SolrDefault/data-onlineAccess.phtml
+++ b/templates/RecordDriver/SolrDefault/data-onlineAccess.phtml
@@ -1,4 +1,4 @@
-
+openUrl($this->driver, 'record');
$openUrlActive = $openUrl->isActive();
// Account for replace_other_urls setting
@@ -31,76 +31,76 @@
?>
- if (!empty($urls) || $openUrlActive): ?>
- $extend =''; ?>
- if (isset($data['extend'])) : ?>
- $extend = "(" .$data['extend'][0] .")"; ?>
- endif; ?>
+
+
+
+
+
- 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 ($voevzlink)) : ?> $current['url'] = $voevzlink; ?>
- $current['desc'] = "Volltext"; ?>
- if (($start = strrpos($current['url'], "(")) !== false) : ?>
- $current['desc'] = substr($current['url'],$start+1, strrpos($current['url'],")") - $start -1) ; ?>
+
+
+
+
+
- $current['extend'] = $extend ; ?>
+
- //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; ?>
+
+
+
+
=$this->escapeHtml($current['desc'])?> = $current['extend']; ?>
- if (strlen($rightsImage)) : ?>
-
- $rightsImage = ''; ?>
- endif; ?>
+
+
+
+
"> =$this->transEsc('Report broken link')?>
- endforeach; ?>
- if ($openUrlActive): ?>
+
+
=$openUrl->renderTemplate()?>
- endif; ?>
- endif; ?>
+
+
diff --git a/templates/RecordDriver/SolrDefault/data-onlineAccessBIBB.phtml b/templates/RecordDriver/SolrDefault/data-onlineAccessBIBB.phtml
index fad6ff9..ce4f028 100755
--- a/templates/RecordDriver/SolrDefault/data-onlineAccessBIBB.phtml
+++ b/templates/RecordDriver/SolrDefault/data-onlineAccessBIBB.phtml
@@ -1,4 +1,4 @@
-
+driver->getOnlineLinks($expand=true); // extend links with PIDs in case links are empty
// print_r($urls);
@@ -56,36 +56,36 @@
?>
- if (!empty($urls) || $openUrlActive): ?>
- foreach ($urls as $current): ?>
- if (strlen($rightsImage)) : ?>
+
+
+
-
- $rightsImage = ''; ?>
+
+
- endif; ?>
+
- if ($displayDownloadButton) : ?>
- // if ((strcmp($current['desc'], "Inhaltsverzeichnis") != 0) && strcmp(strcmp($current['desc'],"Volltext über anderen Anbieter") !=0)) : ?>
+
+
- else : ?>
+
=$this->escapeHtml($current['desc'])?>
- endif; ?>
+
@@ -96,21 +96,21 @@
"> =$this->transEsc('Report broken link')?>
- endforeach; ?>
+
- if (count($additionalLinks) > 0) : ?>
+ 0) : ?>
Weitere Links
- foreach ($additionalLinks as $additionalLink): ?>
+
= $additionalLink['description'] ?>
- endforeach; ?>
- endif ; ?>
+
+
- if ($openUrlActive): ?>
+
=$openUrl->renderTemplate()?>
- endif; ?>
- endif; ?>
+
+
- endif; ?>
+
- if ($this->cart()->isActiveInSearch() && $this->params->getOptions()->supportsCart() && $this->cart()->isActive()): ?>
+ cart()->isActiveInSearch() && $this->params->getOptions()->supportsCart() && $this->cart()->isActive()): ?>
=$this->render('record/cart-buttons.phtml', ['id' => $this->driver->getUniqueId(), 'source' => $this->driver->getSourceIdentifier()]); ?>
- endif; ?>
+
- /* Hierarchy tree link */ ?>
- $trees = $this->driver->tryMethod('getHierarchyTrees'); if (!empty($trees)): ?>
- foreach ($trees as $hierarchyID => $hierarchyTitle): ?>
+
+ driver->tryMethod('getHierarchyTrees'); if (!empty($trees)): ?>
+ $hierarchyTitle): ?>
- endforeach; ?>
- endif; ?>
+
+
- if ($displayRequestForm > 0) : ?>
+ 0) : ?>
- if ($orderText == 'Artikel') : ?>
+
">=$this->transEsc('Request article')?>
- endif; ?>
- if ($orderText == 'Beitrag') : ?>
+
+
">=$this->transEsc('Request Paper in edited volumes')?>
- endif; ?>
+
- endif; ?>
- // RKE @ in nächster Zeile ergänzt wegen Meldungen in Apache-Logfile ?>
- if (strlen(trim($current['url'])) > 0) : ?>
+
+
+ 0) : ?>
- endif; ?>
+
=$this->driver->supportsCoinsOpenUrl()?'
':''?>
- if ($thumbnail && $thumbnailAlignment == 'right'): ?>
+
=$thumbnail ?>
- endif ?>
+
diff --git a/templates/RecordDriver/SolrDefault/toolbar.phtml b/templates/RecordDriver/SolrDefault/toolbar.phtml
index 2737975..d46cf3b 100755
--- a/templates/RecordDriver/SolrDefault/toolbar.phtml
+++ b/templates/RecordDriver/SolrDefault/toolbar.phtml
@@ -1,10 +1,10 @@
-
+addThis();
if (!empty($addThis)) {
$this->headScript()->appendFile('https://s7.addthis.com/js/250/addthis_widget.js?pub=' . urlencode($addThis));
}
?>
- $offlineMode = $this->ils()->getOfflineMode();
+ils()->getOfflineMode();
try {
$holdings = $this->driver->getRealTimeHoldings();
} catch (\VuFind\Exception\ILS $e) {
@@ -41,7 +41,7 @@
}
?>
- // Collect data for the article requestform
+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) {
@@ -68,53 +68,53 @@
- if (count($this->driver->getCitationFormats()) > 0): ?>
+ driver->getCitationFormats()) > 0): ?>
=$this->transEsc('Cite this')?>
- endif; ?>
- if ($this->accountCapabilities()->getSmsSetting() !== 'disabled'): ?>
+
+ accountCapabilities()->getSmsSetting() !== 'disabled'): ?>
=$this->transEsc('Text this')?>
- endif; ?>
+
=$this->transEsc('Email this')?>
- $exportFormats = $this->export()->getFormatsForRecord($this->driver); ?>
- if(count($exportFormats) > 0): ?>
+ export()->getFormatsForRecord($this->driver); ?>
+ 0): ?>
=$this->transEsc('Export Record') ?>
- endif; ?>
+
- if ($this->userlist()->getMode() !== 'disabled'): ?>
+ userlist()->getMode() !== 'disabled'): ?>
=$this->transEsc('Add to favorites')?>
- endif; ?>
- if (!empty($addThis)): ?>
+
+
=$this->transEsc('Bookmark')?>
- endif; ?>
+
=$this->render('record/cart-buttons.phtml', ['id' => $this->driver->getUniqueId(), 'source' => $this->driver->getSourceIdentifier()]); ?>
- if (!empty($availableLinks)) : ?>
+
- if (empty($availableLinks) && !empty($checkedOutLinks)) : ?>
+
- if ($displayRequestForm > 0) : ?>
- if ($orderText == 'Artikel') : ?>
+ 0) : ?>
+
">=$this->transEsc('Request article')?>
- endif; ?>
- if ($orderText == 'Beitrag') : ?>
+
+
">=$this->transEsc('Request Paper in edited volumes')?>
- endif; ?>
+
diff --git a/templates/RecordDriver/SolrDspace/SolrDefault.php b/templates/RecordDriver/SolrDspace/SolrDefault.php
index 61a76e7..f229b42 100755
--- a/templates/RecordDriver/SolrDspace/SolrDefault.php
+++ b/templates/RecordDriver/SolrDspace/SolrDefault.php
@@ -129,11 +129,11 @@ class SolrDefault extends AbstractBase
/**
* Constructor
*
- * @param \Zend\Config\Config $mainConfig VuFind main configuration (omit for
+ * @param \Laminas\Config\Config $mainConfig VuFind main configuration (omit for
* built-in defaults)
- * @param \Zend\Config\Config $recordConfig Record-specific configuration file
+ * @param \Laminas\Config\Config $recordConfig Record-specific configuration file
* (omit to use $mainConfig as $recordConfig)
- * @param \Zend\Config\Config $searchSettings Search-specific configuration file
+ * @param \Laminas\Config\Config $searchSettings Search-specific configuration file
*/
public function __construct($mainConfig = null, $recordConfig = null,
$searchSettings = null
diff --git a/templates/RecordDriver/SolrDspace/core.phtml b/templates/RecordDriver/SolrDspace/core.phtml
index 45d8609..794e49e 100755
--- a/templates/RecordDriver/SolrDspace/core.phtml
+++ b/templates/RecordDriver/SolrDspace/core.phtml
@@ -5,50 +5,50 @@
$cover = $coverDetails['html'];
$preview = $this->record($this->driver)->getPreviews();
?>
- if ($QRCode || $cover || $preview): ?>
+
- endif; ?>
+
=$this->escapeHtml($this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection())?>
- $summary = $this->driver->getSummary(); $summary = isset($summary[0]) ? $this->escapeHtml($summary[0]) : false; ?>
- if ($summary): ?>
+ driver->getSummary(); $summary = isset($summary[0]) ? $this->escapeHtml($summary[0]) : false; ?>
+
=$this->truncate($summary, 300)?>
- if(strlen($summary) > 300): ?>
+ 300): ?>
#tabnav'>=$this->transEsc('Full description')?>
- endif; ?>
- endif; ?>
+
+
- if ($this->userlist()->getMode() !== 'disabled'): ?>
- /* Display the lists that this record is saved to */ ?>
+ userlist()->getMode() !== 'disabled'): ?>
+
=$this->transEsc("Saved in")?>:
- endif; ?>
+
/* Display Main Details */?>
@@ -56,24 +56,24 @@
$coreFields = $formatter->getData($driver, $formatter->getDefaults('core'));
$title_alt = $this->driver->getAlternativeTitle();
?>
- if (!empty($coreFields)) : ?>
+
- foreach ($coreFields as $key => $current): ?>
- if (strcmp($key,"Language") == 0): ?>
+ $current): ?>
+
$tr = "Language::" .$current['value'] ; ?>
=$this->transEsc($key)?>: =$this->translate("$tr")?>
- continue; ?>
- endif; ?>
+
+
=$this->transEsc($key)?>: =$current['value']?>
- endforeach; ?>
- endif; ?>
- if (!empty($title_alt)) : ?>
+
+
+
=$this->transEsc('Alternative titles') ?>
- foreach ($title_alt as $title_alt_entry): ?>
+
=$this->transEsc($title_alt_entry);?>
- endforeach; ?>
+
- endif; ?>
+
/* End Main Details */?>
diff --git a/templates/RecordDriver/SolrDspace/data-authors.phtml b/templates/RecordDriver/SolrDspace/data-authors.phtml
index 1c6b991..b3de1d8 100755
--- a/templates/RecordDriver/SolrDspace/data-authors.phtml
+++ b/templates/RecordDriver/SolrDspace/data-authors.phtml
@@ -1,4 +1,4 @@
-
+
- if (!empty($data[$type])): ?>
- foreach ($data[$type] as $author => $dataFields): ?>
- ob_start(); ?>
+
+ $dataFields): ?>
+
=$this->escapeHtml($author)?>
@@ -37,6 +37,6 @@ $formattedAuthors = [];
$formattedAuthors[] = trim(preg_replace('/\s+<\//', '', ob_get_contents()));
ob_end_clean();
?>
- endforeach; ?>
- endif; ?>
+
+
=implode('; ', $formattedAuthors)?>
diff --git a/templates/RecordDriver/SolrDspace/format-list.phtml b/templates/RecordDriver/SolrDspace/format-list.phtml
index 2334a6d..0773ba5 100755
--- a/templates/RecordDriver/SolrDspace/format-list.phtml
+++ b/templates/RecordDriver/SolrDspace/format-list.phtml
@@ -1,6 +1,6 @@
- $c = count($this->driver->getFormats()); ?>
- foreach ($this->driver->getFormats() as $format): ?>
+driver->getFormats()); ?>
+driver->getFormats() as $format): ?>
=$this->transEsc($format) ?>
//=!empty($summAuthor) ? ' ' : ''?>
=$c-- > 1 ? ' ' : '' ?>
- endforeach; ?>
+
diff --git a/templates/RecordDriver/SolrDspace/result-list.phtml b/templates/RecordDriver/SolrDspace/result-list.phtml
index 0b68708..994be64 100755
--- a/templates/RecordDriver/SolrDspace/result-list.phtml
+++ b/templates/RecordDriver/SolrDspace/result-list.phtml
@@ -1,4 +1,4 @@
-
+record($this->driver)->getCoverDetails('result-list', 'medium', $this->recordLink()->getUrl($this->driver));
$cover = $coverDetails['html'];
$thumbnail = false;
@@ -10,15 +10,15 @@
=$cover ?>
- $thumbnail = ob_get_contents(); ?>
- ob_end_clean(); ?>
- endif; ?>
+
+
+
- if ($thumbnail && $thumbnailAlignment == 'right'): ?>
+
=$thumbnail ?>
- endif ?>
+
diff --git a/templates/RecordDriver/SolrDspace/result-list.phtml.DMKZWO b/templates/RecordDriver/SolrDspace/result-list.phtml.DMKZWO
index 8f39775..c9b1e71 100755
--- a/templates/RecordDriver/SolrDspace/result-list.phtml.DMKZWO
+++ b/templates/RecordDriver/SolrDspace/result-list.phtml.DMKZWO
@@ -1,4 +1,4 @@
-
+record($this->driver)->getCoverDetails('result-list', 'medium', $this->recordLink()->getUrl($this->driver));
$cover = $coverDetails['html'];
$thumbnail = false;
@@ -10,15 +10,15 @@
=$cover ?>
- $thumbnail = ob_get_contents(); ?>
- ob_end_clean(); ?>
- endif; ?>
+
+
+
- if ($thumbnail && $thumbnailAlignment == 'right'): ?>
+
=$thumbnail ?>
- endif ?>
+
diff --git a/templates/RecordDriver/SolrDspace/toolbar.phtml b/templates/RecordDriver/SolrDspace/toolbar.phtml
index 66e24cc..abefb60 100755
--- a/templates/RecordDriver/SolrDspace/toolbar.phtml
+++ b/templates/RecordDriver/SolrDspace/toolbar.phtml
@@ -1,4 +1,4 @@
-
+addThis();
if (!empty($addThis)) {
$this->headScript()->appendFile('https://s7.addthis.com/js/250/addthis_widget.js?pub=' . urlencode($addThis));
@@ -9,32 +9,32 @@
diff --git a/templates/RecordDriver/SolrMarc/core.phtml b/templates/RecordDriver/SolrMarc/core.phtml
index 3ae3452..2ecccc8 100755
--- a/templates/RecordDriver/SolrMarc/core.phtml
+++ b/templates/RecordDriver/SolrMarc/core.phtml
@@ -5,50 +5,50 @@
$cover = $coverDetails['html'];
$preview = $this->record($this->driver)->getPreviews();
?>
- if ($QRCode || $cover || $preview): ?>
+
- endif; ?>
+
=$this->escapeHtml($this->driver->getShortTitle() . ' ' . $this->driver->getSubtitle() . ' ' . $this->driver->getTitleSection())?>
- $summary = $this->driver->getSummary(); $summary = isset($summary[0]) ? $this->escapeHtml($summary[0]) : false; ?>
- if ($summary): ?>
+ driver->getSummary(); $summary = isset($summary[0]) ? $this->escapeHtml($summary[0]) : false; ?>
+
=$this->truncate($summary, 300)?>
- if(strlen($summary) > 300): ?>
+ 300): ?>
#tabnav'>=$this->transEsc('Full description')?>
- endif; ?>
- endif; ?>
+
+
- if ($this->userlist()->getMode() !== 'disabled'): ?>
- /* Display the lists that this record is saved to */ ?>
+ userlist()->getMode() !== 'disabled'): ?>
+
=$this->transEsc("Saved in")?>:
- endif; ?>
+
/* Display Main Details */?>
@@ -56,17 +56,17 @@
$coreFields = $formatter->getData($driver, $formatter->getDefaults('core'));
// print_r($coreFields);
?>
- if (!empty($coreFields)) : ?>
+
- foreach ($coreFields as $key => $current): ?>
- if (strcmp($key,"Language") == 0): ?>
+ $current): ?>
+
$tr = "Language::" .$current['value'] ; ?>
=$this->transEsc($key)?>: =$this->translate("$tr")?>
- continue; ?>
- endif; ?>
+
+
=$this->transEsc($key)?>: =$current['value']?>
- endforeach; ?>
- endif; ?>
+
+
/* End Main Details */?>
diff --git a/templates/RecordDriver/SolrMarc/data-onlineAccess.phtml b/templates/RecordDriver/SolrMarc/data-onlineAccess.phtml
index d917ac4..fca4252 100755
--- a/templates/RecordDriver/SolrMarc/data-onlineAccess.phtml
+++ b/templates/RecordDriver/SolrMarc/data-onlineAccess.phtml
@@ -1,4 +1,4 @@
-
+openUrl($this->driver, 'record');
$openUrlActive = $openUrl->isActive();
// Account for replace_other_urls setting
@@ -19,69 +19,69 @@
?>
- 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; ?>
+
+
+
- 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) : ?>
- $current['desc'] = "Volltext"; ?>
+
+
- //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; ?>
+
+
+
+
=$this->escapeHtml($current['desc'])?>
- if (strlen($rightsImage)) : ?>
-
+
- $rightsImage = ''; ?>
- endif; ?>
+
+
"> =$this->transEsc('Report broken link')?>
- endforeach; ?>
- if ($openUrlActive): ?>
+
+
=$openUrl->renderTemplate()?>
- endif; ?>
- endif; ?>
+
+
diff --git a/templates/RecordDriver/SolrMarc/data-onlineAccessBIBB.phtml b/templates/RecordDriver/SolrMarc/data-onlineAccessBIBB.phtml
index 7684026..74b630f 100755
--- a/templates/RecordDriver/SolrMarc/data-onlineAccessBIBB.phtml
+++ b/templates/RecordDriver/SolrMarc/data-onlineAccessBIBB.phtml
@@ -1,4 +1,4 @@
-
+auth()->getManager();
$openUrl = $this->openUrl($this->driver, 'record');
@@ -22,79 +22,79 @@
?>
- 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; ?>
+
+
+
- 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) : ?>
- $current['desc'] = "Volltext"; ?>
+
+
- //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 || strpos($current['url'],"research.ebsco.com/") !== false)) || strlen($accessRestrictions[0]) > 0) : ?>
- //if (((strpos($current['url'],"search.ebscohost.com/login.aspx") !== false) || (strpos($current['url'], "econtent.hogrefe.com"))) !== false || strlen($accessRestrictions[0]) > 0) : ?>
- $LoginRequired = true ; ?>
- endif; ?>
+
+ 0) : ?>
+ 0) : ?>
+
+
- if (($LoginRequired == true) && ! $account->isLoggedIn()) : ?>
+ isLoggedIn()) : ?>
=$this->escapeHtml($current['desc'])?>
- else: ?>
+
=$this->escapeHtml($current['desc'])?>
- endif; ?>
+
- if (strlen($rightsImage)) : ?>
-
+
- $rightsImage = ''; ?>
- endif; ?>
+
+
"> =$this->transEsc('Report broken link')?>
- endforeach; ?>
- if ($openUrlActive): ?>
+
+
=$openUrl->renderTemplate()?>
- endif; ?>
- endif; ?>
+
+
diff --git a/templates/RecordDriver/SolrMarc/data-series.phtml b/templates/RecordDriver/SolrMarc/data-series.phtml
index 76d8c0e..a87d6c0 100755
--- a/templates/RecordDriver/SolrMarc/data-series.phtml
+++ b/templates/RecordDriver/SolrMarc/data-series.phtml
@@ -1,35 +1,35 @@
- foreach ($data as $field): ?>
+
/* Depending on the record driver, $field may either be an array with
"name" and "number" keys or a flat string containing only the series
name. We should account for both cases to maximize compatibility. */?>
- //print_r($field); ?>
- if (is_array($field)): ?>
- if (!empty($field['name'])): ?>
- $link = $field['name'];
+
+
+
+
=$this->escapeHtml($link)?>
- if (!empty($field['number'])): ?>
- echo "; " .$this->escapeHtml($field['number'])?>
- endif; ?>
+
+ escapeHtml($field['number'])?>
+
- endif; ?>
- if (!empty($field[0])): ?>
- $link = $field[0] ;
+
+
+
=$this->escapeHtml($link)?>
- if (!empty($field['number'])): ?>
+
=$this->escapeHtml($field['number'])?>
- endif; ?>
+
- endif; ?>
+
- else: ?>
+
=$this->escapeHtml($field)?>
- endif; ?>
- endforeach; ?>
+
+
diff --git a/templates/RecordDriver/SolrMarc/result-list.phtml b/templates/RecordDriver/SolrMarc/result-list.phtml
index 9f794b3..5ee4762 100755
--- a/templates/RecordDriver/SolrMarc/result-list.phtml
+++ b/templates/RecordDriver/SolrMarc/result-list.phtml
@@ -1,4 +1,4 @@
-
+auth()->getManager();
$coverDetails = $this->record($this->driver)->getCoverDetails('result-list', 'medium', $this->recordLink()->getUrl($this->driver));
$cover = $coverDetails['html'];
@@ -10,7 +10,7 @@
if ($cover):
ob_start(); ?>
- // Create links to place a hold or recall an item
+ ils()->getOfflineMode();
try {
$holdings = $this->driver->getRealTimeHoldings();
@@ -62,35 +62,35 @@
=$cover ?>
- $thumbnail = ob_get_contents(); ?>
- ob_end_clean(); ?>
- endif; ?>
+
+
+
diff --git a/templates/RecordTab/description.phtml b/templates/RecordTab/description.phtml
index 1268303..65f877b 100755
--- a/templates/RecordTab/description.phtml
+++ b/templates/RecordTab/description.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Description') . ': ' . $this->driver->getBreadcrumb());
@@ -6,16 +6,16 @@
$mainFields = $formatter->getData($driver, $formatter->getDefaults('description'));
?>
- if (!empty($mainFields)): ?>
- foreach ($mainFields as $key => $current): ?>
- if (strcmp($key,"Language") == 0): ?>
+
+ $current): ?>
+
$tr = "Language::" .$current['value'] ; ?>
=$this->transEsc($key)?>: =$this->translate("$tr")?>
- continue; ?>
- endif; ?>
+
+
=$this->transEsc($key)?>: =$current['value']?>
- endforeach; ?>
- else: ?>
+
+
=$this->transEsc('no_description')?>
- endif; ?>
+
diff --git a/templates/RecordTab/holdingsils.phtml b/templates/RecordTab/holdingsils.phtml
index 94331f2..e184f24 100755
--- a/templates/RecordTab/holdingsils.phtml
+++ b/templates/RecordTab/holdingsils.phtml
@@ -1,4 +1,4 @@
-
+auth()->getManager();
$user = $account->isLoggedIn();
@@ -102,188 +102,188 @@
=$this->context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->auth()->isLoggedIn()]); ?>
- if (!empty($holdings['blocks'])):?>
+
=$this->transEsc('account_block_options_missing', ['%%details%%' => implode('; ', $holdings['blocks'])]) ?>
- 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): ?>
+ils()->getHoldsMode() == 'driver' && !empty($holdings['holdings'])) || $this->ils()->getTitleHoldsMode() == 'driver'): ?>
+ loginEnabled() && $offlineMode != 'ils-offline'): ?>
+
- elseif (!$user->cat_username): ?>
+ cat_username): ?>
=$this->translate("hold_profile_html", ['%%url%%' => $this->recordLink()->getTabUrl($this->driver, 'Holdings') . '?catalogLogin=true'])?>
- endif; ?>
- endif; ?>
- endif; ?>
- $holdingTitleHold = $this->driver->tryMethod('getRealTimeTitleHold'); if (!empty($holdingTitleHold)): ?>
+
+
+
+driver->tryMethod('getRealTimeTitleHold'); if (!empty($holdingTitleHold)): ?>
=$this->transEsc('title_hold_place')?>
- endif; ?>
- if (!empty($urls) || $openUrlActive): ?>
+
+
=$this->transEsc("Internet")?>
- if (!empty($urls)): ?>
- foreach ($urls as $current): ?>
- // RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
- if (($LoginRequired == true) && ! $account->isLoggedIn()) : ?>
+
+
+
+ isLoggedIn()) : ?>
=$this->escapeHtml($current['desc'])?>
- endif; ?>
- // ENDE RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
- endforeach; ?>
- endif; ?>
- if ($openUrlActive): ?>=$openUrl->renderTemplate()?> endif; ?>
- endif; ?>
- foreach ($holdings['holdings'] as $holding): ?>
+
+
+
+
+ =$openUrl->renderTemplate()?>
+
+
- $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 ; ?>
+ transEsc('location_' . $holding['location'], [], $holding['location']); ?>
+
+
- if (isset($holding['locationhref']) && $holding['locationhref']): ?>
+
=$locationText?>
- else: ?>
+
=$locationText?>
- endif; ?>
+
- $callNos = $this->tab->getUniqueCallNumbers($holding['items']); if (!empty($callNos)): ?>
+ tab->getUniqueCallNumbers($holding['items']); if (!empty($callNos)): ?>
=$this->transEsc("Call Number")?>:
- foreach ($callNos as $callNo): ?>
- if ($this->callnumberHandler): ?>
+
+ callnumberHandler): ?>
=$this->escapeHtml($callNo)?>
- else: ?>
+
=$this->escapeHtml($callNo)?>
- endif; ?>
+
- endforeach; ?>
+
- 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 ?>
+
+ $textFields): ?>
+
+
+
- // Translation for summary is a special case for backwards-compatibility ?>
+
=$textFieldName == 'summary' ? $this->transEsc("Volume Holdings") : $this->transEsc(ucfirst($textFieldName))?>:
- foreach ($textFields as $current): ?>
+
=$this->escapeHtml($current)?>
- endforeach; ?>
+
- endforeach; endif; ?>
- foreach ($holding['items'] as $row): ?>
- // AJAX Check record?
+
+
+
- if (isset($row['barcode']) && $row['barcode'] != "") : ?>
+
=$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']): ?>
+
+ data-lightbox href="=$this->recordLink()->getRequestUrl($row['link'])?>"> =$this->transEsc($check ? "Check Hold" : "Place a Hold")?>
+
+
=$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->escapeHtml($row['returnDate'])?>
+
– =$this->transEsc("Due")?>: =$this->escapeHtml($row['duedate'])?>
- endif; ?>
- if (isset($row['requests_placed']) && $row['requests_placed'] > 0): ?>
+
+ 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'])): ?>
+
+
+
+ data-lightbox href="=$this->recordLink()->getRequestUrl($row['link'])?>"> =$this->transEsc($check ? "Check Recall" : "Recall This")?>
+
+
+
+
+
=$this->transEsc("Item Notes")?>:
- foreach ($row['item_notes'] as $item_note): ?>
+
=$this->escapeHtml($item_note) ?>
- endforeach; ?>
+
- 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 */ ?>
+
+
- endif; ?>
- endforeach; ?>
- if (!empty($holding['purchase_history'])): ?>
+
+
+
=$this->transEsc("Most Recent Received Issues")?>:
- foreach ($holding['purchase_history'] as $current): ?>
+
=$this->escapeHtml($current['issue'])?>
- endforeach; ?>
+
- endif; ?>
+
- endforeach; ?>
+
- $history = $this->driver->getRealTimeHistory(); ?>
- if (is_array($history) && !empty($history)): ?>
+driver->getRealTimeHistory(); ?>
+
=$this->transEsc("Most Recent Received Issues")?>
- foreach ($history as $row): ?>
+
=$this->escapeHtml($row['issue'])?>
- endforeach; ?>
+
- endif; ?>
+
diff --git a/templates/RecordTab/holdingsils.phtmlwq b/templates/RecordTab/holdingsils.phtmlwq
index 1cc4310..9197160 100755
--- a/templates/RecordTab/holdingsils.phtmlwq
+++ b/templates/RecordTab/holdingsils.phtmlwq
@@ -1,4 +1,4 @@
-
+auth()->getManager();
$user = $account->isLoggedIn();
@@ -98,191 +98,191 @@
=$this->context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->auth()->isLoggedIn()]); ?>
- if (!empty($holdings['blocks'])):?>
+
=$this->transEsc('account_block_options_missing', ['%%details%%' => implode('; ', $holdings['blocks'])]) ?>
- 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): ?>
+ils()->getHoldsMode() == 'driver' && !empty($holdings['holdings'])) || $this->ils()->getTitleHoldsMode() == 'driver'): ?>
+ loginEnabled() && $offlineMode != 'ils-offline'): ?>
+
- elseif (!$user->cat_username): ?>
+ cat_username): ?>
=$this->translate("hold_profile_html", ['%%url%%' => $this->recordLink()->getTabUrl($this->driver, 'Holdings') . '?catalogLogin=true'])?>
- endif; ?>
- endif; ?>
- endif; ?>
- $holdingTitleHold = $this->driver->tryMethod('getRealTimeTitleHold'); if (!empty($holdingTitleHold)): ?>
+
+
+
+driver->tryMethod('getRealTimeTitleHold'); if (!empty($holdingTitleHold)): ?>
=$this->transEsc('title_hold_place')?>
- endif; ?>
- if (!empty($urls) || $openUrlActive): ?>
+
+
=$this->transEsc("Internet")?>
- if (!empty($urls)): ?>
- foreach ($urls as $current): ?>
- // RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
- if (($LoginRequired == true) && ! $account->isLoggedIn()) : ?>
+
+
+
+ isLoggedIn()) : ?>
=$this->escapeHtml($current['desc'])?>
- else: ?>
+
=$this->escapeHtml($current['desc'])?>
- endif; ?>
- // ENDE RKE: Änderung wegen Datenbankzugang zu EBSCO ?>
- endforeach; ?>
- endif; ?>
- if ($openUrlActive): ?>=$openUrl->renderTemplate()?> endif; ?>
- endif; ?>
- foreach ($holdings['holdings'] as $holding): ?>
+
+
+
+
+ =$openUrl->renderTemplate()?>
+
+
- $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 ; ?>
+ transEsc('location_' . $holding['location'], [], $holding['location']); ?>
+
+
- if (isset($holding['locationhref']) && $holding['locationhref']): ?>
+
=$locationText?>
- else: ?>
+
=$locationText?>
- endif; ?>
+
- $callNos = $this->tab->getUniqueCallNumbers($holding['items']); if (!empty($callNos)): ?>
+ tab->getUniqueCallNumbers($holding['items']); if (!empty($callNos)): ?>
=$this->transEsc("Call Number")?>:
- foreach ($callNos as $callNo): ?>
- if ($this->callnumberHandler): ?>
+
+ callnumberHandler): ?>
=$this->escapeHtml($callNo)?>
- else: ?>
+
=$this->escapeHtml($callNo)?>
- endif; ?>
+
- endforeach; ?>
+
- 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 ?>
+
+ $textFields): ?>
+
+
+
- // Translation for summary is a special case for backwards-compatibility ?>
+
=$textFieldName == 'summary' ? $this->transEsc("Volume Holdings") : $this->transEsc(ucfirst($textFieldName))?>:
- foreach ($textFields as $current): ?>
+
=$this->escapeHtml($current)?>
- endforeach; ?>
+
- 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'] != "") : ?>
+
=$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;?>
- endif; ?>
+
+
- if (!$eBook) : ?>
+
=$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']): ?>
+
+ data-lightbox href="=$this->recordLink()->getRequestUrl($row['link'])?>"> =$this->transEsc($check ? "Check Hold" : "Place a Hold")?>
+
+
=$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 ?>
+
+
=$this->transEsc($row['status'])?>
- if (isset($row['returnDate']) && $row['returnDate']): ?>– =$this->escapeHtml($row['returnDate'])?> endif; ?>
- if (isset($row['duedate']) && $row['duedate']): ?>
+ – =$this->escapeHtml($row['returnDate'])?>
+
– =$this->transEsc("Due")?>: =$this->escapeHtml($row['duedate'])?>
- endif; ?>
- if (isset($row['requests_placed']) && $row['requests_placed'] > 0): ?>
+
+ 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; ?>
- if (isset($row['item_notes'])): ?>
+
+
+
+ data-lightbox href="=$this->recordLink()->getRequestUrl($row['link'])?>"> =$this->transEsc($check ? "Check Recall" : "Recall This")?>
+
+
+
+
=$this->transEsc("Item Notes")?>:
- foreach ($row['item_notes'] as $item_note): ?>
+
=$this->escapeHtml($item_note) ?>
- endforeach; ?>
+
- 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 */ ?>
+
+
- endif; ?>
- endforeach; ?>
- if (!empty($holding['purchase_history'])): ?>
+
+
+
=$this->transEsc("Most Recent Received Issues")?>:
- foreach ($holding['purchase_history'] as $current): ?>
+
=$this->escapeHtml($current['issue'])?>
- endforeach; ?>
+
- endif; ?>
+
- endforeach; ?>
+
- $history = $this->driver->getRealTimeHistory(); ?>
- if (is_array($history) && !empty($history)): ?>
+driver->getRealTimeHistory(); ?>
+
=$this->transEsc("Most Recent Received Issues")?>
- foreach ($history as $row): ?>
+
=$this->escapeHtml($row['issue'])?>
- endforeach; ?>
+
- endif; ?>
+
diff --git a/templates/RecordTab/staffviewarray.phtml b/templates/RecordTab/staffviewarray.phtml
index 9a85736..f608704 100755
--- a/templates/RecordTab/staffviewarray.phtml
+++ b/templates/RecordTab/staffviewarray.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Staff View') . ': ' . $this->driver->getBreadcrumb());
?>
@@ -10,18 +10,18 @@
- $displayFields = array('id','recordtype','citation','citationdr','collection', 'participation','researchfocus','license','rightslicense', 'rightsuri','rightsholder', 'embargoterms', 'embargoliftdate','url'); ?>
- foreach ($this->driver->getRawData() as $field => $values): ?>
- if (in_array($field,$displayFields)) : ?>
+
+ driver->getRawData() as $field => $values): ?>
+
=$this->escapeHtml($this->translate("BIBBFields::" .$field)) ?>:
- if (!is_array($values)) { $values = [$values]; } ?>
- foreach ($values as $value): ?>
+
+
=$this->escapeHtml(is_array($value) ? print_r($value, true) : $value)?>
- endforeach; ?>
+
- endif; ?>
- endforeach; ?>
+
+
diff --git a/templates/authority/home.phtml b/templates/authority/home.phtml
index f27637a..aac2226 100644
--- a/templates/authority/home.phtml
+++ b/templates/authority/home.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Search Home'));
@@ -34,10 +34,10 @@ $(document).ready(function() {
});
JS;
?>
- =$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $ilsStatusScript, 'SET'); ?>
+ =$this->inlineScript(\Laminas\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'); ?>
+ =$this->inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, '$("#searchForm_lookfor").focus();', 'SET'); ?>
diff --git a/templates/authority/record.phtml b/templates/authority/record.phtml
index 09480da..cc73921 100644
--- a/templates/authority/record.phtml
+++ b/templates/authority/record.phtml
@@ -1,4 +1,4 @@
-
+headScript()->appendFile("record.js");
$this->headScript()->appendFile("check_save_statuses.js");
@@ -45,44 +45,44 @@
- if (isset($this->scrollData) && ($this->scrollData['previousRecord'] || $this->scrollData['nextRecord'])): ?>
+ scrollData) && ($this->scrollData['previousRecord'] || $this->scrollData['nextRecord'])): ?>
- endif; ?>
+
@@ -98,18 +98,18 @@
&type==$searchFields[$authorityType]?>&limit=20&sort=year" class="title">=$this->escapeHtml($heading)?>
(= $this->transEsc($authorityType) ?>)
- //if($authorityType == "Subject") : ?>
-
- //endif ; ?>
- if (!empty($coreFields['Scopenote'])) : ?>
+
+
+
+
=$this->escapeHtml($coreFields['Scopenote'])?>
- endif ; ?>
- if (!empty($useForText)) : ?>
+
+
= $this->transEsc('Use for') ?>:
= $useForText ?>
- endif ; ?>
+
@@ -119,22 +119,22 @@
- foreach ($coreFields as $key => $current): ?>
- $displayed = false ?>
- if ($key != "Scopenote" && $key != "Use for" && $key != "Authority type") : ?>
- if ($displayed === false) : ?>
- if (!empty ($coreFields[$key] )) : ?>
+ $current): ?>
+
+
+
+
=$this->transEsc($key)?>:
- $displayed = true; ?>
- endif; ?>
- endif ; ?>
- foreach($current as $entry) : ?>
- $tmp = explode("|", $entry) ; list($id, $text) = $tmp; ?>
+
+
+
+
+
=($text)?>
- endforeach; ?>
+
- endif ; ?>
- endforeach ;?>
+
+
/* End Main Details */?>
diff --git a/templates/authority/search.phtml b/templates/authority/search.phtml
index a22e9a2..8310993 100644
--- a/templates/authority/search.phtml
+++ b/templates/authority/search.phtml
@@ -1,4 +1,4 @@
-
+render('search/resultsAuthorities.phtml');
?>
diff --git a/templates/cart/cart.phtml b/templates/cart/cart.phtml
index 972e610..92d10a6 100755
--- a/templates/cart/cart.phtml
+++ b/templates/cart/cart.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Book Bag'));
@@ -12,7 +12,7 @@
- endif; ?>
+
diff --git a/templates/header.phtml b/templates/header.phtml
index a77ad6c..c5521b3 100755
--- a/templates/header.phtml
+++ b/templates/header.phtml
@@ -1,4 +1,4 @@
- $account = $this->auth()->getManager(); ?>
+auth()->getManager(); ?>
- if (!isset($this->layout()->renderingError)): ?>
+ layout()->renderingError)): ?>
- endif; ?>
+
- if ($this->layout()->searchbox !== false): ?>
+layout()->searchbox !== false): ?>
@@ -161,4 +161,4 @@
=$this->layout()->searchbox ?>
- endif; ?>
+
diff --git a/templates/help/home.phtml b/templates/help/home.phtml
index 82e08b7..9b15958 100755
--- a/templates/help/home.phtml
+++ b/templates/help/home.phtml
@@ -1,9 +1,9 @@
- $this->headTitle($this->translate('Help')); ?>
- if ($help = $this->helpText()->render($topic)): ?>
- foreach ($this->helpText()->getWarnings() as $warning): ?>
+headTitle($this->translate('Help')); ?>
+helpText()->render($topic)): ?>
+ helpText()->getWarnings() as $warning): ?>
=$this->transEsc($warning)?>
- endforeach; ?>
+
=$help?>
- else: ?>
+
=$this->transEsc('help_page_missing')?>
- endif; ?>
+
diff --git a/templates/layout/layout.phtml b/templates/layout/layout.phtml
index fdb49fa..80a3718 100644
--- a/templates/layout/layout.phtml
+++ b/templates/layout/layout.phtml
@@ -1,7 +1,7 @@
=$this->doctype('HTML5')?>
- $this->headThemeResources()?>
+ =$this->headThemeResources()?>
@@ -9,7 +9,7 @@
=$this->headMeta()?>
=$this->headTitle()?>
-
+ headLink(
[
@@ -21,12 +21,12 @@
);
?>
- if ($this->layout()->rtl) {
+ layout()->rtl) {
$this->headLink()->appendStylesheet('vendor/bootstrap-rtl.min.css');
} ?>
=$this->headLink()?>
=$this->headStyle()?>
-
+ renderingError)) {
// Add translation strings
$this->jsTranslations()->addStrings(
@@ -104,13 +104,13 @@
}
// Session keep-alive
- if ($this->KeepAlive()) {
+ if ($this->keepAlive()) {
$this->headScript()->appendScript('var keepAliveInterval = '
- . $this->KeepAlive());
+ . $this->keepAlive());
$this->headScript()->appendFile("keep_alive.js");
}
?>
-
+ url('home'), '/');
$translations = $this->jsTranslations()->getJSON();
$dsb = DEFAULT_SEARCH_BACKEND;
@@ -145,8 +145,8 @@ JS;
-
- // Set up the search box -- there are three possible cases:
+
+
- if (isset($this->layout()->srmessage)): // message for benefit of screen-reader users ?>
+ layout()->srmessage)): // message for benefit of screen-reader users ?>
=$this->layout()->srmessage ?>
- endif; ?>
+
=$this->transEsc('Skip to content') ?>
=$this->render('header.phtml')?>
- if((!isset($this->layout()->showBreadcrumbs) || $this->layout()->showBreadcrumbs == true)
+ layout()->showBreadcrumbs) || $this->layout()->showBreadcrumbs == true)
&& !empty($this->layout()->breadcrumbs)
&& $this->layout()->breadcrumbs !== false
): ?>
- if(is_array($this->layout()->breadcrumbs)): ?>
- if(count($this->layout()->breadcrumbs) > 1): ?>
+ layout()->breadcrumbs)): ?>
+ layout()->breadcrumbs) > 1): ?>
=$this->render('breadcrumbs/multi.phtml', [
'parents' => $this->layout()->breadcrumbs,
'title' => $this->layout()->title,
'from' => $this->layout()->from
]) ?>
- else: ?>
+
=$this->render('breadcrumbs/default.phtml', [
'parents' => $this->layout()->breadcrumbs,
'title' => $this->layout()->title
]) ?>
- endif; ?>
- else: ?>
+
+
=$this->layout()->breadcrumbs ?>
- endif; ?>
+
- endif; ?>
+
@@ -209,8 +209,5 @@ JS;
=$this->googleanalytics()?>
=$this->piwik()?>
- if ($this->recaptcha()->active()): ?>
- =$this->inlineScript(\Zend\View\Helper\HeadScript::FILE, "https://www.google.com/recaptcha/api.js?onload=recaptchaOnLoad&render=explicit&hl=" . $this->layout()->userLang, 'SET')?>
- endif; ?>
diff --git a/templates/myresearch/bulk-action-buttons.phtml b/templates/myresearch/bulk-action-buttons.phtml
index 26a447a..9efde42 100755
--- a/templates/myresearch/bulk-action-buttons.phtml
+++ b/templates/myresearch/bulk-action-buttons.phtml
@@ -1,8 +1,8 @@
- if (isset($list)): ?>
+
- endif; ?>
- $user = $this->auth()->isLoggedIn(); ?>
+
+auth()->isLoggedIn(); ?>
diff --git a/templates/myresearch/checkedout.phtml b/templates/myresearch/checkedout.phtml
index 0c7d56a..37f8ad0 100644
--- a/templates/myresearch/checkedout.phtml
+++ b/templates/myresearch/checkedout.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Checked Out Items'));
@@ -8,20 +8,20 @@
=$this->transEsc('Your Checked Out Items')?>
- if ($paginator): ?>
+
$anz = $paginator->getTotalItemCount();
if ($anz >= 100) : ?>
- endif; ?>
+
=$this->flashmessages()?>
=$this->context($this)->renderInContext('librarycards/selectcard.phtml', ['user' => $this->auth()->isLoggedIn()]); ?>
- if (!empty($this->transactions)): ?>
- if ($this->renewForm): ?>
+ transactions)): ?>
+ renewForm): ?>
endif; ?>
+
+ renewForm): ?>
=$paginator ? $this->paginationControl($paginator, 'Sliding', 'Helpers/pagination.phtml') : ''?>
- else: ?>
+
=$this->transEsc('You do not have any items checked out')?>.
- endif; ?>
+
- if ($this->userlist()->getMode() === 'public_only'): ?>
+ userlist()->getMode() === 'public_only'): ?>
- elseif ($this->userlist()->getMode() === 'private_only'): ?>
+ userlist()->getMode() === 'private_only'): ?>
- else: ?>
+
- endif; ?>
+
diff --git a/templates/myresearch/login.phtml b/templates/myresearch/login.phtml
index e0e9b6e..6bb2b9c 100755
--- a/templates/myresearch/login.phtml
+++ b/templates/myresearch/login.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Login'));
@@ -11,9 +11,9 @@
$offlineMode = $this->ils()->getOfflineMode();
?>
- if ($offlineMode == "ils-offline"): ?>
+
=$this->render('Helpers/ils-offline.phtml', ['offlineModeMsg' => 'ils_offline_login_message'])?>
- endif; ?>
+
- foreach ($this->results->getResults() as $i=>$current): ?>
+ results->getResults() as $i=>$current): ?>
=$this->record($current)->getListEntry($list, $user)?>
- endforeach; ?>
+
=$this->paginationControl($this->results->getPaginator(), 'Sliding', 'search/pagination.phtml', ['results' => $this->results])?>
- else: ?>
+
=$this->transEsc('You do not have any saved resources')?>
- endif; ?>
+
diff --git a/templates/myresearch/newpassword.phtml b/templates/myresearch/newpassword.phtml
index efe13c9..d79c622 100755
--- a/templates/myresearch/newpassword.phtml
+++ b/templates/myresearch/newpassword.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Create New Password'));
@@ -6,18 +6,18 @@
$this->layout()->breadcrumbs = '' . $this->transEsc('Your Account') . ' '
. '' . $this->transEsc('Create New Password') . ' ';
?>
- if ($this->auth()->isLoggedIn()): ?>
+auth()->isLoggedIn()): ?>
- endif; ?>
+
=$this->transEsc('Create New Password') ?>
=$this->flashmessages() ?>
- if (!$this->auth()->getManager()->supportsPasswordChange($this->auth_method)): ?>
+auth()->getManager()->supportsPasswordChange($this->auth_method)): ?>
=$this->transEsc('recovery_new_disabled') ?>
- elseif (!isset($this->hash)): ?>
+hash)): ?>
=$this->transEsc('recovery_user_not_found') ?>
- else: ?>
+
- endif; ?>
+
- if ($this->auth()->isLoggedIn()): ?>
+auth()->isLoggedIn()): ?>
- endif; ?>
+
diff --git a/templates/myresearch/profile.phtml b/templates/myresearch/profile.phtml
index e03480e..9760f82 100755
--- a/templates/myresearch/profile.phtml
+++ b/templates/myresearch/profile.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('My Profile'));
@@ -27,7 +27,7 @@
]
);
?>
- if ($showHomeLibForm): ?>
+
=$this->transEsc('Preferred Library')?>:
$selected = (isset($this->profile['home_library']) && $this->profile['home_library'] != "")
@@ -36,14 +36,14 @@
- endif; ?>
+
$profile = $this->profile;
diff --git a/templates/myresearch/recover.phtml b/templates/myresearch/recover.phtml
index 4d89d78..704b092 100755
--- a/templates/myresearch/recover.phtml
+++ b/templates/myresearch/recover.phtml
@@ -1,9 +1,9 @@
=$this->transEsc('recovery_title') ?>
=$this->flashmessages()?>
- if (!$this->auth()->getManager()->supportsRecovery()): ?>
+auth()->getManager()->supportsRecovery()): ?>
=$this->transEsc('recovery_disabled') ?>
- else: ?>
+
- endif; ?>
+
diff --git a/templates/record/cart-buttons.phtml b/templates/record/cart-buttons.phtml
index 3c57f17..48cb75e 100755
--- a/templates/record/cart-buttons.phtml
+++ b/templates/record/cart-buttons.phtml
@@ -1,22 +1,22 @@
- $cart = $this->cart(); ?>
- if ($cart->isActive()): ?>
- $cartId = $this->source . '|' . $this->id; ?>
+cart(); ?>
+isActive()): ?>
+ source . '|' . $this->id; ?>
- =$this->transEsc('Add to Book Bag') ?>
- =$this->transEsc('Remove from Book Bag') ?>
- endif; ?>
+
diff --git a/templates/record/checkbox.phtml b/templates/record/checkbox.phtml
index 84663f8..53d3b32 100755
--- a/templates/record/checkbox.phtml
+++ b/templates/record/checkbox.phtml
@@ -1,5 +1,5 @@
- formAttr)): ?> form="=$this->formAttr ?>" endif; ?>/>
+ formAttr)): ?> form="=$this->formAttr ?>"/>
- formAttr)): ?> form="=$this->formAttr ?>" endif; ?>/>
+ formAttr)): ?> form="=$this->formAttr ?>"/>
diff --git a/templates/record/cover.phtml b/templates/record/cover.phtml
index 2bd32e2..b0fcfdc 100755
--- a/templates/record/cover.phtml
+++ b/templates/record/cover.phtml
@@ -1,6 +1,6 @@
- /* Display thumbnail if appropriate: */ ?>
- if ($cover): ?>
- data-linkpreview="true" endif; ?>class="recordcover" src="=$this->escapeHtmlAttr($cover); ?>"/>
- else: ?>
- data-linkpreview="true" endif; ?>class="recordcover" alt="=$this->transEsc('No Cover Image')?>"/>
- endif; ?>
+
+
+ data-linkpreview="true" class="recordcover" src="=$this->escapeHtmlAttr($cover); ?>"/>
+
+ data-linkpreview="true" class="recordcover" alt="=$this->transEsc('No Cover Image')?>"/>
+
diff --git a/templates/record/email.phtml b/templates/record/email.phtml
index 470625d..e6f5927 100755
--- a/templates/record/email.phtml
+++ b/templates/record/email.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Email Record'));
diff --git a/templates/record/hold.phtml b/templates/record/hold.phtml
index 606357d..a76adff 100644
--- a/templates/record/hold.phtml
+++ b/templates/record/hold.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('request_place_text') . ': ' . $this->driver->getBreadcrumb());
@@ -10,30 +10,30 @@
=$this->transEsc('request_place_text')?>
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.
Sollte es Ihnen nicht möglich sein, diese Medien innerhalb von 5 Öffnungstagen im Lesesaal abzuholen, nehmen Sie bitte Kontakt mit der Bibliothek auf.
- if ($this->helpText): ?>
+helpText): ?>
=$this->helpText?>
- endif; ?>
+
- endif; ?>
+
diff --git a/templates/requestpaper/form.phtml b/templates/requestpaper/form.phtml
index 0d8fb94..a8ef0be 100644
--- a/templates/requestpaper/form.phtml
+++ b/templates/requestpaper/form.phtml
@@ -1,14 +1,14 @@
- $account = $this->auth()->getManager() ?>
- $user = $account->isLoggedIn() ?>
- if (!$user) : ?>
+auth()->getManager() ?>
+isLoggedIn() ?>
+
Um unseren Service als BIBB-Mitarbeiter zu nutzen, melden Sie sich bitte zuerst an.
=$this->transEsc("Login")?>
- endif; ?>
- if ($user) : ?>
- $name = $user['firstname'] ." " .$user['lastname'] ?>
- $email = $user['email'] ?>
+
+
+
+
// $title = $this->driver->getMainTitle(); ?>
- //$formatter = $this->recordDataFormatter();
+ recordDataFormatter();
//print_r($formatter);
// $coreFields = $formatter->getData($driver, $formatter->getDefaults('core'));
//print_r($coreFields);
@@ -38,4 +38,4 @@
" />
- endif; ?>
+
diff --git a/templates/search/.home.phtml.org.swp b/templates/search/.home.phtml.org.swp
deleted file mode 100755
index 7c6f79b..0000000
Binary files a/templates/search/.home.phtml.org.swp and /dev/null differ
diff --git a/templates/search/.v b/templates/search/.v
deleted file mode 100755
index aa9d8ae..0000000
--- a/templates/search/.v
+++ /dev/null
@@ -1,13 +0,0 @@
- if (count($searchTabs) > 0): ?>
-
- endif; ?>
diff --git a/templates/search/advanced/layout.phtml b/templates/search/advanced/layout.phtml
index 5abd996..082baa5 100755
--- a/templates/search/advanced/layout.phtml
+++ b/templates/search/advanced/layout.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Advanced Search'));
@@ -64,23 +64,23 @@
=$this->flashmessages()?>
- endif; ?>
+
- if ($current['type'] == 'date'): ?>
+
@@ -64,8 +64,8 @@ $('#{$escField}from, #{$escField}to').change(function () {
});
JS;
?>
- =$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $script, 'SET'); ?>
- endif; ?>
+ =$this->inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, $script, 'SET'); ?>
+
- endforeach; ?>
- endif; ?>
+
+
diff --git a/templates/search/advanced/solr.phtml b/templates/search/advanced/solr.phtml
index 8868190..d0587bc 100755
--- a/templates/search/advanced/solr.phtml
+++ b/templates/search/advanced/solr.phtml
@@ -1,20 +1,20 @@
- if (!empty($this->facetList) || !empty($this->checkboxFacets)): ?>
+facetList) || !empty($this->checkboxFacets)): ?>
=$this->transEsc('Limit To')?>
- if (!empty($this->checkboxFacets)): ?>
+ checkboxFacets)): ?>
=$this->render('search/advanced/checkbox-filters.phtml')?>
- endif; ?>
+
- foreach ($this->facetList as $field => $list): ?>
+ facetList as $field => $list): ?>
=$this->transEsc($list['label'])?>:
- if (is_array($this->hierarchicalFacets) && in_array($field, $this->hierarchicalFacets)): ?>
- foreach ($list['list'] as $value): ?>
- $display = str_pad('', 4 * $value['level'] * 6, ' ', STR_PAD_LEFT) . $this->transEsc($value['displayText']); ?>
+ hierarchicalFacets) && in_array($field, $this->hierarchicalFacets)): ?>
+
+ transEsc($value['displayText']); ?>
"=(isset($value['selected']) && $value['selected'])?' selected="selected"':''?>>=$display?>
- endforeach; ?>
- else: ?>
+
+
// Sort the current facet list alphabetically; we'll use this data
// along with the foreach below to display facet options in the
@@ -28,27 +28,27 @@
}
natcasesort($sorted);
?>
- foreach ($sorted as $i => $display): ?>
- $value = $list['list'][$i]; ?>
+ $display): ?>
+
"=(isset($value['selected']) && $value['selected'])?' selected="selected"':''?>>=$this->escapeHtml($display)?>
- endforeach; ?>
- endif; ?>
+
+
- endforeach; ?>
+
- endif; ?>
+
- if (isset($this->illustratedLimit)): ?>
+illustratedLimit)): ?>
=$this->transEsc("Illustrated")?>:
- foreach ($this->illustratedLimit as $current): ?>
+ illustratedLimit as $current): ?>
/>
=$this->transEsc($current['text'])?>
- endforeach; ?>
+
- endif; ?>
+
=$this->render('search/advanced/limit.phtml')?>
=$this->render('search/advanced/ranges.phtml')?>
diff --git a/templates/search/bulk-action-buttons.phtml b/templates/search/bulk-action-buttons.phtml
index d2d6f03..71a3f7e 100755
--- a/templates/search/bulk-action-buttons.phtml
+++ b/templates/search/bulk-action-buttons.phtml
@@ -1,26 +1,26 @@
- if (isset($this->showCheckboxes) && $this->showCheckboxes): ?>
+showCheckboxes) && $this->showCheckboxes): ?>
- endif; ?>
+
diff --git a/templates/search/controls/limit.phtml b/templates/search/controls/limit.phtml
index 4752112..012be8a 100755
--- a/templates/search/controls/limit.phtml
+++ b/templates/search/controls/limit.phtml
@@ -1,12 +1,12 @@
- $limitList = $this->params->getLimitList(); ?>
- if (count($limitList) > 1): ?>
+params->getLimitList(); ?>
+ 1): ?>
- endif; ?>
+
diff --git a/templates/search/controls/sort.phtml b/templates/search/controls/sort.phtml
index f94fd5e..24a5c0f 100755
--- a/templates/search/controls/sort.phtml
+++ b/templates/search/controls/sort.phtml
@@ -1,14 +1,14 @@
- $list = $this->params->getSortList(); if (!empty($list)): ?>
+params->getSortList(); if (!empty($list)): ?>
- endif; ?>
+
diff --git a/templates/search/history-table.phtml b/templates/search/history-table.phtml
index cf80fd7..5b71899 100755
--- a/templates/search/history-table.phtml
+++ b/templates/search/history-table.phtml
@@ -1,13 +1,13 @@
- $saveSupported = $this->accountCapabilities()->getSavedSearchSetting() === 'enabled'; ?>
+accountCapabilities()->getSavedSearchSetting() === 'enabled'; ?>
=$this->transEsc("history_time")?>
=$this->transEsc("history_search")?>
=$this->transEsc("history_limits")?>
=$this->transEsc("history_results")?>
- if ($saveSupported): ?>=$this->transEsc($this->showSaved ? "history_delete" : "history_save")?> endif; ?>
+ =$this->transEsc($this->showSaved ? "history_delete" : "history_save")?>
- foreach (($this->showSaved ? array_reverse($this->saved) : array_reverse($this->unsaved)) as $iteration => $info): ?>
+ showSaved ? array_reverse($this->saved) : array_reverse($this->unsaved)) as $iteration => $info): ?>
=$this->escapeHtml(date('d.m.y H:m', $info->getStartTime()))?>
@@ -18,28 +18,28 @@
?>
- $info->getParams()->activateAllFacets(); foreach ($info->getParams()->getFilterList(true) as $field => $filters): ?>
- foreach ($filters as $i => $filter): ?>
- if ($filter['operator'] == 'NOT') echo $this->transEsc('NOT') . ' '; if ($filter['operator'] == 'OR' && $i > 0) echo $this->transEsc('OR') . ' '; ?>
+ getParams()->activateAllFacets(); foreach ($info->getParams()->getFilterList(true) as $field => $filters): ?>
+ $filter): ?>
+ transEsc('NOT') . ' '; if ($filter['operator'] == 'OR' && $i > 0) echo $this->transEsc('OR') . ' '; ?>
=$this->transEsc($field)?> : =$this->escapeHtml($filter['displayText'])?>
- endforeach; ?>
- endforeach; ?>
- foreach($info->getParams()->getCheckboxFacets() as $facet): ?>
- if ($facet['selected']): ?>
+
+
+ getParams()->getCheckboxFacets() as $facet): ?>
+
=$this->transEsc($facet['desc'])?>
- endif; ?>
- endforeach; ?>
+
+
=$this->escapeHtml($this->localizedNumber($info->getResultTotal()))?>
- if ($saveSupported): ?>
+
- if ($this->showSaved): ?>
+ showSaved): ?>
=$this->transEsc("history_delete_link")?>
- else: ?>
+
=$this->transEsc("history_save_link")?>
- endif; ?>
+
- endif; ?>
+
- endforeach; ?>
+
diff --git a/templates/search/home.phtml b/templates/search/home.phtml
index a76e230..a320672 100755
--- a/templates/search/home.phtml
+++ b/templates/search/home.phtml
@@ -1,4 +1,4 @@
-
+headTitle($this->translate('Search Home'));
@@ -37,7 +37,7 @@
-
+
- =$this->inlineScript(\Zend\View\Helper\HeadScript::SCRIPT, $ilsStatusScript, 'SET'); ?>
+ =$this->inlineScript(\Laminas\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'); ?>
+ =$this->inlineScript(\Laminas\View\Helper\HeadScript::SCRIPT, '$("#searchForm_lookfor").focus();', 'SET'); ?>
@@ -73,13 +73,13 @@ JS;
=$this->transEsc("DescriptionPublishHeadline")?>
=$this->transEsc("DescriptionPublish")?>
- $ButtonLang = $this->transEsc("PublishButton"); ?>
+ transEsc("PublishButton"); ?>
- if($ButtonLang == "Publizieren") : ?>
+
„Publizieren im VET Repository“ .
- else : ?>
+
„Publishing in the VET Repository“ .
- endif; ?>
+
=$this->transEsc("DescriptionPublish2")?>
diff --git a/templates/search/list-list.phtml b/templates/search/list-list.phtml
index 85000fb..f09ef9e 100755
--- a/templates/search/list-list.phtml
+++ b/templates/search/list-list.phtml
@@ -1,14 +1,14 @@
- if (!isset($this->indexStart)) $this->indexStart = 0; ?>
- $i = $this->indexStart; ?>
- foreach ($this->results->getResults() as $current): ?>
- $recordNumber = $this->results->getStartRecord() + $i-$this->indexStart; ?>
+indexStart)) $this->indexStart = 0; ?>
+indexStart; ?>
+results->getResults() as $current): ?>
+ results->getStartRecord() + $i-$this->indexStart; ?>
- if (isset($this->showCheckboxes) && $this->showCheckboxes): ?>
+ showCheckboxes) && $this->showCheckboxes): ?>
=$this->record($current)->getCheckbox('', 'search-cart-form')?>
- endif; ?>
+
-
// class="record-number"> ?>
+
?>
=$recordNumber ?>
@@ -17,4 +17,4 @@
=$this->record($current)->getSearchResult('list')?>
- endforeach; ?>
+
diff --git a/templates/search/list-listAuthorities.phtml b/templates/search/list-listAuthorities.phtml
index 281f2b0..11af6ff 100755
--- a/templates/search/list-listAuthorities.phtml
+++ b/templates/search/list-listAuthorities.phtml
@@ -1,15 +1,15 @@
- if (!isset($this->indexStart)) $this->indexStart = 0; ?>
- $i = $this->indexStart; ?>
- foreach ($this->results->getResults() as $current): ?>
- $recordNumber = $this->results->getStartRecord() + $i-$this->indexStart; ?>
+indexStart)) $this->indexStart = 0; ?>
+indexStart; ?>
+results->getResults() as $current): ?>
+ results->getStartRecord() + $i-$this->indexStart; ?>
- if (isset($this->showCheckboxes) && $this->showCheckboxes): ?>
+ showCheckboxes) && $this->showCheckboxes): ?>
//=$this->record($current)->getCheckbox('', 'search-cart-form')?>
- endif; ?>
+
-
=$this->record($current)->getSearchResult('list')?>
- endforeach; ?>
+
diff --git a/templates/search/results.phtml b/templates/search/results.phtml
index 1cca295..cfaf93f 100755
--- a/templates/search/results.phtml
+++ b/templates/search/results.phtml
@@ -1,4 +1,4 @@
-
+results->getUrlQuery()->isQuerySuppressed() ? '' : $this->params->getDisplayQuery();
if (isset($this->overrideTitle)) {
@@ -60,56 +60,56 @@
=$this->transEsc("Resultlist")?>
- if (($recordTotal = $this->results->getResultTotal()) > 0): // only display these at very top if we have results ?>
+ results->getResultTotal()) > 0): // only display these at very top if we have results ?>
- if ($recordTotal > 0): ?>
+ 0): ?>
=$this->render('search/controls/limit.phtml')?>
=$this->render('search/controls/sort.phtml')?>
=$this->render('search/controls/view.phtml')?>
- endif; ?>
+
- endif; ?>
+
=$this->flashmessages()?>
- /* End Listing Options */ ?>
+
- if ($recordTotal < 1): ?>
+
- if (isset($this->overrideEmptyMessage)): ?>
+ overrideEmptyMessage)): ?>
=$this->overrideEmptyMessage?>
- else: ?>
- $this->layout()->srmessage = $this->translate('nohit_lookfor_html', ['%%lookfor%%' => $this->escapeHtml($lookfor)]); ?>
+
+ layout()->srmessage = $this->translate('nohit_lookfor_html', ['%%lookfor%%' => $this->escapeHtml($lookfor)]); ?>
=$this->layout()->srmessage ?>
- endif; ?>
+
- if (isset($this->parseError)): ?>
+ parseError)): ?>
=$this->transEsc('nohit_parse_error')?>
- endif; ?>
- foreach (($top = $this->results->getRecommendations('top')) as $current): ?>
+
+ results->getRecommendations('top')) as $current): ?>
=$this->recommend($current)?>
- endforeach; ?>
- foreach ($this->results->getRecommendations('noresults') as $current): ?>
- if (!in_array($current, $top)): ?>
+
+ results->getRecommendations('noresults') as $current): ?>
+
=$this->recommend($current)?>
- endif; ?>
- endforeach; ?>
- else: ?>
+
+
+
- endif; ?>
+
- /* End Main Listing */ ?>
+
- /* Narrow Search Options */ ?>
+
- /* End Narrow Search Options */ ?>
+
diff --git a/templates/search/resultsAuthorities.phtml b/templates/search/resultsAuthorities.phtml
index 7811eca..30fbb59 100755
--- a/templates/search/resultsAuthorities.phtml
+++ b/templates/search/resultsAuthorities.phtml
@@ -1,4 +1,4 @@
-
+results->getUrlQuery()->isQuerySuppressed() ? '' : $this->params->getDisplayQuery();
if (isset($this->overrideTitle)) {
@@ -59,54 +59,54 @@
=$this->transEsc("Resultlist")?>
- if (($recordTotal = $this->results->getResultTotal()) > 0): // only display these at very top if we have results ?>
+ results->getResultTotal()) > 0): // only display these at very top if we have results ?>
- if ($recordTotal > 0): ?>
+ 0): ?>
=$this->render('search/controls/limit.phtml')?>
=$this->render('search/controls/sort.phtml')?>
=$this->render('search/controls/view.phtml')?>
- endif; ?>
+
- endif; ?>
+
=$this->flashmessages()?>
- /* End Listing Options */ ?>
+
- if ($recordTotal < 1): ?>
+
- if (isset($this->overrideEmptyMessage)): ?>
+ overrideEmptyMessage)): ?>
=$this->overrideEmptyMessage?>
- else: ?>
- $this->layout()->srmessage = $this->translate('nohit_lookfor_html', ['%%lookfor%%' => $this->escapeHtml($lookfor)]); ?>
+
+ layout()->srmessage = $this->translate('nohit_lookfor_html', ['%%lookfor%%' => $this->escapeHtml($lookfor)]); ?>
=$this->layout()->srmessage ?>
- endif; ?>
+
- if (isset($this->parseError)): ?>
+ parseError)): ?>
=$this->transEsc('nohit_parse_error')?>
- endif; ?>
- foreach (($top = $this->results->getRecommendations('top')) as $current): ?>
+
+ results->getRecommendations('top')) as $current): ?>
=$this->recommend($current)?>
- endforeach; ?>
- foreach ($this->results->getRecommendations('noresults') as $current): ?>
- if (!in_array($current, $top)): ?>
+
+ results->getRecommendations('noresults') as $current): ?>
+
=$this->recommend($current)?>
- endif; ?>
- endforeach; ?>
- else: ?>
+
+
+
=$this->render('search/list-' . $this->params->getView() . 'Authorities.phtml')?>
@@ -121,25 +121,25 @@
=$this->transEsc('Email this Search')?>
- if ($this->accountCapabilities()->getSavedSearchSetting() === 'enabled'): ?>
+ accountCapabilities()->getSavedSearchSetting() === 'enabled'): ?>
|
- if (is_numeric($this->results->getSearchId())): ?>
- if ($this->results->isSavedSearch()): ?>
+ results->getSearchId())): ?>
+ results->isSavedSearch()): ?>
=$this->transEsc('save_search_remove')?>
- else: ?>
+
=$this->transEsc('save_search')?>
- endif; ?>
- endif; ?>
- endif; ?>
+
+
+
- endif; ?>
+
- /* End Main Listing */ ?>
+
- /* Narrow Search Options */ ?>
+
- /* End Narrow Search Options */ ?>
+
diff --git a/templates/search/searchTabs.phtml b/templates/search/searchTabs.phtml
index d3bf165..a7c9fe9 100755
--- a/templates/search/searchTabs.phtml
+++ b/templates/search/searchTabs.phtml
@@ -1,16 +1,16 @@
- if (count($searchTabs) > 0): ?>
+ 0): ?>
- endif; ?>
+
diff --git a/templates/search/searchTabs.phtml.checkbox b/templates/search/searchTabs.phtml.checkbox
index 4ef0f7e..3bf0a2c 100755
--- a/templates/search/searchTabs.phtml.checkbox
+++ b/templates/search/searchTabs.phtml.checkbox
@@ -1,21 +1,21 @@
- //echo "URL : " .$this->url($basicSearch) ."\n"; ?>
+url($basicSearch) ."\n"; ?>
- if (count($searchTabs) > 0): ?>
+ 0): ?>
- foreach ($searchTabs as $Tabs) : ?>
- if ($pos = strpos($Tabs['url'], $this->url($basicSearch))!== false) $Tabs['url'] = substr($Tabs['url'], strlen($this->url($basicSearch))+1) ; ?>
- echo $Tabs['url']; ?>
- endforeach; ?>
+
+ url($basicSearch))!== false) $Tabs['url'] = substr($Tabs['url'], strlen($this->url($basicSearch))+1) ; ?>
+
+
- foreach ($searchTabs as $tab): ?>
- if ($this->permission()->allowDisplay($tab['permission'])): ?>
- $tab['selected'] ? ' class="active"' : ''?>
- //print_r($tab) ; ?>
+
+ permission()->allowDisplay($tab['permission'])): ?>
+
+
name='hiddenFilters' value='=($tab['url'])?>' /> =$this->transEsc($tab['label'])?>
- elseif ($block = $this->permission()->getAlternateContent($tab['permission'])): ?>
+ permission()->getAlternateContent($tab['permission'])): ?>
=$block?>
- endif; ?>
- endforeach; ?>
+
+
- endif ?>
+
diff --git a/templates/search/searchTabsAuthorities.phtml b/templates/search/searchTabsAuthorities.phtml
index 40fc4ef..6cf1cbd 100755
--- a/templates/search/searchTabsAuthorities.phtml
+++ b/templates/search/searchTabsAuthorities.phtml
@@ -1,17 +1,17 @@
- if (count($searchTabs) > 0): ?>
+ 0): ?>
- endif; ?>
+
diff --git a/templates/search/searchTabs_table.phtml b/templates/search/searchTabs_table.phtml
index 01096c0..f2eaceb 100755
--- a/templates/search/searchTabs_table.phtml
+++ b/templates/search/searchTabs_table.phtml
@@ -1,4 +1,4 @@
- if (count($searchTabs) > 0): ?>
+ 0): ?>
@@ -16,7 +16,7 @@
- endif; ?>
+
@@ -24,17 +24,17 @@
- foreach ($searchTabs as $tab): ?>
- if ($this->permission()->allowDisplay($tab['permission'])): ?>
+
+ permission()->allowDisplay($tab['permission'])): ?>
>
escapeHtmlAttr($tab['url']) . '"' ?>>=$this->transEsc($tab['label']); ?>
- elseif ($block = $this->permission()->getAlternateContent($tab['permission'])): ?>
+ permission()->getAlternateContent($tab['permission'])): ?>
=$block?>
- endif; ?>
- endforeach; ?>
+
+
- endif; ?>
+
diff --git a/templates/search/searchbox.phtml b/templates/search/searchbox.phtml
index 9bbeb27..888bbbf 100755
--- a/templates/search/searchbox.phtml
+++ b/templates/search/searchbox.phtml
@@ -1,4 +1,4 @@
-
+searchClassId)) {
$this->searchClassId = 'Solr';
@@ -18,90 +18,90 @@
$lastLimit = $this->searchMemory()->getLastLimit($this->searchClassId);
$ignoreHiddenFilterMemory = isset($this->ignoreHiddenFilterMemory) && $this->ignoreHiddenFilterMemory;
$ignoreHiddenFiltersInRequest = isset($this->ignoreHiddenFiltersInRequest) && $this->ignoreHiddenFiltersInRequest;
- $hiddenFilters = $this->searchtabs()->getHiddenFilters($this->searchClassId, $ignoreHiddenFilterMemory, $ignoreHiddenFiltersInRequest);
+ $hiddenFilters = $this->searchTabs()->getHiddenFilters($this->searchClassId, $ignoreHiddenFilterMemory, $ignoreHiddenFiltersInRequest);
if (empty($hiddenFilters) && !$ignoreHiddenFilterMemory) {
$hiddenFilters = $this->searchMemory()->getLastHiddenFilters($this->searchClassId);
if (empty($hiddenFilters)) {
- $hiddenFilters = $this->searchtabs()->getHiddenFilters($this->searchClassId);
+ $hiddenFilters = $this->searchTabs()->getHiddenFilters($this->searchClassId);
}
}
- $hiddenFilterParams = $this->searchtabs()->getCurrentHiddenFilterParams($this->searchClassId, $ignoreHiddenFilterMemory, '?');
+ $hiddenFilterParams = $this->searchTabs()->getCurrentHiddenFilterParams($this->searchClassId, $ignoreHiddenFilterMemory, '?');
?>
- $searchTabs = $this->searchtabs()->getTabConfig($this->searchClassId, $this->lookfor, $this->searchIndex, $this->searchType, $hiddenFilters); ?>
- if ($this->searchType == 'advanced'): ?>
+searchTabs()->getTabConfig($this->searchClassId, $this->lookfor, $this->searchIndex, $this->searchType, $hiddenFilters); ?>
+searchType == 'advanced'): ?>
- else: ?>
+
- endif; ?>
+
diff --git a/templates/search/searchboxAuthorities.phtml b/templates/search/searchboxAuthorities.phtml
index be3a3ad..f096150 100755
--- a/templates/search/searchboxAuthorities.phtml
+++ b/templates/search/searchboxAuthorities.phtml
@@ -1,4 +1,4 @@
-
+searchClassId)) {
$this->searchClassId = 'SolrAuth';
@@ -27,80 +27,80 @@
}
$hiddenFilterParams = $this->searchtabs()->getCurrentHiddenFilterParams($this->searchClassId, $ignoreHiddenFilterMemory, '?');
?>
- $searchTabs = $this->searchtabs()->getTabConfig($this->searchClassId, $this->lookfor, $this->searchIndex, $this->searchType, $hiddenFilters); ?>
- if ($this->searchType == 'advanced'): ?>
+searchtabs()->getTabConfig($this->searchClassId, $this->lookfor, $this->searchIndex, $this->searchType, $hiddenFilters); ?>
+searchType == 'advanced'): ?>
- else: ?>
+
- endif; ?>
+
diff --git a/theme.config.php b/theme.config.php
index 43771e5..3fdafeb 100755
--- a/theme.config.php
+++ b/theme.config.php
@@ -1,9 +1,5 @@
'bootprint3',
+ 'extends' => 'bootstrap5',
'favicon' => 'images/favicon.ico',
- "less" => array(
- "active" => true,
- "compiled.less"
- ),
);