Project

General

Profile

« Previous | Next » 

Revision a009927b

Added by Andreas Kohlbecker over 9 years ago

restoring source reference appearence for palmweb, this finally replaces the hard coded reference which once has been hacked into the palmweb theme

View differences:

7.x/modules/cdm_dataportal/settings.php
489 489
        'link_to_name_used_in_source' => FALSE,
490 490
        'sources_as_content' => FALSE,
491 491
        'sources_as_content_to_bibliography' => FALSE,
492
        'sort_elements' => NULL, // will cause
492
        'sort_elements' => NULL, // will cause ...
493 493
        'glue' => '',
494 494
        'element_tag'=> 'div'
495 495
      ),
......
558 558
        'sort_elements' => SORT_ASC,
559 559
        'glue' => '',
560 560
        'element_tag'=> 'div'
561
      )
561
      ),
562
      UUID_DISTRIBUTION => array(
563
        'as_list' => 'div', // currently ignored
564
        'link_to_reference' => TRUE,
565
        'link_to_name_used_in_source' => TRUE,
566
        'sources_as_content' => TRUE, // FIXME seems to have no effect see Acanthophoenix rousselii (palmae)
567
        'sources_as_content_to_bibliography' => TRUE,
568
        'sort_elements' => NULL, // will cause ...
569
        'glue' => '',
570
        'element_tag'=> 'div'
571
      ),
562 572
    );
563 573

  
564 574
    $default_theme = variable_get('theme_default', NULL);
7.x/modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme
1105 1105
    );
1106 1106

  
1107 1107

  
1108

  
1108 1109
    $out .= '<' . $enclosingTag . ' class="descriptionElement descriptionElement-' . $descriptionElement->uuid . '">'
1109
        . $descriptionElement->area->representation_L10n . $annotations_and_sources['foot_note_keys']
1110
        . ' </' . $enclosingTag . '>';
1110
        . $descriptionElement->area->representation_L10n;
1111
    if(!empty($annotations_and_sources['source_references'])){
1112
      $out .= ' ' . join(' ', $annotations_and_sources['source_references'] );
1113
    }
1114
    $out .= $annotations_and_sources['foot_note_keys']   . ' </' . $enclosingTag . '>';
1111 1115
  }
1112 1116

  
1113 1117
  RenderHints::popFromRenderStack();

Also available in: Unified diff