Project

General

Profile

« Previous | Next » 

Revision 614b1592

Added by Andreas Kohlbecker over 13 years ago

details on specimens

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.common.theme
315 315
	return $output;
316 316
}
317 317

  
318
/* ============================ other ============================= */
319

  
320

  
321

  
322

  
323
function theme_cdm_dynabox($label, $content_url, $theme, $enclosingtag = 'li'){
324
	drupal_add_js(drupal_get_path('module', 'cdm_dataportal').'/js/cdm_dynabox.js');
325

  
326
	$cdm_proxy_url = url('cdm_api/proxy/'.urlencode($content_url)."/$theme");
327
	$out .= '<li class="dynabox"><span class="label" alt="'.t('Click for accepted taxon').'">'.$label.'</span>';
328
	$out .= '<ul class="dynabox_content" title="'.$cdm_proxy_url.'"><li><img class="loading" src="'.drupal_get_path('module', 'cdm_dataportal').'/images/loading_circle_grey_16.gif" style="display:none;"></li></ul>';
329
	return $out;
330
}
331

  
332 318

  
333 319
/* ============================ java script functions ============================= */
334 320

  

Also available in: Unified diff