Project

General

Profile

« Previous | Next » 

Revision cf4b9055

Added by Andreas Kohlbecker about 5 years ago

ref #6329 fixing bug in proxy_content() which could affect the display of sources and annotations in media galleries

View differences:

modules/cdm_dataportal/cdm_api/cdm_api.module
813 813
            break;
814 814

  
815 815
        case 'cdm_media_caption':
816
          $variables = array(
817
            'media' => $obj,
818
            // $args[0] is set in taxon_image_gallery_default in
819
            // cdm_dataportal.page.theme.
820
            'elements' => isset($args[0]) ? $args[0] : array(
821
            'title',
822
            'description',
823
            'artist',
824
            'location',
825
            'rights',
826
          ),
827
            'sources_as_content' =>  isset($args[1]) ? $args[1] : FALSE
828
          );
816
          $variables = $arg;
817
          $variables['media'] = $obj;
818

  
829 819
          $reponse_data = theme($hook, $variables);
830 820
          break;
831 821

  

Also available in: Unified diff