Revision a38ef7b2
Added by Andreas Kohlbecker almost 14 years ago
modules/cdm_dataportal/theme/cdm_dataportal.common.theme | ||
---|---|---|
256 | 256 |
|
257 | 257 |
/* ============================ other ============================= */ |
258 | 258 |
|
259 |
function theme_cdm_credits(){ |
|
260 |
return null;
|
|
261 |
$secRef_array = _cdm_dataportal_currentSecRef_array(); |
|
262 |
return '<span class="sec_reference_citation">'.$secRef_array['citation'].'</span>' |
|
263 |
.( $secRef_array['period'] ? ' <span class="year">'.partialToYear($secRef_array['period']).'</span>' : '') |
|
264 |
.( $secRef_array['authorTeam'] ? '<div class="author">'.$secRef_array['authorTeam']['titleCache'].'</div>' : ''); |
|
265 |
} |
|
259 |
//function theme_cdm_credits(){
|
|
260 |
// return "";
|
|
261 |
// $secRef_array = _cdm_dataportal_currentSecRef_array();
|
|
262 |
// return '<span class="sec_reference_citation">'.$secRef_array['citation'].'</span>'
|
|
263 |
// .( $secRef_array['period'] ? ' <span class="year">'.partialToYear($secRef_array['period']).'</span>' : '')
|
|
264 |
// .( $secRef_array['authorTeam'] ? '<div class="author">'.$secRef_array['authorTeam']['titleCache'].'</div>' : '');
|
|
265 |
//}
|
|
266 | 266 |
|
267 | 267 |
|
268 | 268 |
function theme_cdm_dynabox($label, $content_url, $theme, $enclosingtag = 'li'){ |
Also available in: Unified diff
adapt to new map service & others