include_once '../../config/symbini.php'; include_once $SERVER_ROOT . '/classes/TaxonomyEditorManager.php'; header("Content-Type: text/html; charset=" . $CHARSET); if (!$SYMB_UID) { header('Location: ' . $CLIENT_ROOT . '/profile/index.php?refurl=../taxa/admin/taxonomyloader.php?' . $_SERVER['QUERY_STRING']); } $tid = array_key_exists("tid", $_REQUEST) ? $_REQUEST["tid"] : ""; $status = ""; $loaderObj = new TaxonomyEditorManager(); $isEditor = false; if ($IS_ADMIN || array_key_exists("Taxonomy", $USER_RIGHTS)) { $isEditor = true; } if ($isEditor) { if (array_key_exists('sciname', $_POST)) { $status = $loaderObj->loadNewName($_POST); if (is_int($status)) { header("Location: taxonomyeditor.php?tid=" . $status); } } } ?> <html> <head> <title><?php echo $DEFAULT_TITLE; ?> Taxon Loader: </title> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $CHARSET; ?>