Project

General

Profile

Revision 977bba78

ID977bba78560ff1387b601420f9c55409ac19fd92
Parent bf31af5f
Child d0e8e73c

Added by Andreas Kohlbecker over 1 year ago

fix #8093 registration identifier links configurable

View differences:

modules/cdm_dataportal/includes/name.inc
676 676
  }
677 677

  
678 678
  $registration_date_insitute_markup = render_registration_date_and_institute($registration_dto, 'span');
679
  $itentifier_markup = l($registration_dto->identifier, $registration_dto->identifier, array('attributes' => array('class' => array('identifier'))));
679
  $itentifier_markup = l($registration_dto->identifier, path_to_registration($registration_dto->identifier), array('attributes' => array('class' => array('identifier'))));
680 680

  
681 681
  $tagged_text_options = array();
682 682
  if(isset($registration_dto->nameRef)){
......
781 781
    if(isset($registration->institution->titleCache)){
782 782
      $office_class_attribute = registration_intitute_class_attribute($registration);
783 783
    }
784
    $markup = "<span class=\"registration $office_class_attribute\">" . l($registration->identifier, $registration->identifier) . ', '
784
    $markup = "<span class=\"registration $office_class_attribute\">" . l($registration->identifier, path_to_registration($registration->identifier)) . ', '
785 785
      .  preg_replace('/^([^T]*)(.*)$/', '${1}', $registration->registrationDate)
786 786
      . '</span>';
787 787
  }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)