<?php if ($isEditor) { ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?> " method="post" onsubmit="dataChanged=false;"> <?php if ($tid) { $sn = $editorManager->getTaxonName(); if ($editorManager->getRankId() > 140) { $sn = "<i>{$sn}</i>"; } echo "<div style='float:right;'>"; if ($editorManager->getRankId() > 140) { echo "<a href='editor.php?tid=" . $editorManager->getParentTid() . "&children=" . ($childrenStr ? $childrenStr . ',' : '') . $tid . "'>edit parent</a> "; } if ($childrenStr) { echo "<br><a href='editor.php?children=" . $childrenStr . "'>back to child</a>"; } echo "</div>"; echo "<h2>{$sn}</h2>"; $cList = $editorManager->getCharList(); $depArr = $editorManager->getCharDepArray(); $charStatesList = $editorManager->getCharStates(); if ($cList) { $count = 0; $minusGif = "<img src='../../images/minus_sm.png'>"; $plusGif = "<img src='../../images/plus_sm.png'>"; foreach ($cList as $heading => $charArray) { echo "<div style='font-weight:bold; font-size:150%; margin:1em 0em 1em 0em; color:#990000;" . ($charValue ? " display:none;" : "") . "'>";
echo $_SERVER['PHP_SELF']; ?> " method="get" onsubmit="dataChanged=false;"> <?php if (($action == "Submit Changes" || $action == "Get Character Info") && (!empty($taxonValue) || !empty($tidValue))) { //Show character info for selected taxon if ($action == "Submit Changes") { $editorManager->processTaxa(); } $sn = $editorManager->getTaxonName(); if ($editorManager->getRankId() > 140) { $sn = "<i>{$sn}</i>"; } echo "<div style='float:right;'>"; if ($editorManager->getRankId() > 140) { echo "<a href='editor.php?taxon=" . $editorManager->getParentTid() . "&action=Get+Character+Info&child1=" . $editorManager->getTid() . ($child1Value ? "&child2={$child1Value}" : "") . "'>edit parent</a> "; } if ($child1Value) { echo "<br><a href='editor.php?taxon=" . $child1Value . "&action=Get+Character+Info" . ($child2Value ? "&child1=" . $child2Value : "") . "'>back to child</a>"; } echo "</div>"; echo "<h2>{$sn}</h2>"; $cList = $editorManager->getCharList(); $depArr = $editorManager->getCharDepArray(); $charStatesList = $editorManager->getCharStates(); if ($cList) { $count = 0; $minusGif = "<img src='../../images/minus_sm.png'>"; $plusGif = "<img src='../../images/plus_sm.png'>"; foreach ($cList as $heading => $charArray) { echo "<div style='font-weight:bold; font-size:150%; margin:1em 0em 1em 0em; color:#990000;" . ($charValue ? " display:none;" : "") . "'>";