diff --git a/local/languages/de.ini b/local/languages/de.ini index d2b3b113afd..396da9f2be9 100644 --- a/local/languages/de.ini +++ b/local/languages/de.ini @@ -331,6 +331,7 @@ Publication = "Ort, Verlag, Jahr" Year = "Jahr" Your_Search = "Ihre Suche" Other_Title = "Titelvariante" +Former_Title = "Früherer Titel" Library_Information = "Bibliotheksinformation" Item_Information = "Exemplarinformation" No_Item_Information = "Keine Exemplarinformation" @@ -343,6 +344,9 @@ Numeration = "Zählung" Original_Version_Note = "Originalausgabe" Original_Title = "Originaltitel" Performer = "Darsteller / Interpreten" +File_Note = "Dateityp" +Event_Note = "Datum/Ort der Aufzeichnung" +Langugage_Note = "Sprache und Schrift" Copy_Note = "Exemplarnotiz" Show_Location_Map = "Lageplan anzeigen" Order_EBook_tooltip = "Bestellen Sie dieses Buch als E-Book" diff --git a/local/languages/en.ini b/local/languages/en.ini index 8dc9314c223..ec3ca4e6d42 100644 --- a/local/languages/en.ini +++ b/local/languages/en.ini @@ -331,6 +331,7 @@ Publication = "Place, publisher, year" Year = "Year" Your_Search = "Your search" Other_Title = "Other title" +Former_Title = "Former title" Library_Information = "Library Info" Item_Information = "Item information" No_Item_Information = "No item information" @@ -343,6 +344,9 @@ Numeration = "Numeration" Original_Version_Note = "Original Edition" Original_Title = "Original Title" Performer = "Performers / Interpreters" +File_Note = "Type of file" +Event_Note = "Date and place of capture" +Langugage_Note = "Language and script" Copy_Note = "Copy Note" Show_Location_Map = "Show location" Order_EBook_tooltip = "Order this book as eBook" diff --git a/local/languages/fr.ini b/local/languages/fr.ini index 5cb7eccff52..f07962fb621 100644 --- a/local/languages/fr.ini +++ b/local/languages/fr.ini @@ -331,6 +331,7 @@ Publication = "Lieu, éditeur, dates" Year = "Date" Your_Search = "Votre recherche" Other_Title = "Variante du titre" +Former_Title = "Titre antérieur" Library_Information = "Informations sur la bibliothèque" Item_Information = "Informations sur les exemplaires" No_Item_Information = "Informations sur l'exemplaire n'est pas disponible" @@ -343,6 +344,9 @@ Numeration = "Numérotation" Original_Version_Note = "Edition originale" Original_Title = "Titre original" Performer = "Acteurs / Interprètes" +File_Note = "Type de fichier" +Event_Note = "Date/lieu de captation" +Langugage_Note = "Langue et écriture" Copy_Note = "Note locale" Show_Location_Map = "Plan de situation" Order_EBook_tooltip = "Commandez ce livre comme livre numérique" diff --git a/local/languages/it.ini b/local/languages/it.ini index 4b970b42123..040b27a2863 100644 --- a/local/languages/it.ini +++ b/local/languages/it.ini @@ -331,6 +331,7 @@ Publication = "Luogo, editore, anno" Year = "Anno" Your_Search = "Ricerca per" Other_Title = "Altro titolo" +Former_Title = "Titolo anteriore" Library_Information = "Info biblioteca" Item_Information = "Esemplari" No_Item_Information = "Senza informazione" @@ -343,6 +344,9 @@ Numeration = "Numerazione" Original_Version_Note = "Edizione originale" Original_Title = "Titolo originale" Performer = "Interprete" +File_Note = "Tipo di file" +Event_Note = "Data/luogo di registrazione" +Langugage_Note = "Lingua e scrittura" Copy_Note = "Copy Note" Show_Location_Map = "Piano di ubicazione" Order_EBook_tooltip = "Ordina questo libro comme libro elettronico" diff --git a/module/Swissbib/src/Swissbib/RecordDriver/SolrMarc.php b/module/Swissbib/src/Swissbib/RecordDriver/SolrMarc.php index ef5a46306f9..7eb6cf5a01a 100644 --- a/module/Swissbib/src/Swissbib/RecordDriver/SolrMarc.php +++ b/module/Swissbib/src/Swissbib/RecordDriver/SolrMarc.php @@ -1301,7 +1301,17 @@ public function getEdition() */ public function getAltTitle() { - return $this->getFieldArray('246', '247'); + return $this->getFieldArray('246', ['a', 'b']); + } + + /** + * Get former title + * + * @return array + */ + public function getFormerTitle() + { + return $this->getFieldArray('247', ['a', 'b']); } /** @@ -1426,6 +1436,26 @@ public function getPerformerNote() return $this->getFieldArray('511'); } + /** + * Get type of computer file or data note for the record. + * + * @return array + */ + public function getFileNote() + { + return $this->getFieldArray('516'); + } + + /** + * Get date/time and place of an event note for the record. + * + * @return array + */ + public function getEventNote() + { + return $this->getFieldArray('518'); + } + /** * Get original version note for the record. * @@ -1436,6 +1466,15 @@ public function getOriginalVersionNotes() return $this->getFieldArray('534', ['p', 't', 'c']); } + /** + * Get language information + * @return array + */ + public function getLangData() + { + return $this->getFieldArray('546', ['a', 'b']); + } + /** * Get Copy and Version Identification Note * diff --git a/themes/sbvfrd/templates/RecordTab/description.phtml b/themes/sbvfrd/templates/RecordTab/description.phtml index fbc70e64eec..d23cabffc0b 100644 --- a/themes/sbvfrd/templates/RecordTab/description.phtml +++ b/themes/sbvfrd/templates/RecordTab/description.phtml @@ -13,6 +13,7 @@ $dois = $record->getDOIs(); $urns = $record->getURNs(); $alttitle = $record->getAltTitle(); +$formerTitle = $record->getFormerTitle(); $series = $record->getSeries(); $collectionTitle = $record->getCollectionTitle(); @@ -97,6 +98,18 @@ $prevTitles = $record->getPreviousTitles(); endif; ?> + if (!empty($formerTitle)): ?> + $contentDisplayed = true; ?> +