Revision e24e446f
Added by Andreas Kohlbecker about 8 years ago
modules/cdm_dataportal/includes/descriptions.inc | ||
---|---|---|
1065 | 1065 |
RenderHints::pushToRenderStack($feature->uuid); |
1066 | 1066 |
|
1067 | 1067 |
if (is_array($descriptionElements)) { |
1068 |
// --- normal description element arrays |
|
1069 | 1068 |
foreach ($descriptionElements as $descriptionElement) { |
1070 |
|
|
1071 |
// --- USE TEXTDATA --- // |
|
1072 |
if ($descriptionElement->feature->uuid == UUID_USE) { |
|
1073 |
// Do nothing to avoid rendering. |
|
1074 |
} else { |
|
1075 | 1069 |
/* decide based on the description element class |
1076 | 1070 |
* |
1077 | 1071 |
* Features handled here: |
... | ... | |
1111 | 1105 |
$feature_block_has_content = true; |
1112 | 1106 |
$elements_out_array[] = '<li>No method for rendering unknown description class: ' . $descriptionElement->class . '</li>'; |
1113 | 1107 |
} |
1114 |
} |
|
1115 | 1108 |
} // --- END loop over normal description element arrays |
1116 | 1109 |
|
1117 | 1110 |
// If feature = CITATION sort the list of sources. |
Also available in: Unified diff
removing obsolete palmweb special code