Exemplo n.º 1
0
    foreach ($ttIdArr as $ttID => $ttName) {
        echo '<option value=' . $ttID . ' ' . ($taxAuthId == $ttID ? 'SELECTED' : '') . '>' . $ttName . '</option>';
    }
    ?>
								</select>
								<input type="hidden" name="tid" value="<?php 
    echo $taxonEditorObj->getTid();
    ?>
" />
								<input type="hidden" name="tabindex" value="1" />
							</form>
						</div>
						<div style="font-size:120%;font-weight:bold;">Status: 
							<span style='color:red;'>
							<?php 
    switch ($taxonEditorObj->getIsAccepted()) {
        case -2:
            //In conflict, needs to be resolved
            echo "In Conflict, needs to be resolved!";
            break;
        case -1:
            //Taxonomic status not yet assigned
            echo "Taxonomy not yet defined for this taxon.";
            break;
        case 0:
            //Not Accepted
            echo "Not Accepted";
            break;
        case 1:
            //Accepted
            echo "Accepted";