Project

General

Profile

Revision 275b2642

ID275b2642c2438013cb1ac06bb986dceb388592d7
Parent 0b554b40
Child beb914ef

Added by Andreas Kohlbecker about 5 years ago

fix #5948 supressing media when uri is missing, also turning theme function into plain markup function

View differences:

modules/cdm_dataportal/includes/name.inc
474 474
            $second_citation = '[& ' . $description_element->multilanguageText_L10n->text . '].';
475 475
          }
476 476
          $descriptionHtml .= $second_citation;
477
          $descriptionHtml .= theme("cdm_media", array(
478
              'descriptionElement' => $description_element,
479
              'mimeTypePreference' => array(
477
          $descriptionHtml .= cdm_description_element_media(
478
              $description_element,
479
              array(
480 480
                'application/pdf',
481 481
                'image/png',
482 482
                'image/jpeg',
483 483
                'image/gif',
484 484
                'text/html',
485 485
              )
486
            )
487 486
          );
488 487

  
489 488
        }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)