Project

General

Profile

« Previous | Next » 

Revision d961cf30

Added by Andreas Kohlbecker over 5 years ago

ref #7759 adding more subtreefilter url patterns

View differences:

modules/cdm_dataportal/includes/taxon.inc
120 120
          }
121 121

  
122 122
          if (isset($relsec_tagged_text[1])) {
123
            array_shift($relsec_tagged_text); // remove first element which contains the "err. sec", this will be added later in this code
123
            //array_shift($relsec_tagged_text); // remove first element which contains the "err. sec", this will be added later in this code
124 124
            $relsec_citation_detail = trim(join(' ', cdm_tagged_text_values($relsec_tagged_text, array('secMicroReference'))));
125 125
            $relsec_citation_short_markup = cdm_tagged_text_to_markup($relsec_tagged_text);
126 126
            $relsec_citation_short = cdm_tagged_text_to_string($relsec_tagged_text);
......
145 145
        } else {
146 146
          RenderHints::pushToRenderStack('other_taxon_relationship');
147 147
          // All relationship types except misapplied_name_for and invalid_designation_for.
148

  
148 149
          $taxon_relationships_lines[] = cdm_tagged_text_to_markup($taxon_relation->taggedText);
149 150
        }
150 151
        RenderHints::popFromRenderStack();
......
210 211
        }
211 212
        ksort($relsec_refs_with_fkey);
212 213
        $relsec_refs_with_fkey_markup = join('; ', $relsec_refs_with_fkey);
213
        $misapplied_name_markup = str_replace('{PLACEHOLDER_relSecReference}', ', err. sec. ' . $relsec_refs_with_fkey_markup, $misapplied_name_markup);
214
        $misapplied_name_markup = str_replace('{PLACEHOLDER_relSecReference}', $relsec_refs_with_fkey_markup, $misapplied_name_markup);
214 215
      }
215 216
      // final line
216 217
      $out .= '<li class="synonym"><span class="misapplied">' . $misapplied_name_markup . ' </span></li>';

Also available in: Unified diff