Revision f19f47fa
Added by Andreas Kohlbecker about 9 years ago
7.x/themes/palmweb_2/template.php | ||
---|---|---|
107 | 107 |
|
108 | 108 |
foreach ($mergedFeatureNodes as $node) { |
109 | 109 |
|
110 |
if (isset($node->descriptionElements['#type']) || hasFeatureNodeDescriptionElements($node)) {
|
|
110 |
if (isset($node->descriptionElements['#type']) || has_feature_node_description_elements($node)) {
|
|
111 | 111 |
|
112 | 112 |
$featureRepresentation = isset($node->feature->representation_L10n) ? $node->feature->representation_L10n : 'Feature'; |
113 | 113 |
$block = new stdclass(); // Empty object. |
... | ... | |
123 | 123 |
$countFeatures++; |
124 | 124 |
$countFeatures++; |
125 | 125 |
$block->delta = generalizeString($featureRepresentation); |
126 |
$block->subject = '<span class="' . html_class_atttibute_ref($node->feature) . '">'
|
|
126 |
$block->subject = '<span class="' . html_class_attribute_ref($node->feature) . '">'
|
|
127 | 127 |
. theme('cdm_feature_name', array('feature_name' => $featureRepresentation)) . '</span>'; |
128 | 128 |
$block->module = "cdm_dataportal-feature"; |
129 | 129 |
$block->content = ''; |
Also available in: Unified diff
basic implementation of #4314 (taxon page: display of bibliography in a block on the taxon page)