Revision efa6c38b
Added by Andreas Kohlbecker almost 14 years ago
modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme | ||
---|---|---|
425 | 425 |
//$out_l4 .= $l4; |
426 | 426 |
$footnoteKeyListStr = ''; |
427 | 427 |
$footNoteKeys = cdm_annotations_as_footnotekeys($element_l4->data); |
428 |
foreach($element_l4->data->sources as $source){ |
|
429 |
if(_is_original_source_type($source)){ |
|
430 |
//$footNoteKeys[] = FootnoteManager::addNewFootnote(RenderHints::getFootnoteListKey(), theme('cdm_DescriptionElementSource', $source, false)); |
|
431 |
$fn_key = FootnoteManager::addNewFootnote(RenderHints::getFootnoteListKey(), theme('cdm_DescriptionElementSource', $source, false)); |
|
432 |
cdm_add_footnote_to_array($footNoteKeys, $fn_key); |
|
428 |
if(isset($element_l4->data->sources)){ |
|
429 |
foreach($element_l4->data->sources as $source){ |
|
430 |
if(_is_original_source_type($source)){ |
|
431 |
//$footNoteKeys[] = FootnoteManager::addNewFootnote(RenderHints::getFootnoteListKey(), theme('cdm_DescriptionElementSource', $source, false)); |
|
432 |
$fn_key = FootnoteManager::addNewFootnote(RenderHints::getFootnoteListKey(), theme('cdm_DescriptionElementSource', $source, false)); |
|
433 |
cdm_add_footnote_to_array($footNoteKeys, $fn_key); |
|
434 |
} |
|
433 | 435 |
} |
434 | 436 |
} |
435 | 437 |
foreach($footNoteKeys as $key){ |
Also available in: Unified diff
minor fix