Project

General

Profile

« Previous | Next » 

Revision afc363df

Added by Andreas Kohlbecker over 11 years ago

fixing #2519 (Make DescriptionElement Media visible in Data Portal)

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.media.theme
224 224
function theme_cdm_media_gallerie(
225 225
	$mediaList,
226 226
    $galleryName,
227
	$maxExtend = 150, 
228
	$cols = 4, 
229
	$maxRows = false, 
227
	$maxExtend = 150,
228
	$cols = 4,
229
	$maxRows = false,
230 230
	$captionElements = array('title'),
231
	$mediaLinkType = 'LIGHTBOX', 
232
	$alternativeMediaUri = null, 
231
	$mediaLinkType = 'LIGHTBOX',
232
	$alternativeMediaUri = null,
233 233
	$galleryLinkUri = null,
234 234
	$showCaption = true){
235 235

  
......
303 303

  
304 304
				_add_js_ahah();
305 305
				$content_url = cdm_compose_url(CDM_WS_PORTAL_MEDIA, $media->uuid);
306
				
306

  
307 307
				$cdm_proxy_url = url('cdm_api/proxy/'.urlencode($content_url)."/cdm_media_caption/".serialize($captionElements));
308 308
				$captionPartHtml = '<div class="ahah-content" rel="'.$cdm_proxy_url.'"><span class="loading" style="display: none;">Loading ....</span></div>';
309 309

  

Also available in: Unified diff