Revision c8b3ae89
Added by Andreas Kohlbecker over 12 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1438 | 1438 |
return $outArrayOfMedia; |
1439 | 1439 |
} |
1440 | 1440 |
|
1441 |
function cdm_annotations_as_footnotekeys($cdmBase, $footnote_list_key = array()){
|
|
1441 |
function cdm_annotations_as_footnotekeys($cdmBase, $footnote_list_key = null){
|
|
1442 | 1442 |
$footNoteKeys = array(); |
1443 | 1443 |
//is argument cdmBase an array? |
1444 | 1444 |
if (!is_array($cdmBase)){ |
... | ... | |
1448 | 1448 |
$cdmBase_array = $cdmBase; |
1449 | 1449 |
} |
1450 | 1450 |
//getting the key for the footnotemanager |
1451 |
if((bool) $footnote_list_key){
|
|
1451 |
if( $footnote_list_key ){
|
|
1452 | 1452 |
$footnoteListKey = $footnote_list_key; |
1453 | 1453 |
}else{ |
1454 | 1454 |
$footnoteListKey = RenderHints::getFootnoteListKey() . '-annotations'; |
Also available in: Unified diff
fixing #1933 (DescriptionElementBases do not show annotation footnotes in flora malesiana)