diff --git a/src/main/resources/META-INF/resources/editor_form_copy-biocol.xed b/src/main/resources/META-INF/resources/editor_form_copy-biocol.xed new file mode 100644 index 0000000000000000000000000000000000000000..71c5f8e748108c0d0abbdc997cb8441659b0c136 --- /dev/null +++ b/src/main/resources/META-INF/resources/editor_form_copy-biocol.xed @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!DOCTYPE MyCoReWebPage> +<MyCoReWebPage> + + <section i18n="module.colul.geopal.collection.editor" direction="ltr"> + <div class="dpt_frame-ltr"> + <h1> + <i18n key="module.colul.geopal.collection.editor" /> + </h1> + <div class="editorform" id="js_lpz_common"> + <center> + <xed:form xmlns:xed="http://www.mycore.de/xeditor" method="post" role="form" class="form-horizontal"> + <xed:cancel url="/receive/{$id}" /> + <xed:cancel url="/index.html" /> + <xed:source uri="xslStyle:mycoreobject_copyof:notnull:mcrobject:{$id}" /> + <xed:include uri="webapp:editor/import_editor_form_biocol-ltr.xed" /> + </xed:form> + </center> + </div> + </div> + </section> + +</MyCoReWebPage> \ No newline at end of file diff --git a/src/main/resources/config/dptbase-biocol/mycore.properties b/src/main/resources/config/dptbase-biocol/mycore.properties index 04523c74d0674d42282373d3e69ef1b1a4426cc4..dd3efe7f29d9d8d7fcc4721ed41d3c581cce4ddb 100644 --- a/src/main/resources/config/dptbase-biocol/mycore.properties +++ b/src/main/resources/config/dptbase-biocol/mycore.properties @@ -5,14 +5,12 @@ # Infomail - MCR.Component.Infomail.viaf.additionals.identifier=/mycoreobject/metadata/def.biocol01/biocol01 + MCR.Component.Infomail.biocol.additionals.identifier=/mycoreobject/metadata/def.biocol01/biocol01 # solr definition MCR.URIResolver.xslImports.solr-document=%MCR.URIResolver.xslImports.solr-document%,biocol2solr.xsl - MCR.URIResolver.xslIncludes.solrResponse=%MCR.URIResolver.xslIncludes.solrResponse%,response-biocol.xsl - MCR.Solr.Proxy.WhiteList=%MCR.Solr.Proxy.WhiteList%,/suggest_dpt_biocol_biocol09,/suggest_dpt_biocol_biocol33,/suggest_dpt_biocol_biocol40,/suggest_dpt_biocol_biocol60,/suggest_dpt_biocol_biocol70 # Output formatter @@ -26,18 +24,10 @@ MCR.IndexBrowser.biocol.Table=biocol MCR.IndexBrowser.biocol.Style=biocol MCR.IndexBrowser.biocol.MaxPerPage=50 - MCR.IndexBrowser.biocol.FieldsToSort=biocol_biocol01sort - MCR.IndexBrowser.biocol.Searchfield=biocol_biocol01 - MCR.IndexBrowser.biocol.ExtraOutputFields=id,biocol_biocol01 + MCR.IndexBrowser.biocol.FieldsToSort=biocol.biocol01sort + MCR.IndexBrowser.biocol.Searchfield=biocol.biocol01 + MCR.IndexBrowser.biocol.ExtraOutputFields=id,biocol.biocol01 # biocol mail config MCR.URIResolver.xslIncludes.eventHandlerMailer=%MCR.URIResolver.xslIncludes.eventHandlerMailer%,e-mail-events-biocol.xsl - -# IView2 configuration - - MCR.Viewer.canvas.startup.fitWidth=false - -# Google sitemap definition - - MCR.GoogleSitemap.SolrQuery=objectType\:biocol diff --git a/src/main/resources/config/dptbase-biocol/solr/main/solr-config.json b/src/main/resources/config/dptbase-biocol/solr/main/solr-config.json index 2015957ece2c2fb447b9c2da24c61e95771f303c..1bdb1fec3b6d797fe1551881fa2619fad5e67889 100644 --- a/src/main/resources/config/dptbase-biocol/solr/main/solr-config.json +++ b/src/main/resources/config/dptbase-biocol/solr/main/solr-config.json @@ -19,7 +19,7 @@ "dictionaryImpl": "DocumentDictionaryFactory", "unicodeAware": "true", "payloadField": "id", - "field": "biocol_biocol09_suggest", + "field": "biocol.biocol09_suggest", "suggestAnalyzerFieldType": "dpt_common_text_de_ngrams", "buildOnStartup": "true", "buildOnCommit": "true", @@ -62,7 +62,7 @@ "dictionaryImpl": "DocumentDictionaryFactory", "unicodeAware": "true", "payloadField": "id", - "field": "biocol_biocol20_suggest", + "field": "biocol.biocol20_suggest", "suggestAnalyzerFieldType": "dpt_common_text_de_ngrams", "buildOnStartup": "true", "buildOnCommit": "true", @@ -105,7 +105,7 @@ "dictionaryImpl": "DocumentDictionaryFactory", "unicodeAware": "true", "payloadField": "id", - "field": "biocol_biocol33_suggest", + "field": "biocol.biocol33_suggest", "suggestAnalyzerFieldType": "dpt_common_text_de_ngrams", "buildOnStartup": "true", "buildOnCommit": "true", @@ -148,7 +148,7 @@ "dictionaryImpl": "DocumentDictionaryFactory", "unicodeAware": "true", "payloadField": "id", - "field": "biocol_biocol40_suggest", + "field": "biocol.biocol40_suggest", "suggestAnalyzerFieldType": "dpt_common_text_de_ngrams", "buildOnStartup": "true", "buildOnCommit": "true", @@ -191,7 +191,7 @@ "dictionaryImpl": "DocumentDictionaryFactory", "unicodeAware": "true", "payloadField": "id", - "field": "biocol_biocol60_suggest", + "field": "biocol.biocol60_suggest", "suggestAnalyzerFieldType": "dpt_common_text_de_ngrams", "buildOnStartup": "true", "buildOnCommit": "true", @@ -234,7 +234,7 @@ "dictionaryImpl": "DocumentDictionaryFactory", "unicodeAware": "true", "payloadField": "id", - "field": "biocol_biocol70_suggest", + "field": "biocol.biocol70_suggest", "suggestAnalyzerFieldType": "dpt_common_text_de_ngrams", "buildOnStartup": "true", "buildOnCommit": "true", diff --git a/src/main/resources/config/dptbase-biocol/solr/main/solr-schema.json b/src/main/resources/config/dptbase-biocol/solr/main/solr-schema.json index ee46f8740396bb475492451a22a88e325f358e4c..36ad1ce927e5bc3d6b74ab97874d649e15bfaa55 100644 --- a/src/main/resources/config/dptbase-biocol/solr/main/solr-schema.json +++ b/src/main/resources/config/dptbase-biocol/solr/main/solr-schema.json @@ -1,7 +1,7 @@ [ { "add-field": { - "name": "biocol_biocol01sort", + "name": "biocol.biocol01sort", "type": "string", "indexed": false, "stored": false, @@ -11,7 +11,7 @@ }, { "add-field": { - "name": "biocol_biocol01", + "name": "biocol.biocol01", "type": "string", "multiValued": false, "indexed": true, @@ -20,7 +20,7 @@ }, { "add-field": { - "name": "biocol_biocol01shelfmark", + "name": "biocol.biocol01shelfmark", "type": "dpt_common_shelfmark", "multiValued": false, "indexed": true, @@ -29,7 +29,7 @@ }, { "add-field": { - "name": "biocol_biocol05shelfmark", + "name": "biocol.biocol05shelfmark", "type": "dpt_common_shelfmark", "multiValued": false, "indexed": true, @@ -38,7 +38,7 @@ }, { "add-field": { - "name": "biocol_biocol09", + "name": "biocol.biocol09", "type": "text_general", "multiValued": false, "indexed": true, @@ -47,7 +47,7 @@ }, { "add-field": { - "name": "biocol_biocol09_suggest", + "name": "biocol.biocol09_suggest", "type": "dpt_common_text_de_ngrams", "multiValued": false, "indexed": true, @@ -56,13 +56,13 @@ }, { "add-copy-field": { - "source": "biocol_biocol09", - "dest": "biocol_biocol09_suggest" + "source": "biocol.biocol09", + "dest": "biocol.biocol09_suggest" } }, { "add-field": { - "name": "biocol_biocol20", + "name": "biocol.biocol20", "type": "text_general", "multiValued": false, "indexed": true, @@ -71,7 +71,7 @@ }, { "add-field": { - "name": "biocol_biocol20_suggest", + "name": "biocol.biocol20_suggest", "type": "dpt_common_text_de_ngrams", "multiValued": false, "indexed": true, @@ -80,13 +80,13 @@ }, { "add-copy-field": { - "source": "biocol_biocol20", - "dest": "biocol_biocol20_suggest" + "source": "biocol.biocol20", + "dest": "biocol.biocol20_suggest" } }, { "add-field": { - "name": "biocol_biocol33", + "name": "biocol.biocol33", "type": "text_general", "multiValued": false, "indexed": true, @@ -95,7 +95,7 @@ }, { "add-field": { - "name": "biocol_biocol33_suggest", + "name": "biocol.biocol33_suggest", "type": "dpt_common_text_de_ngrams", "multiValued": false, "indexed": true, @@ -104,13 +104,13 @@ }, { "add-copy-field": { - "source": "biocol_biocol33", - "dest": "biocol_biocol33_suggest" + "source": "biocol.biocol33", + "dest": "biocol.biocol33_suggest" } }, { "add-field": { - "name": "biocol_biocol40", + "name": "biocol.biocol40", "type": "text_general", "multiValued": false, "indexed": true, @@ -119,7 +119,7 @@ }, { "add-field": { - "name": "biocol_biocol40_suggest", + "name": "biocol.biocol40_suggest", "type": "dpt_common_text_de_ngrams", "multiValued": false, "indexed": true, @@ -128,13 +128,13 @@ }, { "add-copy-field": { - "source": "biocol_biocol40", - "dest": "biocol_biocol40_suggest" + "source": "biocol.biocol40", + "dest": "biocol.biocol40_suggest" } }, { "add-field": { - "name": "biocol_biocol60", + "name": "biocol.biocol60", "type": "text_general", "multiValued": false, "indexed": true, @@ -143,7 +143,7 @@ }, { "add-field": { - "name": "biocol_biocol60_suggest", + "name": "biocol.biocol60_suggest", "type": "dpt_common_text_de_ngrams", "multiValued": false, "indexed": true, @@ -152,13 +152,13 @@ }, { "add-copy-field": { - "source": "biocol_biocol60", - "dest": "biocol_biocol60_suggest" + "source": "biocol.biocol60", + "dest": "biocol.biocol60_suggest" } }, { "add-field": { - "name": "biocol_biocol70", + "name": "biocol.biocol70", "type": "text_general", "multiValued": false, "indexed": true, @@ -167,7 +167,7 @@ }, { "add-field": { - "name": "biocol_biocol70_suggest", + "name": "biocol.biocol70_suggest", "type": "dpt_common_text_de_ngrams", "multiValued": false, "indexed": true, @@ -176,8 +176,8 @@ }, { "add-copy-field": { - "source": "biocol_biocol70", - "dest": "biocol_biocol70_suggest" + "source": "biocol.biocol70", + "dest": "biocol.biocol70_suggest" } } ] diff --git a/src/main/resources/xsl/biocol.xsl b/src/main/resources/xsl/biocol.xsl deleted file mode 100644 index c927f03baf1a845f2c31ff1e17693f752e1deb2e..0000000000000000000000000000000000000000 --- a/src/main/resources/xsl/biocol.xsl +++ /dev/null @@ -1,975 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mcr="http://www.mycore.org/" - xmlns:acl="xalan://org.mycore.access.MCRAccessManager" xmlns:i18n="xalan://org.mycore.services.i18n.MCRTranslation" - xmlns:encoder="xalan://java.net.URLEncoder" xmlns:mcrxml="xalan://org.mycore.common.xml.MCRXMLFunctions" - exclude-result-prefixes="xlink mcr mcrxml acl i18n xsl encoder"> - - <xsl:template match="/mycoreobject[contains(@ID,'_biocol_')]" mode="title" priority="1"> - <xsl:value-of select="./metadata/def.biocol01/biocol01/text()" /> - </xsl:template> - - <xsl:template match="/mycoreobject[contains(@ID,'_biocol_')]" mode="present" priority="1"> - <xsl:param name="accessintern" /> - <xsl:param name="accessedit" /> - <xsl:param name="accessdelete" /> - <xsl:param name="status" /> - <xsl:param name="access" /> - - <xsl:variable name="obj_id"> - <xsl:value-of select="/mycoreobject/@ID" /> - </xsl:variable> - - <xsl:variable name="objectBaseURL"> - <xsl:value-of select="concat($WebApplicationBaseURL,'receive/')" /> - </xsl:variable> - <xsl:variable name="staticURL"> - <xsl:value-of select="concat($objectBaseURL,$obj_id)" /> - </xsl:variable> - - <!-- Derivate --> - - <xsl:if test="./structure/derobjects and $access = 'true'"> - <xsl:call-template name="dptShowDerivates"> - <xsl:with-param name="mycoreobject_node" select="." /> - <xsl:with-param name="accessdelete" select="$accessdelete" /> - <xsl:with-param name="accessedit" select="$accessedit" /> - <xsl:with-param name="accessintern" select="$accessintern" /> - </xsl:call-template> - </xsl:if> - - <xsl:choose> - <xsl:when test="$access = 'true'"> - - <table id="ul_metadata_content"> - - <!-- Empty line --> - - <tr> - <td class="metanone" colspan="2">  </td> - </tr> - - <!-- biocol02 - collection part --> - - <xsl:if test="./metadata/def.biocol02"> - <xsl:call-template name="printValueLineClassification"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol02.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol02/biocol02" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol07 - object type --> - - <xsl:if test="./metadata/def.biocol07"> - <xsl:call-template name="printValueLineClassification"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol07.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol07/biocol07" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol08 - collection DDC classification --> - - <xsl:if test="./metadata/def.biocol08"> - <xsl:call-template name="printValueLineClassification"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol08.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol08/biocol08" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol05 - old classmark --> - - <xsl:if test="./metadata/def.biocol05 and $accessintern = 'true'"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol05.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol05/biocol05" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol05 - object descriptor --> - - <xsl:if test="./metadata/def.biocol09"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol09.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol09/biocol09" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol10 - web refernce --> - - <xsl:if test="./metadata/def.biocol10"> - <xsl:call-template name="printValueLinePrintLink"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol10.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol10/biocol10" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - </table> - - <!-- Title line --> - - <h3 class="dpt_description_headline-ltr"> - <xsl:value-of select="i18n:translate('module.dptbase.biocol.biocol.headline01')" /> - </h3> - <table id="ul_metadata_content"> - - <!-- biocol20 - realm --> - - <xsl:if test="./metadata/def.biocol20"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol20.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol20/biocol20" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol21 - phylum --> - - <xsl:if test="./metadata/def.biocol21"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol21.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol21/biocol21" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol22 - subphylum --> - - <xsl:if test="./metadata/def.biocol22"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol22.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol22/biocol22" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol23 - class --> - - <xsl:if test="./metadata/def.biocol23"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol23.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol23/biocol23" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol24 - subclass --> - - <xsl:if test="./metadata/def.biocol24"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol24.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol24/biocol24" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol25 - super order --> - - <xsl:if test="./metadata/def.biocol25"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol25.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol25/biocol25" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol26 - order --> - - <xsl:if test="./metadata/def.biocol26"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol26.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol26/biocol26" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol27 - super family --> - - <xsl:if test="./metadata/def.biocol27"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol27.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol27/biocol27" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol28 - family --> - - <xsl:if test="./metadata/def.biocol28"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol28.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol28/biocol28" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol28 - subfamily --> - - <xsl:if test="./metadata/def.biocol29"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol29.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol29/biocol29" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol30 - genus --> - - <xsl:if test="./metadata/def.biocol30"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol30.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol30/biocol30" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol31 - species --> - - <xsl:if test="./metadata/def.biocol31"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol31.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol31/biocol31" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol32 - subspecies --> - - <xsl:if test="./metadata/def.biocol32"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol32.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol32/biocol32" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol33 - author of the species --> - - <xsl:if test="./metadata/def.biocol33"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol33.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol33/biocol33" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol34 - taxonomie --> - - <xsl:if test="./metadata/def.biocol34"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol34.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol34/biocol34" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol35 - habitus --> - - <xsl:if test="./metadata/def.biocol35"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol35.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol35/biocol35" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - </table> - - <!-- Title line --> - - <xsl:if - test="./metadata/def.biocol40 or ./metadata/def.biocol41 or ./metadata/def.biocol42 or ./metadata/def.biocol43 or ./metadata/def.biocol44 or ./metadata/def.biocol45 or ./metadata/def.biocol46 or ./metadata/def.biocol47 or ./metadata/def.biocol48 or ./metadata/def.biocol49"> - <h3 class="dpt_description_headline-ltr"> - <xsl:value-of select="i18n:translate('module.dptbase.biocol.biocol.headline02')" /> - </h3> - <table id="ul_metadata_content"> - - <!-- biocol40 - find place --> - - <xsl:if test="./metadata/def.biocol40"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol40.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol40/biocol40" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol41 - habitat --> - - <xsl:if test="./metadata/def.biocol41"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol41.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol41/biocol41" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol42 - finder --> - - <xsl:if test="./metadata/def.biocol42"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol42.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol42/biocol42" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol43 - find date --> - - <xsl:if test="./metadata/def.biocol43"> - <xsl:call-template name="printValueLineHistoryDate"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol43.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol43/biocol43" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol44 - determinator --> - - <xsl:if test="./metadata/def.biocol44"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol44.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol44/biocol44" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol49 - find number --> - - <xsl:if test="./metadata/def.biocol49"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol49.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol49/biocol49" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol45 - conservation --> - - <xsl:if test="./metadata/def.biocol45"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol45.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol45/biocol45" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol46 - determination history --> - - <xsl:if test="./metadata/def.biocol46"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol46.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol46/biocol46" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol47 - quadrant --> - - <xsl:if test="./metadata/def.biocol47"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol47.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol47/biocol47" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol48 - subquadrant --> - - <xsl:if test="./metadata/def.biocol48"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol48.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol48/biocol48" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - </table> - </xsl:if> - - <!-- Title line --> - - <h3 class="dpt_description_headline-ltr"> - <xsl:value-of select="i18n:translate('module.dptbase.biocol.biocol.headline03')" /> - </h3> - <table id="ul_metadata_content"> - - <!-- biocol60 - area --> - - <xsl:if test="./metadata/def.biocol60"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol60.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol60/biocol60" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol61 - country --> - - <xsl:if test="./metadata/def.biocol61"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol61.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol61/biocol61" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol62 - region --> - - <xsl:if test="./metadata/def.biocol62"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol62.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol62/biocol62" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol63 - place --> - - <xsl:if test="./metadata/def.biocol63"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol63.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol63/biocol63" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol64 - Bundesland --> - - <xsl:if test="./metadata/def.biocol64"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol64.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol64/biocol64" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol65 - county --> - - <xsl:if test="./metadata/def.biocol65"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol65.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol65/biocol65" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol66 - Koordinaten Gauss-Krüger --> - - <xsl:if test="./metadata/def.biocol66"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol66.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol66/biocol66" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol67 - Koordinaten GPS --> - - <xsl:if test="./metadata/def.biocol67"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol67.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol67/biocol67" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - </table> - - <!-- Title line --> - - <xsl:if - test="./metadata/def.biocol70 or ./metadata/def.biocol71 or ./metadata/def.biocol72 or ./metadata/def.biocol73 or ./metadata/def.biocol74 or ./metadata/def.biocol75 or ./metadata/def.biocol76 or ./metadata/def.biocol77"> - - <h3 class="dpt_description_headline-ltr"> - <xsl:value-of select="i18n:translate('module.dptbase.biocol.biocol.headline04')" /> - </h3> - <table id="ul_metadata_content"> - - <!-- biocol77 - era --> - - <xsl:if test="./metadata/def.biocol77"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol77.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol77/biocol77" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol70 - system --> - - <xsl:if test="./metadata/def.biocol70"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol70.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol70/biocol70" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol71 - level --> - - <xsl:if test="./metadata/def.biocol71"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol71.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol71/biocol71" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol72 - Abteilung --> - - <xsl:if test="./metadata/def.biocol72"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol72.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol72/biocol72" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol74 - Formation --> - - <xsl:if test="./metadata/def.biocol74"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol74.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol74/biocol74" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol75 - Member --> - - <xsl:if test="./metadata/def.biocol75"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol75.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol75/biocol75" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol73 - Horizont --> - - <xsl:if test="./metadata/def.biocol73"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol73.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol73/biocol73" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol76 - Probe --> - - <xsl:if test="./metadata/def.biocol76"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol76.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol76/biocol76" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - </table> - - </xsl:if> - - - <xsl:if test="$accessintern = 'true'"> - <xsl:if - test="./metadata/def.biocol80 or ./metadata/def.biocol81 or ./metadata/def.biocol82 or ./metadata/def.biocol83 or ./metadata/def.biocol84"> - - <!-- Title line --> - - <h3 class="dpt_description_headline-ltr"> - <xsl:value-of select="i18n:translate('module.dptbase.biocol.biocol.headline05')" /> - </h3> - <table id="ul_metadata_content"> - - <!-- biocol80 - Standort --> - - <xsl:if test="./metadata/def.biocol80"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol80.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol80/biocol80" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol81 - room --> - - <xsl:if test="./metadata/def.biocol81"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol81.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol81/biocol81" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol82 - cabinet --> - - <xsl:if test="./metadata/def.biocol82"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol82.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol82/biocol82" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol83 - Fach --> - - <xsl:if test="./metadata/def.biocol83"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol83.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol83/biocol83" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol84 - Etikettentyp --> - - <xsl:if test="./metadata/def.biocol84"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol84.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol84/biocol84" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - </table> - </xsl:if> - </xsl:if> - - - <xsl:if - test="./metadata/def.biocol13 or ./metadata/def.biocol14 or ./metadata/def.biocol15 or ./metadata/def.biocol16"> - <!-- Title line --> - - <h3 class="dpt_description_headline-ltr"> - <xsl:value-of select="i18n:translate('module.dptbase.biocol.biocol.headline06')" /> - </h3> - <table id="ul_metadata_content"> - - <!-- biocol16 - Typusmaterial --> - - <xsl:if test="./metadata/def.biocol16"> - <xsl:call-template name="printValueLineClassification"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol16.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol16/biocol16" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol13 - author publication --> - - <xsl:if test="./metadata/def.biocol13"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol13.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol13/biocol13" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol14 - publication --> - - <xsl:if test="./metadata/def.biocol15"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol14.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol14/biocol14" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol15 - page --> - - <xsl:if test="./metadata/def.biocol16"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol15.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol15/biocol15" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - </table> - </xsl:if> - - <!-- Title line --> - - <h3 class="dpt_description_headline-ltr"> - <xsl:value-of select="i18n:translate('module.dptbase.biocol.biocol.headline07')" /> - </h3> - <table id="ul_metadata_content"> - - <!-- biocol03 - remarks --> - - <xsl:if test="./metadata/def.biocol03"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol03.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol03/biocol03" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol04 - remarks internal --> - - <xsl:if test="./metadata/def.biocol04 and $accessintern = 'true'"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol04.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol04/biocol04" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- biocol06 *** editor --> - - <xsl:if test="./metadata/def.biocol06"> - <xsl:call-template name="printValueLinePrintI18N"> - <xsl:with-param name="i18n" select="'module.dptbase.biocol.biocol06.view'" /> - <xsl:with-param name="nodes" select="./metadata/def.biocol06/biocol06" /> - <xsl:with-param name="next" select="'<br />'" /> - <xsl:with-param name="bold" select="true()" /> - <xsl:with-param name="type_prefix" select="'module.dptbase.biocol.biocol06.type.'" /> - </xsl:call-template> - </xsl:if> - - <!-- Status --> - <xsl:if test="./service/servstates and $accessintern = 'true'"> - <tr> - <td class="dpt_metadata_name_bold-ltr"> - <xsl:value-of select="concat(i18n:translate('module.dptbase.common.metaData.status'),' :')" /> - </td> - <td class="dpt_metadata_value-ltr"> - <xsl:call-template name="printClass"> - <xsl:with-param name="nodes" select="./service/servstates/servstate" /> - </xsl:call-template> - </td> - </tr> - </xsl:if> - - <!-- Modifyed by --> - - <xsl:if - test="./service/servflags/servflag[@type=('modifiedby' or 'createdby')] and $accessintern = 'true'"> - <xsl:call-template name="printValueLineServiceModifiedBy"> - <xsl:with-param name="nodes" select="./service/servflags" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - </xsl:if> - - <!-- Static URL --> - - <tr> - <td class="dpt_metadata_name_bold-ltr"> - <xsl:value-of - select="concat(i18n:translate('module.dptbase.common.metaData.staticURL'),' :')" /> - </td> - <td class="dpt_metadata_value-ltr"> - <a> - <xsl:attribute name="href"> - <xsl:copy-of select="$staticURL" /> - </xsl:attribute> - <xsl:copy-of select="$staticURL" /> - </a> - </td> - </tr> - - <!-- MyCoRe ID --> - <tr> - <td class="dpt_metadata_name_bold-ltr"> - <xsl:value-of select="i18n:translate('module.dptbase.common.metaData.ID')"/> - </td> - <td class="dpt_metadata_value-ltr"> - <xsl:value-of select="./@ID"/> - </td> - </tr> - - <!-- License --> - - <xsl:call-template name="printValueLineLicense"> - <xsl:with-param name="nodes" select="." /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - - <!-- Mail to us --> - - <xsl:variable name="re_mcrid" select="./@ID" /> - <xsl:variable name="project" select="substring-before($re_mcrid,'_')" /> - <xsl:call-template name="printValueLineMailUs"> - <xsl:with-param name="re_mcrid" select="./@ID" /> - <xsl:with-param name="project" select="substring-before($re_mcrid,'_')" /> - </xsl:call-template> - - <!-- Editor Buttons --> - - <xsl:if test="$accessintern = 'true'"> - <tr> - <td class="dpt_metadata_name_bold-ltr"> - <xsl:value-of select="concat(i18n:translate('module.dptbase.common.metaData.edit'),' :')" /> - </td> - <td class="dpt_metadata_value-ltr"> - <xsl:choose> - <xsl:when test="contains($obj_id,'ULBotanyHerbarium_biocol_')"> - <xsl:call-template name="editobject_with_der_herbarium"> - <xsl:with-param name="accessedit" select="$accessedit" /> - <xsl:with-param name="accessdelete" select="$accessdelete" /> - <xsl:with-param name="id" select="./@ID" /> - </xsl:call-template> - </xsl:when> - <xsl:when test="contains($obj_id,'ULGeoPalOtolith_biocol_')"> - <xsl:call-template name="editobject_with_der_geopal"> - <xsl:with-param name="accessedit" select="$accessedit" /> - <xsl:with-param name="accessdelete" select="$accessdelete" /> - <xsl:with-param name="id" select="./@ID" /> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="editobject_with_der"> - <xsl:with-param name="accessedit" select="$accessedit" /> - <xsl:with-param name="accessdelete" select="$accessdelete" /> - <xsl:with-param name="id" select="./@ID" /> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> - </td> - </tr> - </xsl:if> - - </table> - - </xsl:when> - - <xsl:otherwise> - <table id="ul_metadata_content"> - - <!-- access deny --> - <tr> - <td class="dpt_metadata_name_bold-ltr"> - </td> - <td class="dpt_metadata_value-ltr"> - <xsl:value-of - select="document(concat('i18n:','module.dptbase.common.metaData.accessDenied'))/i18n/text()" /> - </td> - </tr> - - <!-- MyCoRe ID --> - <xsl:call-template name="printValueLineMCRID"> - <xsl:with-param name="ID" select="./@ID" /> - <xsl:with-param name="staticURL" select="$staticURL" /> - <xsl:with-param name="bold" select="true()" /> - </xsl:call-template> - - </table> - - </xsl:otherwise> - </xsl:choose> - - </xsl:template> - - <xsl:template name="editobject_with_der_herbarium"> - <xsl:param name="accessedit" /> - <xsl:param name="accessdelete" /> - <xsl:param name="id" /> - <xsl:if test="$accessedit = 'true'"> - <a class="dpt_icon" href="/servlets/derivate/create?id={$id}" title="{i18n:translate('module.dptbase.common.editor.derivate.addDerivate')}"> - <span class="fas fa-plus-square" /> - </a> - </xsl:if> - </xsl:template> - - <xsl:template name="editobject_with_der_geopal"> - <xsl:param name="accessedit" /> - <xsl:param name="accessdelete" /> - <xsl:param name="id" /> - <xsl:param name="subproject" /> - <xsl:if test="$accessedit = 'true'"> - <xsl:variable name="origin" select="substring-before($id,'_')" /> - <xsl:variable name="editorformcommit" select="concat('/editor_form_commit_biocol-',$origin,'.xed')" /> - <a class="dpt_icon" href="{$editorformcommit}?id={$id}" title="{i18n:translate('module.dptbase.common.editor.object.editObject')}"> - <span class="fas fa-edit" /> - </a> - <xsl:variable name="editorformcopy" select="concat('/editor_form_copy_biocol-',$origin,'.xed')" /> - <a class="dpt_icon" href="{$editorformcopy}?id={$id}&origin={$origin}" title="{i18n:translate('module.dptbase.common.editor.object.copyObject')}"> - <span class="fas fa-clone" /> - </a> - <a class="dpt_icon" href="/servlets/derivate/create?id={$id}" title="{i18n:translate('module.dptbase.common.editor.derivate.addDerivate')}"> - <span class="fas fa-plus-square" /> - </a> - </xsl:if> - <xsl:if test="$accessdelete = 'true'"> - <xsl:variable name="delpath" select="concat($ServletsBaseURL,'object/delete?id=',$id)" /> - <script type="text/javascript"><![CDATA[ - function doItDelSt() { - strInput = confirm('<xsl:value-of select="i18n:translate('module.dptbase.common.isf.deleteMsg')" />'); - if(strInput==true) - window.location='<xsl:value-of select="$delpath" />' } - ]]> - </script> - <a class="dpt_icon" href="javascript:doItDelSt()" title="{i18n:translate('module.dptbase.common.editor.object.delObject')}"> - <span class="fas fa-trash" /> - </a> - </xsl:if> - </xsl:template> - -</xsl:stylesheet> - diff --git a/src/main/resources/xsl/biocol2native.xsl b/src/main/resources/xsl/biocol2native.xsl index 693ef5fee73c97b03771a253829ecc5adef5108f..173197f2bdd3e8f75d058c179e2060396d4d7747 100644 --- a/src/main/resources/xsl/biocol2native.xsl +++ b/src/main/resources/xsl/biocol2native.xsl @@ -15,50 +15,50 @@ </xsl:if> <xsl:for-each select="*"> <xsl:choose> - <xsl:when test="name() = 'def.biocol02'"> - <xsl:apply-templates select="." mode="classification-native" /> - </xsl:when> - <xsl:when test="name() = 'def.biocol04' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol05' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol07'"> - <xsl:apply-templates select="." mode="classification-native" /> - </xsl:when> - <xsl:when test="name() = 'def.biocol08'"> - <xsl:apply-templates select="." mode="classification-native" /> - </xsl:when> - <xsl:when test="name() = 'def.biocol16'"> - <xsl:apply-templates select="." mode="classification-native" /> - </xsl:when> - <xsl:when test="name() = 'def.biocol80' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol81' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol82' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol83' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol84' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:otherwise> + <xsl:when test="$access = 'true'"> <xsl:choose> - <xsl:when test="$access = 'true'"> + <xsl:when test="name() = 'def.biocol02'"> + <xsl:apply-templates select="." mode="classification-native" /> + </xsl:when> + <xsl:when test="name() = 'def.biocol04' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol05' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol07'"> + <xsl:apply-templates select="." mode="classification-native" /> + </xsl:when> + <xsl:when test="name() = 'def.biocol08'"> + <xsl:apply-templates select="." mode="classification-native" /> + </xsl:when> + <xsl:when test="name() = 'def.biocol16'"> + <xsl:apply-templates select="." mode="classification-native" /> + </xsl:when> + <xsl:when test="name() = 'def.biocol80' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol81' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol82' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol83' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol84' and $accessintern = 'true'"> <xsl:copy-of select="." /> </xsl:when> <xsl:otherwise> - <xsl:if test="name() = 'def.biocol01'"> - <xsl:copy-of select="." /> - </xsl:if> + <xsl:copy-of select="." /> </xsl:otherwise> </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:if test="name() = 'def.biocol01'"> + <xsl:copy-of select="." /> + </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:for-each> diff --git a/src/main/resources/xsl/biocol2solr.xsl b/src/main/resources/xsl/biocol2solr.xsl index e250b0bb00dd5cb9a6a1848a79fb42ea5bdf3915..a5c6e01fe8ee0f0d16dbb96629e26de35bc5b860 100644 --- a/src/main/resources/xsl/biocol2solr.xsl +++ b/src/main/resources/xsl/biocol2solr.xsl @@ -11,25 +11,13 @@ <xsl:if test="./metadata/def.biocol01/biocol01"> <!-- classmark --> - <field name="biocol_biocol01"> + <field name="biocol.biocol01"> <xsl:value-of select="./metadata/def.biocol01/biocol01/text()" /> </field> - <field name="biocol_biocol01sort"> + <field name="biocol.biocol01sort"> <xsl:value-of select="./@label" /> </field> - <field name="biocol_biocol01shelfmark"> - <xsl:value-of select="./metadata/def.biocol01/biocol01/text()" /> - </field> - <field name="mods.identifier"> - <xsl:value-of select="./metadata/def.biocol01/biocol01/text()" /> - </field> - <field name="mods.identifier.unique.sortable"> - <xsl:value-of select="./@label" /> - </field> - <field name="mods.identifier.unique.string"> - <xsl:value-of select="./metadata/def.biocol01/biocol01/text()" /> - </field> - <field name="mods.identifier.unique.splited"> + <field name="biocol.biocol01shelfmark"> <xsl:value-of select="./metadata/def.biocol01/biocol01/text()" /> </field> </xsl:if> @@ -57,12 +45,6 @@ <field name="biocol_biocol20"> <xsl:value-of select="$taxonomie" /> </field> - <field name="mods.title"> - <xsl:value-of select="$taxonomie" /> - </field> - <field name="mods.title.main"> - <xsl:value-of select="$taxonomie" /> - </field> </xsl:if> <xsl:if test="./metadata/def.biocol33/biocol33"> @@ -87,9 +69,6 @@ <field name="biocol_biocol60"> <xsl:value-of select="$place" /> </field> - <field name="mods.place"> - <xsl:value-of select="$place" /> - </field> </xsl:if> <xsl:if diff --git a/src/main/resources/xsl/biocol2xml.xsl b/src/main/resources/xsl/biocol2xml.xsl index a934aa957a0b77d2d4f94cf5411336ae7f9d48ff..fae033303151bcadd08fcac7cd25f0bddb895d72 100644 --- a/src/main/resources/xsl/biocol2xml.xsl +++ b/src/main/resources/xsl/biocol2xml.xsl @@ -15,38 +15,38 @@ </xsl:if> <xsl:for-each select="*"> <xsl:choose> - <xsl:when test="name() = 'def.biocol04' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol05' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol80' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol81' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol82' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol83' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:when test="name() = 'def.biocol84' and $accessintern = 'true'"> - <xsl:copy-of select="." /> - </xsl:when> - <xsl:otherwise> + <xsl:when test="$access = 'true'"> <xsl:choose> - <xsl:when test="$access = 'true'"> + <xsl:when test="name() = 'def.biocol04' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol05' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol80' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol81' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol82' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol83' and $accessintern = 'true'"> + <xsl:copy-of select="." /> + </xsl:when> + <xsl:when test="name() = 'def.biocol84' and $accessintern = 'true'"> <xsl:copy-of select="." /> </xsl:when> <xsl:otherwise> - <xsl:if test="name() = 'def.biocol01'"> - <xsl:copy-of select="." /> - </xsl:if> + <xsl:copy-of select="." /> </xsl:otherwise> </xsl:choose> + </xsl:when> + <xsl:otherwise> + <xsl:if test="name() = 'def.biocol01'"> + <xsl:copy-of select="." /> + </xsl:if> </xsl:otherwise> </xsl:choose> </xsl:for-each> diff --git a/src/main/resources/xsl/e-mail-events-biocol.xsl b/src/main/resources/xsl/e-mail-events-biocol.xsl index 5277950338aa377aa6d938bd3c7913b3ebe1a52b..a7c84e5bb5ce8f4e436ccfe7c517841f7a409c3e 100644 --- a/src/main/resources/xsl/e-mail-events-biocol.xsl +++ b/src/main/resources/xsl/e-mail-events-biocol.xsl @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > - <xsl:template match="mycoreobject" mode="email_body" priority="1"> + <xsl:template match="mycoreobject[contains(@ID,'_biocol_')]" mode="email_body" priority="1"> <body> <xsl:apply-templates select="document('user:current')/user" mode="info" /> <xsl:value-of select="concat('MyCoReID : ',@ID,$newline)" /> @@ -9,7 +9,7 @@ <xsl:value-of select="concat('Label : ',@label,$newline)" /> </xsl:if> <xsl:choose> - <xsl:when test="contains(@ID,'_biocol_') and ./metadata/def.biocol01"> + <xsl:when test="./metadata/def.biocol01"> <xsl:value-of select="concat('Collection number : ',./metadata/def.biocol01/biocol01/text(),$newline)" /> <xsl:if test="./metadata/def.biocol01" > <xsl:value-of select="concat('Dataset : ',./metadata/def.biocol01/biocol01/text(),$newline)" /> diff --git a/src/main/resources/xsl/response-biocol.xsl b/src/main/resources/xsl/response-biocol.xsl deleted file mode 100644 index bb189282e1984f1ddd43890f7cd084a304a555c7..0000000000000000000000000000000000000000 --- a/src/main/resources/xsl/response-biocol.xsl +++ /dev/null @@ -1,134 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > - - <xsl:template match="doc[@objectType='biocol']" priority="10" mode="resultList"> - - <xsl:param name="hitNumberOnPage" select="count(preceding-sibling::*[name()=name(.)])+1" /> - <xsl:variable name="return_id" select="./str[@name='returnId']/text()" /> - <xsl:variable name="native" - select="document(concat('xslStyle:mycoreobject-native:mcrobject:',$return_id))/mycoreobject" /> - - <!-- generate browsing url --> - <xsl:variable name="href" select="concat($proxyBaseURL,$HttpSession,$solrParams)" /> - <xsl:variable name="startPosition" select="$hitNumberOnPage - 1 + (($currentPage) -1) * $rows" /> - <xsl:variable name="rows" select="$rows" /> - <xsl:variable name="hitHref"> - <xsl:value-of - select="concat($href, '&start=',$startPosition,'&fl=id,returnId&rows=1&XSL.Style=browse&origrows=',$rows)" /> - </xsl:variable> - - <xsl:variable name="accessintern"> - <xsl:choose> - <xsl:when test="document(concat('checkPermission:',$return_id,':readintern'))/boolean/text() = 'true'"> - <xsl:value-of select="true()" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="false()" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="status" select="service/servstates/servstate/@categid" /> - - <xsl:variable name="access"> - <xsl:choose> - <xsl:when test="not(service/servstates/servstate/@categid)"> - <xsl:value-of select="true()" /> - </xsl:when> - <xsl:when test="$status = 'STAT0002' or $status = 'STAT0003' or $status = 'STAT0003'"> - <xsl:value-of select="true()" /> - </xsl:when> - <xsl:when test="($status = 'STAT0001' or $status = 'STAT0005') and $accessintern = 'true'"> - <xsl:value-of select="true()" /> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="false()" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <xsl:variable name="title_result"> - <xsl:choose> - <xsl:when test="$native/metadata/def.biocol01"> - <xsl:call-template name="printI18N"> - <xsl:with-param name="nodes" select="$native/metadata/def.biocol01/biocol01" /> - <xsl:with-param name="next" select="'<br />'" /> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:value-of select="$return_id" /> - </xsl:otherwise> - </xsl:choose> - </xsl:variable> - - <tr> - <xsl:variable name="mediaType" select="'image'" /> - <td class="dpt_result_title-ltr"> - <div class="dpt_result_signature-ltr"> - <a href="{$hitHref}"> - <xsl:value-of select="$title_result" /> - </a> - </div> - </td> - <td rowspan="2" style="width:10px;" /> - <td class="dpt_result_image-ltr" rowspan="2"> - <xsl:call-template name="dpt_embed_preview_viewerless"> - <xsl:with-param name="derobject" select="$native/structure/derobjects/derobject" /> - <xsl:with-param name="mediaType" select="$mediaType" /> - </xsl:call-template> - </td> - </tr> - - <tr class="dpt_response_row"> - <td class="dpt_result_description-ltr"> - <div> - <xsl:if test="$native/metadata/def.biocol09"> - <xsl:call-template name="printI18N"> - <xsl:with-param name="nodes" select="$native/metadata/def.biocol09/biocol09" /> - <xsl:with-param name="next" select="'<br />'" /> - </xsl:call-template> - </xsl:if> - </div> - <div> - <xsl:if test="$native/metadata/def.biocol02"> - <xsl:call-template name="printI18N"> - <xsl:with-param name="nodes" select="$native/metadata/def.biocol02/biocol02" /> - <xsl:with-param name="next" select="'<br />'" /> - </xsl:call-template> - </xsl:if> - </div> - <div> - <xsl:if test="$native/metadata/def.biocol07"> - <xsl:call-template name="printI18N"> - <xsl:with-param name="nodes" select="$native/metadata/def.biocol07/biocol07" /> - <xsl:with-param name="next" select="'<br />'" /> - </xsl:call-template> - </xsl:if> - </div> - <xsl:if test="$accessintern = 'true'"> - <div> - <xsl:value-of select="$native/@ID" /> - <xsl:text>, </xsl:text> - <xsl:variable name="date"> - <xsl:call-template name="formatISODate"> - <xsl:with-param name="date" - select="$native/service/servdates/servdate[@type='modifydate']/text()" /> - <xsl:with-param name="format" - select="document(concat('i18n:','module.dptbase.common.metaData.date'))/i18n/text()" /> - </xsl:call-template> - </xsl:variable> - <xsl:variable name="lastChanged" - select="document(concat('i18n:','module.dptbase.common.results.lastChanged'))/i18n/text()" /> - <xsl:value-of select="concat($lastChanged,' ',$date)" /> - </div> - </xsl:if> - </td> - </tr> - - <tr> - <td>  </td> - </tr> - - </xsl:template> - -</xsl:stylesheet>