Revision b7d7d26d
Added by Andreas Kohlbecker over 5 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1886 | 1886 |
{ |
1887 | 1887 |
$render_array = array(); |
1888 | 1888 |
$media_link_map = array(); |
1889 |
if($registration_dto->registrationDate){ |
|
1890 |
if($registration_dto->institution){ |
|
1891 |
$registration_date_insitute_markup = |
|
1892 |
t("Registration at @date in @institution", array( |
|
1893 |
'@date' => $registration_dto->registrationDate, |
|
1894 |
'@institution' => $registration_dto->institution, |
|
1895 |
)); |
|
1896 |
} else { |
|
1897 |
$registration_date_insitute_markup = |
|
1898 |
t("Registration at @date", array( |
|
1899 |
'@date' => $registration_dto->registrationDate |
|
1900 |
)); |
|
1901 |
} |
|
1902 |
$render_array['publication_date_and_office'] = markup_to_render_array($registration_date_insitute_markup); |
|
1903 |
} |
|
1889 | 1904 |
$taggged_text_expanded = cdm_tagged_text_expand_entity_references($registration_dto->summaryTaggedText); |
1890 | 1905 |
foreach ($taggged_text_expanded as $tagged_text){ |
1891 | 1906 |
if(isset($tagged_text->entityReference->type) && $tagged_text->entityReference->type == 'SpecimenTypeDesignation') { |
Also available in: Unified diff
ref #7788 displaying registration date and institution