} elseif (array_key_exists('deltidaccepted', $_REQUEST)) { $statusStr = $taxonEditorObj->removeAcceptedLink($_REQUEST['deltidaccepted']); } elseif (array_key_exists("changetoaccepted", $_REQUEST)) { $tidAccepted = $_REQUEST["tidaccepted"]; $switchAcceptance = false; if (array_key_exists("switchacceptance", $_REQUEST)) { $switchAcceptance = true; } $statusStr = $taxonEditorObj->submitChangeToAccepted($tid, $tidAccepted, $switchAcceptance); } elseif ($submitAction == 'changetonotaccepted') { $tidAccepted = $_REQUEST["tidaccepted"]; $statusStr = $taxonEditorObj->submitChangeToNotAccepted($tid, $tidAccepted, $_POST['unacceptabilityreason'], $_POST['notes']); } elseif ($submitAction == 'updatehierarchy') { $statusStr = $taxonEditorObj->rebuildHierarchy($tid); } elseif ($submitAction == 'Remap Taxon') { $statusStr = $taxonEditorObj->transferResources($_REQUEST['remaptid']); header('Location: taxonomydisplay.php?target=' . $_REQUEST["genusstr"] . '&statusstr=' . $statusStr); } elseif ($submitAction == 'Delete Taxon') { $statusStr = $taxonEditorObj->deleteTaxon(); header('Location: taxonomydisplay.php?statusstr=' . $statusStr); } $taxonEditorObj->setTaxon(); } ?> <html> <head> <title><?php echo $DEFAULT_TITLE . " Taxon Editor: " . $tid; ?> </title> <meta http-equiv="Content-Type" content="text/html; charset=<?php