Project

General

Profile

Revision e249276f

IDe249276fa93c3c264bce3dcd28a5fd3498e6a599
Parent cb80ef0b
Child 6c281097

Added by Andreas Kohlbecker about 2 months ago

ref #4372 adapting media gallery to zen theme

View differences:

modules/cdm_dataportal/includes/media.inc
345 345
  for ($r = 0; ($r < $maxRows || !$maxRows) && count($mediaList) > 0; $r++) {
346 346
    $captionParts = array();
347 347
    $mediaIndex = 0;
348
    $out .= '<tr>';
348
    $out .= '<tr class="media-row">';
349 349
    for ($c = 0; $c < $cols; $c++) {
350 350
      $media = array_shift($mediaList);
351 351
      if(!$media){
......
481 481
    $out .= '</tr>'; // End of media parts.
482 482
    if ($showCaption) {
483 483
      if ( (is_array($captionElements) && count($captionElements) > 0) || $caption_link_uri) {
484
        $out .= '<tr>';
484
        $out .= '<tr class="caption-row">';
485 485
        // Add caption row.
486 486
        foreach ($captionParts as $captionPartHtml) {
487 487
          $out .= '<td class="caption">' . $captionPartHtml . '</td>';
......
499 499
      $moreHtml = t('open gallery');
500 500
    }
501 501
    $moreHtml = l($moreHtml, $galleryLinkUri);
502
    $out .= '<tr><td colspan="' . $cols . '">' . $moreHtml . '</td></tr>';
502
    $out .= '<tr class="more-items-row"><td colspan="' . $cols . '">' . $moreHtml . '</td></tr>';
503 503
  }
504 504
  $out .= '</table>';
505 505

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)