Project

General

Profile

« Previous | Next » 

Revision 44d445c0

Added by Andreas Kohlbecker over 9 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