Revision dcf17487
Added by Andreas Kohlbecker over 9 years ago
7.x/modules/cdm_dataportal/settings.php | ||
---|---|---|
433 | 433 |
* (e.g. use case CITATION) and are not put into brackets. In this case the nameInSource is |
434 | 434 |
* prepended to the citation string like: "name in source: citation" |
435 | 435 |
* FALSE: |
436 |
* they are put into the bibliography(=references) pseudo feature block. If the original source
|
|
436 |
* Original sources are put into the bibliography(=references) pseudo feature block. If the original source
|
|
437 | 437 |
* citations are the only content, the resulting feature block content would only consist of footnotes. |
438 | 438 |
* In this case the display of the respective feature block is suppressed. |
439 |
* TODO if the bibliography is not enabled the sources will be treated as footnotes like annotations, |
|
440 |
* in future however they will in this case be shown in a separate references section for each |
|
441 |
* feature block. |
|
439 | 442 |
* - sources_as_content_to_bibliography (boolean) |
440 | 443 |
* Only valid if sources_as_content == TRUE, will cause the sources to be also shown |
441 | 444 |
* in the bibliography. |
442 | 445 |
* - sort_elements |
443 | 446 |
* whether and how to sort the elements |
444 |
* possible values are the constants SORT_ASC, SORT_DESC, NULL |
|
447 |
* possible values are the constants SORT_ASC, SORT_DESC, NULL, |
|
448 |
* some feature types (Distribution) also support: SORT_HIERARCHICAL (TODO option to exclude levels) |
|
445 | 449 |
* - element_tag |
446 | 450 |
* specifies the tag to be used for creating the elements, only applies if "as_list" == 'div' |
447 | 451 |
* possible values are span | div |
... | ... | |
465 | 469 |
'link_to_name_used_in_source' => TRUE, |
466 | 470 |
'sources_as_content' => TRUE, |
467 | 471 |
'sources_as_content_to_bibliography' => FALSE, |
468 |
'sort_elements' => FALSE,
|
|
472 |
'sort_elements' => NULL,
|
|
469 | 473 |
'glue' => '', |
470 | 474 |
'element_tag'=> NULL |
471 | 475 |
), |
... | ... | |
475 | 479 |
'link_to_name_used_in_source' => FALSE, |
476 | 480 |
'sources_as_content' => TRUE, |
477 | 481 |
'sources_as_content_to_bibliography' => FALSE, |
478 |
'sort_elements' => FALSE,
|
|
482 |
'sort_elements' => SORT_ASC,
|
|
479 | 483 |
'glue' => '', |
480 | 484 |
'element_tag'=> 'div' |
481 |
) |
|
485 |
), |
|
486 |
UUID_DISTRIBUTION => array( |
|
487 |
'as_list' => 'div', // currently ignored |
|
488 |
'link_to_reference' => FALSE, |
|
489 |
'link_to_name_used_in_source' => FALSE, |
|
490 |
'sources_as_content' => FALSE, |
|
491 |
'sources_as_content_to_bibliography' => FALSE, |
|
492 |
'sort_elements' => NULL, // will cause |
|
493 |
'glue' => '', |
|
494 |
'element_tag'=> 'div' |
|
495 |
), |
|
482 | 496 |
); |
483 | 497 |
|
484 | 498 |
$cichorieae_default = array( |
... | ... | |
488 | 502 |
'link_to_name_used_in_source' => TRUE, |
489 | 503 |
'sources_as_content' => TRUE, |
490 | 504 |
'sources_as_content_to_bibliography' => FALSE, |
491 |
'sort_elements' => FALSE,
|
|
505 |
'sort_elements' => NULL,
|
|
492 | 506 |
'glue' => '', |
493 | 507 |
'element_tag'=> 'div' |
494 | 508 |
), |
... | ... | |
498 | 512 |
'link_to_name_used_in_source' => FALSE, |
499 | 513 |
'sources_as_content' => TRUE, |
500 | 514 |
'sources_as_content_to_bibliography' => FALSE, |
501 |
'sort_elements' => FALSE,
|
|
515 |
'sort_elements' => SORT_ASC,
|
|
502 | 516 |
'glue' => '', |
503 | 517 |
'element_tag'=> 'div' |
504 | 518 |
), |
... | ... | |
508 | 522 |
'link_to_name_used_in_source' => TRUE, |
509 | 523 |
'sources_as_content' => TRUE, |
510 | 524 |
'sources_as_content_to_bibliography' => FALSE, |
511 |
'sort_elements' => FALSE,
|
|
525 |
'sort_elements' => NULL,
|
|
512 | 526 |
'glue' => '', |
513 | 527 |
'element_tag'=> 'div' |
514 | 528 |
), |
... | ... | |
518 | 532 |
'link_to_name_used_in_source' => TRUE, |
519 | 533 |
'sources_as_content' => TRUE, |
520 | 534 |
'sources_as_content_to_bibliography' => FALSE, |
521 |
'sort_elements' => FALSE,
|
|
535 |
'sort_elements' => NULL,
|
|
522 | 536 |
'glue' => '', |
523 | 537 |
'element_tag'=> 'div' |
524 | 538 |
), |
... | ... | |
531 | 545 |
'link_to_name_used_in_source' => TRUE, |
532 | 546 |
'sources_as_content' => TRUE, |
533 | 547 |
'sources_as_content_to_bibliography' => TRUE, |
534 |
'sort_elements' => FALSE,
|
|
548 |
'sort_elements' => NULL,
|
|
535 | 549 |
'glue' => '', |
536 | 550 |
'element_tag'=> NULL |
537 | 551 |
), |
... | ... | |
541 | 555 |
'link_to_name_used_in_source' => TRUE, |
542 | 556 |
'sources_as_content' => FALSE, |
543 | 557 |
'sources_as_content_to_bibliography' => TRUE, |
544 |
'sort_elements' => FALSE,
|
|
558 |
'sort_elements' => SORT_ASC,
|
|
545 | 559 |
'glue' => '', |
546 | 560 |
'element_tag'=> 'div' |
547 | 561 |
) |
Also available in: Unified diff
fixing #3704 (show name in source for Distributions) for all cases (nameUsedInSource & originalNameString) as well for all settings options: sorted and unsorted distributions with or without bibliography block