Revision a9815578
Added by Andreas Kohlbecker over 7 years ago
modules/cdm_dataportal/includes/pages.inc | ||
---|---|---|
320 | 320 |
'#uri' => t('open media'), |
321 | 321 |
); |
322 | 322 |
|
323 |
$gallery_html = theme('cdm_media_gallerie', array(
|
|
323 |
$gallery_html = compose_cdm_media_gallerie(array(
|
|
324 | 324 |
'mediaList' => $mediaList, |
325 | 325 |
'galleryName' => $gallery_name, |
326 | 326 |
'maxExtend' => $gallery_settings['cdm_dataportal_media_maxextend'], |
... | ... | |
706 | 706 |
} |
707 | 707 |
|
708 | 708 |
if (isset($representationPart->uri)) { |
709 |
$profile_image = theme('cdm_media_gallerie_image', array( |
|
710 |
'mediaRepresentationPart' => $representationPart, |
|
711 |
'maxExtend' => $taxon_profile_image_settings['maxextend'], |
|
712 |
'addPassePartout' => FALSE, |
|
713 |
'attributes' => $attributes, |
|
714 |
)); |
|
709 |
$profile_image = cdm_media_gallerie_image($representationPart, $taxon_profile_image_settings['maxextend'], FALSE, $attributes); |
|
715 | 710 |
// NOTE: style="width:${maxextend}px' is needed for IE8 !!! |
716 | 711 |
$render_array['taxon_profile_image'] = markup_to_render_array('<div id="taxonProfileImage" style="width:' . $taxon_profile_image_settings['maxextend'] . 'px">' . $profile_image . '</div>', |
717 | 712 |
-101); |
Also available in: Unified diff
turning useless media related theme-functions into compose or plain markup functions