Project

General

Profile

« Previous | Next » 

Revision 3bc5398c

Added by Andreas Kohlbecker over 11 years ago

adding missing whitespace

View differences:

7.x/modules/cdm_dataportal/theme/cdm_dataportal.descriptions.theme
459 459

  
460 460
      if ($asListElement) {
461 461

  
462
        $out = '<li class="descriptionText DescriptionElement">' . $name_used_in_source_link_to_show;
462
       $out = '<li class="descriptionText DescriptionElement">';
463 463
        // Adding ":" if necessary.
464
        if ($name_used_in_source_link_to_show && ($description || $sourceRefs)) {
465
          $out .= ': ';
464
        if (!empty($name_used_in_source_link_to_show)) {
465
          if ( (!empty($description)|| !empty($sourceRefs)) && $feature_uuid != UUID_CHROMOSOMES_NUMBERS) {
466
            $out .= $name_used_in_source_link_to_show . ': ';
467
          } else {
468
            $out .= $name_used_in_source_link_to_show . ' ';
469
          }
466 470
        }
467 471
        $out .= $description . $sourceRefs . theme('cdm_annotations_as_footnotekeys', array('cdmBase_list' => $element, 'footnote_list_key' => $feature_uuid)) . '</li>';
468 472
      }
7.x/themes/garland_cichorieae/template.php
157 157
        )) . $annotation_fkeys . '</li>';
158 158
      }
159 159
      elseif ($asListElement) {
160
        $out = '<li class="descriptionText">' . $name_used_in_source_link_to_show;
161
        // Adding ":" if necesary.
162
        if (isset($name_used_in_source_link_to_show) && (!empty($description) || !empty($sourceRefs)) && $feature_uuid != UUID_CHROMOSOMES_NUMBERS) {
163
          $out .= ': ';
160

  
161
        $out = '<li class="descriptionText DescriptionElement">';
162
        // Adding ":" if necessary.
163
        if (!empty($name_used_in_source_link_to_show)) {
164
          if ( (!empty($description)|| !empty($sourceRefs)) && $feature_uuid != UUID_CHROMOSOMES_NUMBERS) {
165
            $out .= $name_used_in_source_link_to_show . ': ';
166
          } else {
167
            $out .= $name_used_in_source_link_to_show . ' ';
168
          }
164 169
        }
170

  
165 171
        $out .= $description . $sourceRefs . theme('cdm_annotations_as_footnotekeys', array(
166 172
          'cdmBase_list' => $element,
167 173
          'footnote_list_key' => $feature_uuid,

Also available in: Unified diff