Project

General

Profile

« Previous | Next » 

Revision 9781aceb

Added by Andreas Kohlbecker over 13 years ago

refactoring footnote system

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.name.theme
75 75
				$typeReference .= $shortCitation.'</span>';
76 76
				$typeReference .= ':'. $std->citationMicroReference .')';
77 77

  
78
			  $_fkey2 = FootnoteManager::addNewFootnote(RenderHints::getRenderPath() . '-lectotypes', $std->citation->titleCache);
79
				$typeReference .= theme('cdm_footnote_key', $_fkey2, RenderHints::getRenderPath() . '-lectotypes'); 
78
			    $_fkey2 = FootnoteManager::addNewFootnote(RenderHints::getRenderPath() . '-lectotypes', $std->citation->titleCache);
79
				$typeReference .= theme('cdm_footnote_key', $_fkey2); 
80 80
        //$citation = cdm_ws_get(CDM_WS_NOMENCLATURAL_REFERENCE_CITATION, array($taxonName->nomenclaturalReference->uuid), "microReference=".urlencode($microreference));
81 81
        //$citation = $citation->String;
82 82
				
......
91 91

  
92 92
			//footnotes for synonymy acronyms 
93 93
			$_fkey = FootnoteManager::addNewFootnote(RenderHints::getRenderPath() . '-acronyms', $std->typeSpecimen->collection->titleCache);
94
      $out .= theme('cdm_footnote_key', $_fkey, RenderHints::getRenderPath() . '-acronyms');  
94
            $out .= theme('cdm_footnote_key', $_fkey);  
95 95
			$out .= '</li>';
96 96
			
97 97
			if (!empty($std->citation)){
......
106 106
     if ($render_footnote_lectotypes){
107 107
       $out .= theme('cdm_footnotes', RenderHints::getRenderPath() . '-lectotypes');
108 108
      }
109
  $out .= theme('cdm_footnotes', RenderHints::getRenderPath() . '-acronyms');
109
    $out .= theme('cdm_footnotes', RenderHints::getRenderPath() . '-acronyms');
110 110
  
111 111
	RenderHints::popFromRenderStack();
112 112
	return $out;

Also available in: Unified diff