Revision f0df1f96
Added by Francisco Revilla over 13 years ago
modules/cdm_dataportal/theme/cdm_dataportal.page.theme | ||
---|---|---|
221 | 221 |
$referenceUri = url(path_to_reference($taxon->name->nomenclaturalReference->uuid)); |
222 | 222 |
} |
223 | 223 |
$out .= theme('cdm_taxonName', $taxon->name, null, $referenceUri); |
224 |
$out .= theme('cdm_annotations_as_footnotekeys', $taxon); |
|
224 |
|
|
225 |
$special_annotations_array = array(); |
|
226 |
$special_annotations_array[] = $taxon->name; |
|
227 |
$special_annotations_array[] = $taxon; |
|
228 |
$out .= theme('cdm_annotations_as_footnotekeys', |
|
229 |
$special_annotations_array, |
|
230 |
RenderHints::getRenderPath() . '-annotations'); |
|
231 |
RenderHints::setFootnoteListKey(RenderHints::getRenderPath() . '-annotations'); |
|
225 | 232 |
} |
226 | 233 |
|
227 | 234 |
if($addAcceptedTaxon && !isset($synomymie->homotypicSynonymsByHomotypicGroup[0])){ |
... | ... | |
231 | 238 |
$out .= theme('cdm_typedesignations', $typeDesignations); |
232 | 239 |
} |
233 | 240 |
} else { |
234 |
// reder the homotypicSynonymyGroup including the type information |
|
241 |
// render the homotypicSynonymyGroup including the type information
|
|
235 | 242 |
$out .= theme('cdm_homotypicSynonymyGroup', $synomymie->homotypicSynonymsByHomotypicGroup); |
236 | 243 |
} |
237 | 244 |
|
... | ... | |
256 | 263 |
$out .= theme('cdm_taxonRelationships', $taxonRelationships); |
257 | 264 |
} |
258 | 265 |
|
259 |
RenderHints::popFromRenderStack();
|
|
260 |
|
|
266 |
RenderHints::popFromRenderStack(); |
|
267 |
|
|
261 | 268 |
return $out; |
262 | 269 |
} |
263 | 270 |
|
Also available in: Unified diff
footnotes changes, related with ticket #1984