Project

General

Profile

« Previous | Next » 

Revision 7e3ad261

Added by Andreas Kohlbecker over 12 years ago

fixing #2543 (Distribution area texts missing in all portals)

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme
104 104

  
105 105
      $media_list = array();
106 106

  
107
      if($node->feature->uuid != UUID_IMAGE){
107
      if($node->feature->uuid != UUID_IMAGE) {
108 108

  
109 109
        $block->delta = generalizeString($featureRepresentation);
110 110
        $block->subject = theme('cdm_feature_name', $featureRepresentation);
......
134 134

  
135 135
          // Display cdm distribution map TODO this is a HACK to a proper generic implementation?
136 136
          $block->content .= theme('cdm_distribution_map', $taxon);
137
          $block->content .= theme('cdm_descriptionElements', $node->descriptionElements, $node->feature->uuid, $taxon->uuid);
137 138
        }
138 139

  
139 140
        /*
......
286 287
 * @return unknown_type Html to be renderized in drupal
287 288
 */
288 289
function theme_cdm_descriptionElementTextData($element, $asListElement, $feature_uuid = null){
290

  
289 291
  $description = str_replace("\n", "<br/>", $element->multilanguageText_L10n->text);
290 292
  $sourceRefs = '';
291 293
  $result = array();
......
489 491
  if($descriptionElement->feature->uuid == UUID_NAME_USAGE){
490 492
    sort($outArray);
491 493
  }
494

  
495

  
492 496
  if($image_sources){
493 497
      $outArray[] = theme('cdm_description_element_image_source', $image_sources, true);
494 498

  

Also available in: Unified diff