Revision 2ed89b85
Added by Andreas Kohlbecker about 3 years ago
modules/cdm_dataportal/includes/pages.inc | ||
---|---|---|
85 | 85 |
|
86 | 86 |
// --- get map service HTTP query parameters |
87 | 87 |
if (count($specimensOrObservations) > 0 || $root_unit_dtos > 0) { |
88 |
$render_array['map'] = occurrence_map_query_parameters($taxon); |
|
88 |
//######## RE-ENABLE !!!!! $render_array['map'] = occurrence_map_query_parameters($taxon);
|
|
89 | 89 |
} |
90 | 90 |
|
91 | 91 |
// ------------------------------------------------------- |
... | ... | |
120 | 120 |
else if(($current_view_mode == CDM_SPECIMEN_LIST_VIEW_MODE_OPTION_DERIVATE_TREE)){ // FIXME this seems to be wrong |
121 | 121 |
$derivationTreeComposer = new DerivationTreeComposer($root_unit_dtos); |
122 | 122 |
$derivationTreeComposer->setWithDetails(true); |
123 |
$derivationTreeComposer->setCollapsible(true); |
|
123 | 124 |
$render_array['specimen_list'] = $derivationTreeComposer->compose(); |
124 | 125 |
$render_array['specimen_list']['#weight'] = 2; |
125 | 126 |
} else { |
... | ... | |
1033 | 1034 |
$rank_limit_uuid = variable_get(TAXONTREE_RANKLIMIT, TAXONTREE_RANKLIMIT_DEFAULT); |
1034 | 1035 |
|
1035 | 1036 |
$rank_separator = '<span> ' |
1036 |
. font_awesome_icon_markup('fa-chevron-right')
|
|
1037 |
. font_awesome_icon_markup('fa-' . SYMBOL_COLLAPSIBLE_CLOSED)
|
|
1037 | 1038 |
. ' </span>'; |
1038 | 1039 |
$more_children_icon = font_awesome_icon_markup('fa-sitemap fa-rotate-270'); |
1039 | 1040 |
$more_children_label = '...'; |
Also available in: Unified diff
ref #7599 derivate tree with collapsible items