Revision dce1dacc
Added by Andreas Kohlbecker almost 8 years ago
modules/cdm_dataportal/includes/name.inc | ||
---|---|---|
437 | 437 |
} |
438 | 438 |
|
439 | 439 |
// Fill with status. |
440 |
if(isset($renderTemplate['statusPart'])){ |
|
440 |
if(isset($renderTemplate['statusPart']['status'])){
|
|
441 | 441 |
if (isset($nom_status_tagged_text[0])) { |
442 |
if (array_setr('status', TRUE, $renderTemplate)) { |
|
443 | 442 |
array_setr('status', '<span class="nomenclatural_status">' . cdm_tagged_text_to_markup($nom_status_tagged_text, 'span', '', array('postSeparator')) . '</span>', $renderTemplate); |
444 |
} |
|
445 | 443 |
} |
446 | 444 |
} |
447 | 445 |
|
Also available in: Unified diff
simplifying name render code