Project

General

Profile

« Previous | Next » 

Revision 9781aceb

Added by Andreas Kohlbecker almost 14 years ago

refactoring footnote system

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.common.theme
168 168

  
169 169
/* ============================ footnotes ============================= */
170 170

  
171
function theme_cdm_footnote_key($footnoteKey, $footnoteListKey, $separator = '', $highlightable=true){
172
  $out = '<span class="footnote-key footnote-key-'.$footnoteKey.' member-of-footnotes-'.$footnoteListKey.'">'.$separator
173
        .'<a href="#footnote-'.$footnoteKey.'">'.$footnoteKey.'</a>'
171
function theme_cdm_footnote_key(FootnoteKey $footnoteKey, $separator = '', $highlightable=true){
172
  $out = '<span class="footnote-key footnote-key-'.$footnoteKey->keyStr.' member-of-footnotes-'.$footnoteKey->footnoteListKey.'">'.$separator
173
        .'<a href="#footnote-'.$footnoteKey->keyStr.'">'.$footnoteKey->keyStr.'</a>'
174 174
        .'</span>';
175 175
  return $out;
176 176
}

Also available in: Unified diff