Project

General

Profile

« Previous | Next » 

Revision 791e1c94

Added by Andreas Kohlbecker over 10 years ago

fixing #2877 (microreference not shown in distribution references (sources))

View differences:

5.x/modules/cdm_dataportal/theme/cdm_dataportal.references.theme
46 46
  	$citation = $reference->titleCache;
47 47
  }
48 48

  
49

  
49 50
  if($doLink){
50 51
  	$out = l('<span class="reference">'.$citation.'</span>'
51 52
          , path_to_reference($reference->uuid)
......
55 56
  	$out = '<span class="reference">'.$citation.'</span>';
56 57
  }
57 58

  
58
  //FIXME use microreference webservice instead
59
  if(!empty($descriptionElementSource->citationMicroReference)){
60
      $out .= ': '. $descriptionElementSource->citationMicroReference;
59
  if(!empty($microReference)){
60
      $out .= ": " . $microReference;
61 61
  }
62 62

  
63 63
  return $out;

Also available in: Unified diff