示例#1
0
            $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 
echo $CHARSET;
?>
"/>
	<link href="../../css/base.css?<?php 
echo $CSS_VERSION;
?>