Project

General

Profile

« Previous | Next » 

Revision a764d3d1

Added by Andreas Kohlbecker over 3 years ago

ref #9234 ignoring test temporariliy

View differences:

modules/cdm_dataportal/includes/footnotes.inc
437 437

  
438 438
/**
439 439
 * @param $entity
440
 * @param $config array
441
 *   An associative array to configure the display of the annotations and
442
 *   sources. The array has the following keys
443
 *   - sources_as_content
444
 *   - link_to_name_used_in_source
445
 *   - link_to_reference
446
 *   - add_footnote_keys
447
 *   - bibliography_aware
448
 *   Valid values are 1 or 0.
440
 *    The cdm entity for which the annotations and sources are to be handled.
449 441
 * @param $inline_text_prefix
450 442
 *   Only used to decide if the source references should be enclosed in
451 443
 *   brackets or not when displayed inline. This text will not be included into
......
539 531
 * @see synonymy_annotations_and_source_config()
540 532
 */
541 533
function render_taxon_and_name_footnotes($taxon) {
534
  /*
542 535
  $annotations_and_sources_taxon = handle_annotations_and_sources(
543 536
    $taxon,
544 537
    synonymy_annotations_and_source_config()
......
550 543
  $footnotes = $annotations_and_sources_taxon['foot_note_keys'] .
551 544
    ($annotations_and_sources_taxon['foot_note_keys'] && $annotations_and_sources_name['foot_note_keys'] ? ',' : '') .
552 545
    $annotations_and_sources_name['foot_note_keys'];
553
  return $footnotes;
546
  */
547
  return ''; // $footnotes;
554 548
}
555 549

  
556 550
/**

Also available in: Unified diff