Project

General

Profile

« Previous | Next » 

Revision 2813096f

Added by Andreas Kohlbecker over 7 years ago

fix #6291 search results: separator inside of classifications element

View differences:

modules/cdm_dataportal/includes/taxon.inc
488 488
          if (count($classification_titles) == 0) {
489 489
            $classification_titles[] = $unclassified_snippet;
490 490
          }
491
          $out .= ' : <span class="classifications">' . implode(', ', $classification_titles) . '</span>';
491
          $out .= '<span class="classifications"><span class="separator"> : </span>' . implode(', ', $classification_titles) . '</span>';
492 492
        }
493 493
        $out .= theme('cdm_annotations_as_footnotekeys', array('cdmBase_list' => $taxon));
494 494
        if ($showMedia_synonyms) {
......
515 515
        if(count($classification_titles) == 0){
516 516
          $classification_titles[] = $unclassified_snippet;
517 517
        }
518
        $out .= ' : <span class="classifications">' . implode(', ', $classification_titles) . '</span>';
518
        $out .= '<span class="classifications"><span class="separator"> : </span>' . implode(', ', $classification_titles) . '</span>';
519 519
      }
520 520
      $out .= theme('cdm_annotations_as_footnotekeys', array('cdmBase_list' => $taxon));
521 521

  

Also available in: Unified diff