Project

General

Profile

Revision e89c1115

IDe89c111509b7ec27018677402c1635d3eababfe1
Parent a5fbcd21
Child 5358baff

Added by Katja Luther over 1 year ago

details page for specimen with item list

View differences:

modules/cdm_dataportal/includes/occurrences.inc
337 337

  
338 338

  
339 339
    // only show uuid it the user is logged in
340
    if(user_is_logged_in() && ($a_idx = array_search('uuid', $exclude_occurrence_fields)) !== FALSE ) {
341
        unset($exclude_occurrence_fields[$a_idx]);
342
    }
340
 //   if(user_is_logged_in() && ($a_idx = array_search('uuid', $exclude_occurrence_fields)) !== FALSE ) {
341
  //      unset($exclude_occurrence_fields[$a_idx]);
342
  //  }
343 343

  
344 344
    if (!isset($derivatives)) {
345 345
        $derivatives = array();
......
692 692
        uasort($groups, 'element_sort');
693 693

  
694 694
        $occurrence_elements = array(
695
            '#title' => $title,
695
           // '#title' => $title,
696 696
            '#theme' => 'description_list',
697 697
            '#groups' => $groups,
698 698
            '#attributes' => array('class' => html_class_attribute_ref($specimen_or_observation)),
699 699
        );
700 700

  
701
        $derivatives[] = $occurrence_elements;
701
        $derivatives[] = drupal_render($occurrence_elements);
702 702
        // all footnotes which has been assembled so far (e.g. from typeDesignations) to here
703 703
        $foonote_li_elements = theme('cdm_footnotes', array('footnoteListKey' => RenderHints::getFootnoteListKey(), 'enclosingTag' => 'span'));
704 704
        if (!empty($foonote_li_elements)) {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)