Revision 3e6dfbb3
Added by Andreas Kohlbecker over 6 years ago
modules/cdm_dataportal/includes/pages.inc | ||
---|---|---|
434 | 434 |
$synonymy_as_tab = variable_get(CDM_SYNONYMY_AS_TAB, CDM_SYNONYMY_AS_TAB_DEFAULT) === 1; |
435 | 435 |
if(!$synonymy_as_tab){ |
436 | 436 |
unset($tabsToDisplay["Synonymy"]); |
437 |
// the synonymy is located in the general part in this case |
|
438 |
if($page_part == 'synonymy'){ |
|
439 |
$page_part = 'description'; |
|
440 |
} |
|
437 | 441 |
} |
438 | 442 |
|
439 | 443 |
$media = _load_media_for_taxon($taxon); |
Also available in: Unified diff
fix #6877