Revision 9781aceb
Added by Andreas Kohlbecker over 13 years ago
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
refactoring footnote system