Project

General

Profile

Revision 44d445c0

ID44d445c09258f15ce6bb58c79ed7ca991a949e15
Parent b5854b72
Child bac37a8f

Added by Andreas Kohlbecker about 7 years ago

refactoring the handling of annotations, sources and name in source information. cleaner and simpler code, less complex statements and preserving at the same time existing output, except that the ticket #2288 (Cyprus: ChromosomeNumbers: formating nameInSource) has been solved

View differences:

7.x/modules/cdm_dataportal/settings.php
426 426
   *    - sources_as_content (boolean)
427 427
   *        TRUE:
428 428
   *          1. If element is of the CDM type TextData and the text is not empty the source references will be
429
   *             appended in brackets like "text (source references)"
430
   *          2. if the text of the TextData is not empty the original source citations are the only content
431
   *             (e.g. use case CITATION) and are not put into brackets.
429
   *             appended in brackets like "text (source references)". If the original source has name in source
430
   *             information it will be appended to the citation string,
431
   *             like : "(citation, as name in source; citation, as name in source)"
432
   *          2. if the text of the TextData is empty, the original source citations are the only content
433
   *             (e.g. use case CITATION) and are not put into brackets. In this case the nameInSource is
434
   *             prepended to the citation string like: "name in source: citation"
432 435
   *        FALSE:
433 436
   *          they are put into the bibliography(=references) pseudo feature block. If the original source
434 437
   *          citations are the only content, the resulting feature block content would only consist of footnotes.

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)