Revision df974847
Added by Francisco Revilla about 14 years ago
modules/cdm_dataportal/theme/cdm_dataportal.name.theme | ||
---|---|---|
47 | 47 |
}else { |
48 | 48 |
// it's a NameTypeDesignation |
49 | 49 |
if($typeDesignation->notDesignated){ |
50 |
$out .= '<li class="nameTypeDesignation"><span class="status">Lectotype</span>: '.t('not designated'). '</li>';
|
|
50 |
$out .= '<li class="nameTypeDesignation"><span class="status">Lectotype</span> '.t('not designated'). '</li>'; |
|
51 | 51 |
}else if($typeDesignation->typeName){ |
52 | 52 |
$link_to_name_page = '?q=' . path_to_name($typeDesignation->typeName->uuid); |
53 |
$out .= '<li class="nameTypeDesignation"><span class="status">Lectotype</span>: ';
|
|
53 |
$out .= '<li class="nameTypeDesignation"><span class="status">Lectotype</span> '; |
|
54 | 54 |
|
55 |
if($typeDesignation->citation){ |
|
56 |
$out .= lectotype_citation_layout($typeDesignation->citation); |
|
57 |
//footnotes |
|
58 |
$fkey_typeDesignation = FootnoteManager::addNewFootnote(RenderHints::getRenderPath() . '-typeDesignations-' . $typeDesignation->uuid, $typeDesignation->citation->titleCache); |
|
59 |
$out .= theme('cdm_footnote_key', $fkey_typeDesignation) . '): '; |
|
60 |
$typeDesignation_footnotes = true; |
|
61 |
} |
|
62 |
|
|
55 | 63 |
if($typeDesignation->typeName->nomenclaturalReference){ |
56 | 64 |
$referenceUri = url(path_to_reference($typeDesignation->typeName->nomenclaturalReference->uuid)); |
57 | 65 |
} |
58 | 66 |
$out .= theme('cdm_taxonName', $typeDesignation->typeName, $link_to_name_page, $referenceUri); |
59 |
if($typeDesignation->citation){ |
|
60 |
$out .= lectotype_citation_layout($typeDesignation->citation); |
|
61 |
//footnotes |
|
62 |
$fkey_typeDesignation = FootnoteManager::addNewFootnote(RenderHints::getRenderPath() . '-typeDesignations-' . $typeDesignation->uuid, $typeDesignation->citation->titleCache); |
|
63 |
$out .= theme('cdm_footnote_key', $fkey_typeDesignation) . ')'; |
|
64 |
$typeDesignation_footnotes = true; |
|
65 |
} |
|
67 |
|
|
66 | 68 |
} |
67 | 69 |
} |
68 | 70 |
} |
Also available in: Unified diff
fixing lectotype layout