Project

General

Profile

« Previous | Next » 

Revision 43a9b844

Added by Francisco Revilla over 13 years ago

gallery settings changes

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.page.theme
393 393
		// render the homotypicSynonymyGroup including the type information
394 394
    $out .= theme('cdm_homotypicSynonymyGroup', $synomymie->homotypicSynonymsByHomotypicGroup);
395 395
	}
396
	/*
397
	else{
398
		$out .= '<ul class="homotypicSynonyms"></ul>';
399
	}
400
	*/
396 401
	//render accepted taxon heterotypic synonymy groups
397 402
	if($synomymie->heterotypicSynonymyGroups) {
398 403
		foreach($synomymie->heterotypicSynonymyGroups as $homotypicalGroup){
......
463 468
		$gallery_settings = getGallerySettings(CDM_DATAPORTAL_MEDIA_GALLERY_NAME);
464 469

  
465 470
		$out = '<div class="image-gallerie">';
466
		$out .= theme('cdm_media_gallerie', $media,
471
		$out .= theme('cdm_media_gallerie', 
472
		$media,
467 473
		$gallery_name,
468 474
		$gallery_settings['cdm_dataportal_media_maxextend'],
469 475
		$gallery_settings['cdm_dataportal_media_cols'],
470 476
		0, // ignore maxrows settings
471 477
		$captionElements,
472 478
		$mediaLinkType,
473
		null);
479
		null,
480
		null,
481
		$gallery_settings['cdm_dataportal_show_thumbnail_captions']);
474 482
		$out .= '</div>';
475 483
	}else{
476 484
		$out = 'No images available.';

Also available in: Unified diff